make sure the printed pages are full width.

Signed-off-by: Michael Price <loneviking72@gmail.com>
This commit is contained in:
Michael Price
2018-03-12 15:52:53 -04:00
committed by Roberto Rosario
parent 3e13d5ae1f
commit f978eb49f4

View File

@@ -4,6 +4,8 @@
{% block content_plain %}
{% for page in pages %}
<img src="{% url 'rest_api:documentpage-image' page.document.pk page.document.latest_version.pk page.pk %}?size={{ size }}" />
<img
src="{{ page.get_api_image_url }}?width={{ width }}&height={{ height }}" style="width: 100%;"
/>
{% endfor %}
{% endblock %}