feat(storage): add S3 image storage support with file-based config and migration script
This commit is contained in:
@@ -28,7 +28,7 @@
|
||||
<div class="image-block">
|
||||
<h3>{{ 'pc_detail.front'|t(user.language) }}</h3>
|
||||
{% if postcard.image_front %}
|
||||
<img src="{{ postcard.image_front }}" alt="" class="detail-img">
|
||||
<img src="{{ postcard.image_front|image_url }}" alt="" class="detail-img">
|
||||
{% else %}
|
||||
<div class="detail-img placeholder">{{ 'pc_detail.no_front'|t(user.language) }}</div>
|
||||
{% endif %}
|
||||
@@ -40,7 +40,7 @@
|
||||
<div class="image-block">
|
||||
<h3>{{ 'pc_detail.back'|t(user.language) }}</h3>
|
||||
{% if postcard.image_back %}
|
||||
<img src="{{ postcard.image_back }}" alt="" class="detail-img">
|
||||
<img src="{{ postcard.image_back|image_url }}" alt="" class="detail-img">
|
||||
{% else %}
|
||||
<div class="detail-img placeholder">{{ 'pc_detail.no_back'|t(user.language) }}</div>
|
||||
{% endif %}
|
||||
|
||||
Reference in New Issue
Block a user