{% load thumbnail %}

{% if item %}
        {% if item.authors.all|length > 1 %}
        <div id="author_info">
        <h3 class="store_sectionhead">Authors</h3>
        {% else %}
        <div id="author_info_small">
        <h3 class="store_sectionhead">Author</h3>
        {% endif %}
        {% for author in item.authors.all %}
				<div class="author_box">
				{% if author.image %}
                {% thumbnail author.image "110x130" as im %}
                    <img src="{{ im.url }}" width="{{ im.width }}" height="{{ im.height }}" alt='{{author.name}}'>
                {% endthumbnail %}{% endif %}
                <p class="item_descrip">
                {% if author.name %}<strong>{{author.name}}</strong>{% endif %}<br>
                {% if author.title %}<span class="item_descrip_small">{{author.title}}</span>{% endif %}
                {% if author.description %}<span class="item_descrip_small">{{author.description}}</span>{% endif %}</p>
                </div>
        {% endfor %}
    	</div>

        <p class="item_descrip">
        {% if item.title %}<strong>Title:</strong> {{item.title}}<br />{% endif %}
        {% if item.subtitle %}<strong>Subtitle:</strong> {{item.subtitle}}<br />{% endif %}
        {% if item.editors %}<strong>Editor(s):</strong> {{item.editors}}<br />{% endif %}
        {% if item.illustrator %}<strong>Illustrator(s):</strong> {{item.illustrator}}<br />{% endif %}
        {% if item.synopsis %}<strong>Synopsis:</strong> {{item.synopsis}}<br />{% endif %}
        {% if item.publisher %}<strong>Publisher:</strong> {{item.publisher}}<br />{% endif %}
        {% if item.printer %}<strong>Printer:</strong> {{item.printer}}<br />{% endif %}
        {% if item.publish_date %}<strong>Publish Date:</strong> {{item.publish_date}}<br />{% endif %}
        {% if item.edition %}<strong>Edition:</strong> {{item.edition}}<br />{% endif %}
        {% if item.features %}<strong>Features:</strong> {{item.features}}<br />{% endif %}
        {% if item.dimensions %}<strong>Dimensions:</strong> {{item.dimensions}}<br />{% endif %}
        {% if item.pages %}<strong>Pages:</strong> {{item.pages}}<br />{% endif %}
        {% if item.isbn %}<strong>ISBN:</strong> {{item.isbn}}<br />{% endif %}
        {% if item.library_of_congress_number %}<strong>Lib. of Congress No.:</strong> {{item.library_of_congress_number}}<br />{% endif %}
        {% if item.genre %}<strong>Genre: </strong>{{item.genre}}{% endif %}
        </p>
{% endif %}
 
