• Resolved Mitemd

    (@mitemd)


    Hey guys,

    it’s me again ??

    I want to apply a lightbox to my gallery section. Is that even possible with a plugin?

    Best regards,
    Mitja

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hey there Mitemd,

    Hope you’re well! ??

    I want to apply a lightbox to my gallery section. Is that even possible with a plugin?

    Just tested this with my own install with this plugin: https://www.ads-software.com/plugins/lightbox/ and it is working.

    Just don’t forget to set the href attribute of your image to the url of image. like this:

    <a href="https://example.com/wp-content/themes/onetone/images/g1.jpg"><img class="port-img" src="https://example.com/wp-content/themes/onetone/images/g1.jpg" alt="" /></a>

    This is the result I got: https://prntscr.com/5vujp3

    Hope it helps! ??

    Take care,
    Calvin

    Thread Starter Mitemd

    (@mitemd)

    Awesome, maybe I buy the plugin. The lightbox is a bit small, but it works fine.

    I tried some other lightbox plugins, but they didn’t work. Strange.

    Hey there Mitemd,

    Hope you’re well! ??

    Awesome, maybe I buy the plugin

    I think the free version is enough for you but it’s up to you of course. ??

    The lightbox is a bit small, but it works fine.

    The lightbox depends on the original size of the image so I suggest you make it larger if you have small one.

    Hope it helps! ??

    Take care,
    Calvin

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Applying lightbox’ is closed to new replies.