thumbnails: remove crossorigin="anonymous" html attribute.
Possible fix for images not loading when Cloudflare Managed Challenges are enabled. `crossorigin="anonymous"` prevents the `cf_clearance` cookie from being passed (maybe?).
This commit is contained in:
@@ -24,7 +24,7 @@
|
||||
<% end %>
|
||||
<% end %>
|
||||
|
||||
<%= tag.img src: variant.file_url, width: variant.width, height: variant.height, class: "post-preview-image", title: tooltip, alt: "post ##{post.id}", crossorigin: "anonymous", draggable: "false" -%>
|
||||
<%= tag.img src: variant.file_url, width: variant.width, height: variant.height, class: "post-preview-image", title: tooltip, alt: "post ##{post.id}", draggable: "false" -%>
|
||||
</picture>
|
||||
<% end -%>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user