Title: Different lightbox
Last modified: January 14, 2020

---

# Different lightbox

 *  [cyrilm](https://wordpress.org/support/users/cyrilm/)
 * (@cyrilm)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/different-lightbox-3/)
 * Hi,
 * I’m using dFactory’s responsive lightbox for a lot of thing but I can’t find 
   a way to make single images, added with the image module, open with their lightbox.
   I tried to add elements to Custom CSS and anchors but it didn’t work. The only
   way to achieve that is by adding _data-rel=”lightbox”_ inside _ahref_ tags but
   it only works if the image is added with the WordPress module.
 * Is there a way to do that with the image module?
 * Thanks

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Author [presscustomizr](https://wordpress.org/support/users/nikeo/)
 * (@nikeo)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/different-lightbox-3/#post-12327438)
 * There’s no option allowing you to edit the html markup generated with Nimble’s
   image module.
    A solution would be to use the HTML module to print your image
   and add the data-rel needed for your lightbox.
 *  Thread Starter [cyrilm](https://wordpress.org/support/users/cyrilm/)
 * (@cyrilm)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/different-lightbox-3/#post-12327824)
 * Darnit… Yes, I saw that I could make it work with HTML but images are not the
   same size as the ones I add with the image module so it kind of breaks my page
   layout. :/
 *  Plugin Author [presscustomizr](https://wordpress.org/support/users/nikeo/)
 * (@nikeo)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/different-lightbox-3/#post-12327851)
 * Another solution ( but you probably tried it as well ) is to use the built-in
   lightbox of the image module.
    The name of the option is “Schedule an action 
   on click or tap”.
 *  Thread Starter [cyrilm](https://wordpress.org/support/users/cyrilm/)
 * (@cyrilm)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/different-lightbox-3/#post-12328231)
 * Yes, but I asked that because I would like to have a consistent lightbox theme
   on my website.
    Anyway, thanks for your replies! 🙂

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Different lightbox’ is closed to new replies.

 * ![](https://ps.w.org/nimble-builder/assets/icon.svg?rev=1986014)
 * [Nimble Page Builder](https://wordpress.org/plugins/nimble-builder/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/nimble-builder/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/nimble-builder/)
 * [Active Topics](https://wordpress.org/support/plugin/nimble-builder/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/nimble-builder/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/nimble-builder/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [cyrilm](https://wordpress.org/support/users/cyrilm/)
 * Last activity: [6 years, 4 months ago](https://wordpress.org/support/topic/different-lightbox-3/#post-12328231)
 * Status: not resolved