Conversation
Notices
-
Embed this notice
Hello ,
unfortunately, the #fancybox #addon does not work for me. When I insert images in a post, the images are still displayed in the old gallery.
I'll try it out here in the forum with a picture as well.
And here is the post of me where it does not work:Friendica 'Giant Rhubarb' 2022.12-dev - 1497
PHP 8.0.26
-
Embed this notice
@montag Images needs to be added to the end of the post to be displayed using the FancyBox addon. They are bundled in a special attachment section, unlike images in the post body. Please feel free to reach out to @grischa (or @grischa ?), the author of the addon.
-
Embed this notice
@montag Just add your images at the end of your post, after any text.
-
Embed this notice
Too bad, then the fanxybox works only when the images are inserted via API, in the web interface it does not work. Or is there a possibility in the web interface?
Then I have to create an issue later. ?
@grischa @grischa
-
Embed this notice
@montag I'm not sure, thank you for the report!
-
Embed this notice
I tried this in a test post and unfortunately it doesn't work. In a test post I created with Tusky the fancybox works. When closing the fancybox, however, the "old" gallery opened as well
Can it be related to the fact that the test posts were not public?
-
Embed this notice
@grischa @hypolite @montag (both addresses are mine.. One is on my pleroma instance, this is on my friendica)
-
Embed this notice
@hypolite Sent me a pointer to where the lightbox is installed and hooked to that images.
@montag I disabled this hook in fancybox now and install fancybox for them now.
Your cat post here is loaded in my friendica with fancybox now, allowing to scroll through all your cat posts. :-)
I will test this a little more and will sent an update to the repository later.
-
Embed this notice
No, the fancybox is not opened even for public posts. I will deactivate all addons one by one, see if I find something.
-
Embed this notice
@montag @hypolite PR is sent.. ;-)