Merge pull request #45 from Gluejar/fix_cover_images
created editions may have cover images but not google books idspull/1/head
commit
ca0158acd9
|
@ -119,7 +119,7 @@ $j(document).ready(function(){
|
||||||
</div>
|
</div>
|
||||||
{% else %}
|
{% else %}
|
||||||
<div id="book-detail-img">
|
<div id="book-detail-img">
|
||||||
<img src="/static/images/generic_cover_larger.png" alt="{{ work.title }}" title="{{ work.title }}" width="131" height="192" />
|
<img src="{% if work.cover_image_thumbnail %}{{ work.cover_image_thumbnail }}{% else %}/static/images/generic_cover_larger.png{% endif %}" alt="{{ work.title }}" title="{{ work.title }}" width="131" height="192" />
|
||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<div class="book-detail-info">
|
<div class="book-detail-info">
|
||||||
|
|
Loading…
Reference in New Issue