Refactor document page image generation and transformation classes

to cache all transformed versions of a document page.
This commit is contained in:
Roberto Rosario
2016-11-02 02:34:57 -04:00
parent ff67b11110
commit c0194c63dc
21 changed files with 348 additions and 185 deletions
@@ -4,6 +4,9 @@
{% block content_plain %}
{% for page in pages %}
<img src="{% url 'documents:document_display_print' object.id %}?page={{ page.page_number }}" />
<img src="{% url 'rest_api:documentpage-image' page.id %}" />
{% endfor %}
{% endblock %}
setting_print_size.value