Don't rely on 3rd party placeholder image service.
The grey one-pixel placeholder.jpg is only 160 bytes anyway.
This commit is contained in:
BIN
attract/static/assets/img/placeholder.jpg
Normal file
BIN
attract/static/assets/img/placeholder.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 160 B |
@@ -35,7 +35,8 @@
|
|||||||
data-shot-id="{{ shot._id }}",
|
data-shot-id="{{ shot._id }}",
|
||||||
href="{{ url_for('attract.shots.perproject.view_shot', project_url=project.url, shot_id=shot._id) }}",
|
href="{{ url_for('attract.shots.perproject.view_shot', project_url=project.url, shot_id=shot._id) }}",
|
||||||
class="status-{{ shot.properties.status }} shot-link")
|
class="status-{{ shot.properties.status }} shot-link")
|
||||||
img(src="http://placehold.it/100x60")
|
img(src="{{ url_for('static_attract', filename='assets/img/placeholder.jpg') }}",
|
||||||
|
alt="Thumbnail",width="110",height='60')
|
||||||
.table-cell.shot-name
|
.table-cell.shot-name
|
||||||
a(
|
a(
|
||||||
data-shot-id="{{ shot._id }}",
|
data-shot-id="{{ shot._id }}",
|
||||||
|
Reference in New Issue
Block a user