Please or Register to create posts and topics.

Lightbox for uploaded images

Hello,

it’s possible to show the uploaded images in a lightbox?

Oder auf Deutsch:

Ist es möglich, die hochgeladenen Bilder in einer Lightbox anzuzeigen? Mit dem Plugin “Responsive Lightbox”, das mehrere lightboxes beinhaltet, funktioniert es leider nicht.

Danke für das gute und übersichtliche Forum-Plugin.

Beste Grüße

Andreas

Hi collandi

Easy FancyBox

Would be great to have a solution without installing an extra plugin.

I have a website running with Elementor Pagebuilder what has it’s own lightbox. Any options to make use of this?

Hello @smokerdude

I am not exactly sure how Elementor Pagebuilders lightbox-system works. Usually those kind of libraries detect images based on specific HTML-attributes.

If it uses special jQuery selectors you could try to add some own rules. The thumbnails for uploaded files can be selected with:

$('.uploaded-file img')

 

If you want to support the development of Asgaros Forum, you can leave a good review or donate. Thank you very much!

Hi @Asgaros,

thank you for your answer. Because I don’t have any coding skills I don’t know what to do with the mentioned line of code.

If you tell me: “Put this in your functions.php: …” I will be able to follow. But unfortunately not more 😉

Unfortunately I dont know this plugin so I cant give you any exact code at the moment. There is also not that one solution because there are so many plugins out there for this kind of functionality and I dont want to add an integration for a specific third-party plugin only.

Anyway: I plan to improve the entire upload-behavior in a future update, so maybe I can find a nice way to add some lightbox-functionality as an enhancement one day. 🙂

SmokerDude has reacted to this post.
SmokerDude
If you want to support the development of Asgaros Forum, you can leave a good review or donate. Thank you very much!