summaryrefslogtreecommitdiffstats
path: root/webapp/components/post_view/components/post_attachment.jsx
diff options
context:
space:
mode:
Diffstat (limited to 'webapp/components/post_view/components/post_attachment.jsx')
-rw-r--r--webapp/components/post_view/components/post_attachment.jsx3
1 files changed, 3 insertions, 0 deletions
diff --git a/webapp/components/post_view/components/post_attachment.jsx b/webapp/components/post_view/components/post_attachment.jsx
index 57335b94a..1b2cddcd6 100644
--- a/webapp/components/post_view/components/post_attachment.jsx
+++ b/webapp/components/post_view/components/post_attachment.jsx
@@ -184,6 +184,7 @@ class PostAttachment extends React.Component {
author.push(
<img
className='attachment__author-icon'
+ crossOrigin='anonymous'
src={data.author_icon}
key={'attachment__author-icon'}
height='14'
@@ -257,6 +258,7 @@ class PostAttachment extends React.Component {
image = (
<img
className='attachment__image'
+ crossOrigin='anonymous'
src={data.image_url}
/>
);
@@ -269,6 +271,7 @@ class PostAttachment extends React.Component {
className='attachment__thumb-container'
>
<img
+ crossOrigin='anonymous'
src={data.thumb_url}
/>
</div>