@kraft @Stefan_S_from_H @atomicpoet what do you mean by "media on Mastodon". the images won't be displayed?
Top-level
@kraft @Stefan_S_from_H @atomicpoet what do you mean by "media on Mastodon". the images won't be displayed? 8 comments
@kraft I see! It should look the same, there are some times issues, with how you add the image. I am currently looking for post_thumbnails and attachments. I think I have to rewrite the code to parse the content for images (trying to ignore icons and emojis). You can debug the activity-object by adding `/activitypub` to the end of a post URL: @kraft to have it properly federated as "media" post, you have to check the attachments. it might have been an issue, that you had it as an image first (not an attachment) and changed it to a featured image afterwards and the update activity was not sent properly (have to check that!) @pfefferle For that site, I usually post via the mobile app, so it wouldn't shock me if something to do with the meta updating after the post itself. Thanks for the pointers. Off work this week for the kids break so hoping to have some hacking time. If I discover anything, I'll post an issue/PR. @kraft that would be awesome! But be aware that it was a spare time project for quite a long time, there might be some parts that have to be refactored for sure 😂 @pfefferle hell, look at most of my code. Even my paid work probably needs refactoring. |
@pfefferle
Here's an example. The post has a title and a single image as the content. I also made the image the post's featured image. Post format is Image.
I'd want it to display similar to how a Pixelfed post would on Mastodon (to say I figure it is something in the spec that is supported but that's an assumption)