This is the discussion topic for
Media Attachments are ubiquitous in the Fediverse. My quick investigation into the explore tab on
mastodon.social
yields that about half the posts contain an image attachment. The mechanism for these is poorly documented. For example, it is not mentioned in ActivityPub.My goal in this FEP is to document current usage, and issue recommendations on how to improve it. These recommendations are based on the support table Recommended Media Attachment Format available at FunFedi.dev.
For developers that enjoy making their keyboards smoke, I believe that the above link combined with the content of Testing should be enough to adapt their Fediverse applications. The other parts are meant for people, who which to improve the situation related to media attachments.
Todos
- Add “How to embed media into an Article” as an open question. Using an
<img>
tag is obviously not enough, because you are referring an attachment and not a web resource. This in particular means thatArticle
should not be used until this issue is resolved. - Address how this is extensible, e.g. one can add properties to the media objects. One can add different things to attachments, e.g. a link.
- Discuss updating the url