feat(storage): add S3 image storage support with file-based config and migration script
This commit is contained in:
@@ -36,7 +36,7 @@
|
||||
<a href="/postcards/{{ pc.id }}" class="postcard-row">
|
||||
<div class="postcard-row-img">
|
||||
{% if pc.image_front %}
|
||||
<img src="{{ pc.image_front }}" alt="" loading="lazy">
|
||||
<img src="{{ pc.image_front|image_url }}" alt="" loading="lazy">
|
||||
{% else %}
|
||||
<div class="thumb placeholder">📷</div>
|
||||
{% endif %}
|
||||
@@ -78,7 +78,7 @@
|
||||
<a href="/postcards/{{ pc.id }}" class="postcard-row">
|
||||
<div class="postcard-row-img">
|
||||
{% if pc.image_front %}
|
||||
<img src="{{ pc.image_front }}" alt="" loading="lazy">
|
||||
<img src="{{ pc.image_front|image_url }}" alt="" loading="lazy">
|
||||
{% else %}
|
||||
<div class="thumb placeholder">📷</div>
|
||||
{% endif %}
|
||||
|
||||
Reference in New Issue
Block a user