Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add image= option to /share #24215

Open
naknomum opened this issue Mar 22, 2023 · 2 comments
Open

add image= option to /share #24215

naknomum opened this issue Mar 22, 2023 · 2 comments
Labels
suggestion Feature suggestion

Comments

@naknomum
Copy link

Pitch

right now, it appears there are title=, text=, and url= options. (although they do not seem to do much, other than be concatenate those values together.) it would be nice to have an image=IMAGE_URL option, which would attach the image to the post (like a thumbnail or preview).

Motivation

right now, any off-site embedded "share on mastodon" widget will produce a text-only post. this option would allow for an optional visual element to be in the post.

@naknomum naknomum added the suggestion Feature suggestion label Mar 22, 2023
@andypiper
Copy link
Sponsor Member

This is technically more complicated to do than including text or URL in a shared post, because the image would need to be uploaded to the Mastodon instance.

@naknomum
Copy link
Author

yeah, plenty of technical weirdness around this for sure. there would have to be an initial process which grabbed the image from the url and created it on the mastodon instance first. would have to handle bad urls, maybe data: urls, and the like. doable, but not simple, for sure. 🙂

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
suggestion Feature suggestion
Projects
None yet
Development

No branches or pull requests

2 participants