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

Fediverse

28490 readers
572 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 !moderators@lemmy.world!

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
[–] ademir@lemmy.eco.br 1 points 1 month ago (3 children)
[–] melroy@kbin.melroy.org 1 points 1 month ago (1 children)

owh.. I blame Lemmy software.

[–] Blaze@feddit.org 1 points 1 month ago (1 children)

What format do you use for pictures?

Are pictures from Lemmy viewable on Mbin?

[–] melroy@kbin.melroy.org 1 points 1 month 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\/fediverse@lemmy.world\/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\/fediverse@lemmy.world\/t\/506689\/-\/comment\/4458544","tag":[{"type":"Mention","href":"https:\/\/lemmy.ca\/u\/otter","name":"@otter@lemmy.ca"}],"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"}}
[–] Blaze@feddit.org 1 points 1 month ago (1 children)

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

[–] Blaze@feddit.org 1 points 1 month ago (1 children)
[–] ademir@lemmy.eco.br 2 points 1 month ago* (last edited 1 month ago) (1 children)

No, it is some sort of incompatibility I guess.

Look:

Lemmy screenshot

[–] Blaze@feddit.org 2 points 1 month ago (1 children)

Indeed, I asked Melroy above which format they use

[–] melroy@kbin.melroy.org 1 points 1 month ago

It's a jpg.

But the problem is most likely related to the ActivityPub message. It seems that Lemmy doesn't support attachments!?