-
Notifications
You must be signed in to change notification settings - Fork 52
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
alt text not surviving media post via mastodon api #975
Comments
hi @jk-na, sorry for the trouble, and thanks for reporting! looks like this is indeed a bridgy bug, i'll take a look soon. |
No worries! Thanks for looking into it. |
i've deployed a fix for this (snarfed/granary@a742a9b), but i don't have a pleroma account etc set up for testing. @jk-na mind trying again? |
tested, but unfortunately it's still not making it through: original page: https://jk.nipponalba.scot/photo/5f64693d/ pleroma page: https://social.nipponalba.scot/notice/9zHEJPVXn1234i2Vlo |
hmm! looking at the bridgy log, it correctly sent a
|
OK, thank you. I'll raise a ticket with pleroma and see what they say, might be a site configuration option that I have or haven't enabled but I didn't notice anything when I went through the settings yesterday. |
Reply from pleroma creator to my ticket: "I think the issue is mixing json and whatever method is used to send the files. If you do both using multipart/form-data it should work" Is this viable? |
thanks! yes, that makes sense, and it's an easy fix. i've deployed it. feel free to try again! |
Success! Alt text displaying on latest image post via brid.gy! Not for the first time, many thanks! |
Hello,
I'm not sure if this perhaps relates to mastodon seemingly now using a v2 for their media api stuff but having just fixed my site so that alt text sent via the indigenous android app is rendered correctly on my hugo site, I've noticed that the alt text isn't surviving the toot process.
I have a pleroma instance but mainly it adheres to mastodon api and I don't see any pleroma specific api definitions for media.
The original post is here: https://jk.nipponalba.scot/photo/5f626c00/
Image properties in firefox show the correct associated text, and the html for the image is here
<img class="u-photo" src="/media/file-20200916204815-1926.jpg" alt="close up of can of fuego sour beer from fierce beer. orange text on black can."/>
The resultant toot is here: https://social.nipponalba.scot/notice/9zE6P3t3hoWYeKLHuK
Image properties in firefox show no associated text and the html for the image is here:
<img class="u-photo" src="https://social.nipponalba.scot/media/3bfe1367691c76660ab42c7c1033be10f0e10048c7438ddb4b2551dff8cc60b1.jpg?name=file.jpg" alt="" title="">
The text was updated successfully, but these errors were encountered: