채팅에서 사용자가 업로드한 이미지가 정상적으로 표시되지 않습니다.
하지만 이미지를 클릭하면 올바르게 표시됩니다.
HTML을 확인해 보니 정상적으로 표시되지 않을 때 URL이 S3 URL인 것을 발견했습니다.
src URL이 올바르지 않은 것 같습니다. 감사합니다.
채팅에서 사용자가 업로드한 이미지가 정상적으로 표시되지 않습니다.
하지만 이미지를 클릭하면 올바르게 표시됩니다.
HTML을 확인해 보니 정상적으로 표시되지 않을 때 URL이 S3 URL인 것을 발견했습니다.
src URL이 올바르지 않은 것 같습니다. 감사합니다.
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.
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.
Dear team,
My image preview in chat isn’t working.
When I click on the image in chat it loads the correct image. But whenn i am in chat it shows broken preview. I found it preview url is something like .com.cn instead of actual url .com why this .cn is added automatically?
I am using s3.
Please help.
Chatting so can’t upload photos
Cloudflare R2를 사용할 때에도 여전히 문제가 발생합니다. 채팅 플러그인의 버그인 것으로 보입니다.
@renato @martin codex에게 이 코드를 작성하게 했어요… 주석이 좀 과하게 들어간 것 같긴 한데… 채팅에서는 이런 스타일을 좋아하지 않나요?
어쨌든:
이걸로 해결될까요?
좋아 보이지만, 타입이 있는 주석은 prosemirror 코드에서만 사용하는 것 같습니다.
문제는 없어요. 코드를 잘 알지 못해서 확인 차 코멘트를 남겼는데, 이제 다 지웠습니다.
로컬에서 S3를 테스트하는 방법을 훨씬 쉽게 만들어야 합니다 (minio를 통해 가짜 CDN + 가짜 S3).