User upload image in chat can’t show normally.
But when I click it, it can display correctly.
I checked the html and found when it can’t be shown normally. The URL is S3 URL.
Looks like the src url is incorrect. Thanks.
User upload image in chat can’t show normally.
But when I click it, it can display correctly.
I checked the html and found when it can’t be shown normally. The URL is S3 URL.
Looks like the src url is incorrect. Thanks.
Are you able to load the src
URL? It does seem like your upload image is broken because the object does not exist in your bucket. I cannot repro this on our site here.
Thanks for your reply, I’ve check it and make sure that the file is exist in my bucket.
Yes, on my site sometimes it works normally and sometimes not.
Not work.
Work.
I’m also running the same issue trying to set up a private S3 bucket with a CDN for public access.
From what I can tell, as others have mentioned, it seems like the Upload thumbnail url returned from the API is the S3 url while the Upload url has the CDN url. Because I haven’t exposed S3 publicly, the thumbnail fetch fails but if I open the original image, it manages to fetch via the CDN.
Although I know that private S3s might not be officially supported, would it be possible to have the thumbnails use the CDN as well?
Perhaps it can be controlled by the S3_USE_CDN_URL_FOR_ALL_UPLOADS
setting.
I did also try turning off the CREATE_THUMBNAILS
setting but didn’t seem to apply to Chat uploads.
This is indeed weird that we are not using the CDN url. @martin / @renato I’ve tagged this member-experience and pri-medium for someone to investigate.