[GH-ISSUE #163] Embed support #128

Open
opened 2026-02-25 23:40:47 +03:00 by kerem · 6 comments
Owner

Originally created by @DrSGlass on GitHub (Mar 25, 2025).
Original GitHub issue: https://github.com/HaschekSolutions/pictshare/issues/163

Would support for embeddable sites such as discord be able be added, where you can paste the link and it embeds the image/video?

Originally created by @DrSGlass on GitHub (Mar 25, 2025). Original GitHub issue: https://github.com/HaschekSolutions/pictshare/issues/163 Would support for embeddable sites such as discord be able be added, where you can paste the link and it embeds the image/video?
Author
Owner

@geek-at commented on GitHub (Mar 26, 2025):

What do you mean? Pictshare just gives you a link to the image/videos. You can post them anywhere you like? Or what does it take to be embedded on discord?

<!-- gh-comment-id:2755755586 --> @geek-at commented on GitHub (Mar 26, 2025): What do you mean? Pictshare just gives you a link to the image/videos. You can post them anywhere you like? Or what does it take to be embedded on discord?
Author
Owner

@DrSGlass commented on GitHub (Mar 30, 2025):

Something like this, for example
https://github.com/notpoiu/imagehost

Edit: I should add, I already tried updating my traefik security headers to allow connections for it but either the app itself doesn't support it, or discord is blocking something that I haven't seen

<!-- gh-comment-id:2764537022 --> @DrSGlass commented on GitHub (Mar 30, 2025): Something like this, for example https://github.com/notpoiu/imagehost Edit: I should add, I already tried updating my traefik security headers to allow connections for it but either the app itself doesn't support it, or discord is blocking something that I haven't seen
Author
Owner

@geek-at commented on GitHub (Mar 30, 2025):

Still not sure what you mean. I tested it by uploading a image to pictshare.net and sending the link in discord, it embeds it and shows in feed

Image

<!-- gh-comment-id:2764615950 --> @geek-at commented on GitHub (Mar 30, 2025): Still not sure what you mean. I tested it by uploading a image to pictshare.net and sending the link in discord, it embeds it and shows in feed ![Image](https://github.com/user-attachments/assets/a7d80dbe-23ec-4e2d-a2b0-9ad3f532c440)
Author
Owner

@DrSGlass commented on GitHub (Mar 30, 2025):

Weird. Are you using any special traefik headers? It doesn't work like that for me, just sends the link and never embeds.

<!-- gh-comment-id:2764667740 --> @DrSGlass commented on GitHub (Mar 30, 2025): Weird. Are you using any special traefik headers? It doesn't work like that for me, just sends the link and never embeds.
Author
Owner

@geek-at commented on GitHub (Mar 30, 2025):

Are you sending images or videos?

I didn't use any special settings, just the normal nginx stuff of the docker container and a reverse proxy for ssl

<!-- gh-comment-id:2764688570 --> @geek-at commented on GitHub (Mar 30, 2025): Are you sending images or videos? I didn't use any special settings, just the normal nginx stuff of the docker container and a reverse proxy for ssl
Author
Owner

@DrSGlass commented on GitHub (Mar 30, 2025):

Images. I believe that I've found the issue though, for some reason even though "ALWAYS_WEBP" is set to false, everything it uploads is formatted in .webp and displays a 404 error if any other format is substituted for it.

<!-- gh-comment-id:2764727248 --> @DrSGlass commented on GitHub (Mar 30, 2025): Images. I believe that I've found the issue though, for some reason even though "ALWAYS_WEBP" is set to false, everything it uploads is formatted in .webp and displays a 404 error if any other format is substituted for it.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/pictshare#128
No description provided.