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:
evazion
2022-10-14 02:11:39 -05:00
parent 115521906c
commit 4b5d4e5c20
2 changed files with 2 additions and 2 deletions

View File

@@ -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>