Title: Applying lightbox
Last modified: August 22, 2016

---

# Applying lightbox

 *  Resolved [Mitemd](https://wordpress.org/support/users/mitemd/)
 * (@mitemd)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/applying-lightbox/)
 * 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)

 *  [Amin – WPMU DEV Support](https://wordpress.org/support/users/wpmudev-support2/)
 * (@wpmudev-support2)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/applying-lightbox/#post-5702709)
 * 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://wordpress.org/plugins/lightbox/](https://wordpress.org/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="http://example.com/wp-content/themes/onetone/images/g1.jpg"><img class="port-img" src="http://example.com/wp-content/themes/onetone/images/g1.jpg" alt="" /></a>
       ```
   
 * This is the result I got: [http://prntscr.com/5vujp3](http://prntscr.com/5vujp3)
 * Hope it helps! 🙂
 * Take care,
    Calvin
 *  Thread Starter [Mitemd](https://wordpress.org/support/users/mitemd/)
 * (@mitemd)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/applying-lightbox/#post-5702745)
 * 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.
 *  [Amin – WPMU DEV Support](https://wordpress.org/support/users/wpmudev-support2/)
 * (@wpmudev-support2)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/applying-lightbox/#post-5702881)
 * 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.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/onetone/3.0.6/screenshot.jpg)
 * onetone
 * [Support Threads](https://wordpress.org/support/theme/onetone/)
 * [Active Topics](https://wordpress.org/support/theme/onetone/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/onetone/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/onetone/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Amin – WPMU DEV Support](https://wordpress.org/support/users/wpmudev-support2/)
 * Last activity: [11 years, 2 months ago](https://wordpress.org/support/topic/applying-lightbox/#post-5702881)
 * Status: resolved