Revert "feat: resize images directly at cover endpoint"

This reverts commit ba383643f5.
This commit is contained in:
Oskar Manhart
2024-08-03 16:28:13 +02:00
parent 26fb9921b2
commit 9955e348a0
3 changed files with 10 additions and 48 deletions
+2 -2
View File
@@ -4,7 +4,7 @@
{% set srcset = book|get_cover_srcset %}
<img
srcset="{{ srcset }}"
src="{{ url_for('web.get_cover', book_id=book.id, resolution='og', c=book|last_modified) }}"
src="{{ resized_img_src(url_for('web.get_cover', book_id=book.id, resolution='og', c=book|last_modified), format='webp') }}"
alt="{{ image_alt }}"
loading="lazy"
/>
@@ -15,7 +15,7 @@
{% set srcset = series|get_series_srcset %}
<img
srcset="{{ srcset }}"
src="{{ url_for('web.get_series_cover', series_id=series.id, resolution='og', c='day'|cache_timestamp) }}"
src="{{ resized_img_src(url_for('web.get_series_cover', series_id=series.id, resolution='og', c='day'|cache_timestamp), format='webp') }}"
alt="{{ book_title }}"
loading="lazy"
/>