Skip to main content


Geilomat! 😀 Mein erstes #Friendica #Addon ist fertig! 🥰

Mich nervte immer, dass Bilder, die an Posts hängen, einfach direkt verlinkt sind und mich somit jedes mal aus dem Lese-Flow rissen. Sie werden direkt geladen und man musste dann immer mit dem Zurück Button in die Timeline zurück. Oder man nutzte Tabs, was ich aber ständig vergaß (und "handlich" ist halt anders).

Mein Addon #Fancybox bindet nun die gleich lautende jQuery Library ein und ersetzt die Image Links so, dass sie in einem schicken Overlay dargestellt werden. Das Overlay erinnert mich sehr stark an das, was auch in Mastodon hoch poppt. Evtl nutzen die diese Lib auch?

Wer sich mein AddOn installieren will: Ich habe es in ein öffentliches #Codeberg Repo gepackt.

https://codeberg.org/brockhaus/friendica-addons
@grischa Oooh, that's awesome, please submit it to the official Friendica Addon repository, we might even want this feature to be part of the core.
Love that you like it! 🥰
I have to tune it a little more, does not work in all situations (but most already). Will give you a ping, when I think it is ready (enough).
It is a little bit hard to push it to github, as I try to avoid github. But we'll find a way. 🙂
@grischa I'm sorry about that, we're in the process of moving from GitHub to Gitea where we have a Friendica instance up and running.

About the addon, it's already great, but currently all the images present on the page are put in the same carousel, and I'd prefer if only the images of a single post were in the same carousel, do you think you can do this?

Let's say you have Post 1 with Image 1-1 and Image 1-2 and Post 2 with Image 2-1. When I expand Image 1-1 in the Fancybox, I'd like to be able to cycle to Image 1-2, but not to Image 2-1. Conversely, Image 2-1 should be on its own when clicked, with no way of cycling to Image 1-1 or 1-2 without closing the carousel first.
I'm done with the first version. 🙂

* Multiple attachments of a post go all to that gallery
* Each post has its own gallery
* You can loop through the gallery

All pushed to my repo, so you can test it. About putting it into the official repo: I guess you want me to do a pull request, right?
@grischa Yes please! Did you test it with both the frio and vier themes?
⇧