Merge pull request #45 from Gluejar/fix_cover_images

created editions may have cover images but not google books ids
pull/1/head
Raymond Yee 2012-10-11 07:31:31 -07:00
commit ca0158acd9
1 changed files with 1 additions and 1 deletions

View File

@ -119,7 +119,7 @@ $j(document).ready(function(){
</div>
{% else %}
<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>
{% endif %}
<div class="book-detail-info">