this post was submitted on 13 Oct 2024
130 points (99.2% liked)

Fediverse

28716 readers
36 users here now

A community to talk about the Fediverse and all it's related services using ActivityPub (Mastodon, Lemmy, KBin, etc).

If you wanted to get help with moderating your own community then head over to [email protected]!

Rules

Learn more at these websites: Join The Fediverse Wiki, Fediverse.info, Wikipedia Page, The Federation Info (Stats), FediDB (Stats), Sub Rehab (Reddit Migration), Search Lemmy

founded 2 years ago
MODERATORS
 

cross-posted from: https://lemmy.ml/post/21340843

Came across this article in the latest stuff magazine and in the past, a lot of writers were a little unsure, but seams more positive.

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 1 points 2 months ago (1 children)

What format do you use for pictures?

Are pictures from Lemmy viewable on Mbin?

[–] [email protected] 1 points 2 months ago (1 children)

Picture is just JPG. But like I said, it's the activity pub message which I believe Lemmy can't handle very well (or at all?). Its using a so called "attachment" attribute to the message. Here Mastodon also supports it: https://docs.joinmastodon.org/spec/activitypub/#properties-used

Here an example of this:

{"@context":["https:\/\/www.w3.org\/ns\/activitystreams","https:\/\/kbin.melroy.org\/contexts"],"id":"https:\/\/kbin.melroy.org\/m\/[email protected]\/t\/506689\/-\/comment\/4458544","type":"Note","attributedTo":"https:\/\/kbin.melroy.org\/u\/melroy","inReplyTo":"https:\/\/lemmy.ca\/post\/30865604","to":["https:\/\/www.w3.org\/ns\/activitystreams#Public","https:\/\/lemmy.ca\/u\/otter"],"cc":["https:\/\/lemmy.world\/c\/fediverse","https:\/\/kbin.melroy.org\/u\/melroy\/followers"],"sensitive":false,"content":"\u003Cp\u003EHere is the image.\u003C\/p\u003E\n","mediaType":"text\/html","source":{"content":"Here is the image.","mediaType":"text\/markdown"},"url":"https:\/\/kbin.melroy.org\/m\/[email protected]\/t\/506689\/-\/comment\/4458544","tag":[{"type":"Mention","href":"https:\/\/lemmy.ca\/u\/otter","name":"@[email protected]"}],"published":"2024-10-13T14:36:34+02:00","contentMap":{"en":"\u003Cp\u003EHere is the image.\u003C\/p\u003E\n"},"attachment":[{"type":"Image","mediaType":"image\/jpeg","url":"https:\/\/kbin.melroy.org\/media\/12\/4f\/124f315062cb3fd1d8ae68e43c50805c64cf4d0b5ad5935837f9f9a1b55a15df.jpg","name":"Tips \u0026 Tricks to quit twitter","blurhash":"LdQ,2c~CS4-pMd$%R+af$MMyofRj","focalPoint":[0,0],"width":2480,"height":3354}],"image":{"type":"Image","url":"https:\/\/kbin.melroy.org\/media\/12\/4f\/124f315062cb3fd1d8ae68e43c50805c64cf4d0b5ad5935837f9f9a1b55a15df.jpg"}}
[–] [email protected] 1 points 2 months ago (1 children)

Lemmy probably limits those to posts and not comments, and expects comments to have pictures in the comment body

[–] [email protected] 1 points 2 months ago