问题描述
我正在使用Jazzband Sorl缩略图生成缩略图。 我有这个模板
<div class="a">
<div>1</div>
<div>2</div>
<div>
<div>
<div class="b">3</div>
</div>
</div>
<div>
<div class="b">4</div>
</div>
<div>5</div>
<div class="b">6</div>
</div>
一切看起来都很好(从其他外部URL生成缩略图也可以),但是当<a href="{{ gallery_photo.file }}" data-lightBox="accident-img" target="_blank">
{% thumbnail gallery_photo.file "275x200" crop="center" as im %}
<img src="{{ im.url }}" width="{{ im.width }}" height="{{ im.height }}" alt="">
{% endthumbnail %}
<div class="galleryItemHover">
<i class="fas fa-search-plus"></i>
</div>
</a>
拥有Amazon预先签名的URL时,
gallery_photo.file
缩略图生成不起作用。但是,我可以在页面上显示来自预签名网址的原始图像。
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)