Title: Lightbox problems
Last modified: July 4, 2023

---

# Lightbox problems

 *  Resolved [atesz03](https://wordpress.org/support/users/atesz03/)
 * (@atesz03)
 * [2 years, 9 months ago](https://wordpress.org/support/topic/lightbox-problems-13/)
 * Hello, 
   first of all thank you for this great plugin.
 * I only have some problems with the lightboxes. If I click on an image in a gallery,
   the photo opens large **and **also the lightbox. So, if you finished viewing,
   you have to close both and sometimes the photo is even visible in the background,
   behind the lightbox. Is there a way to fix this? I disabled any other gallery
   plugins on the post, so it should not be caused by external plugins.
 * And I also miss some customization for the lightboxes. Is it possible to choose
   which elements are shown in the lightbox? I would like to disable download, share,
   social, etc. icons and also there is a “view” link on the bottom which shows 
   to the original image file. I would just need a clean lightbox with basic functions:
   zoom, swipe, close. No captions, no download, no share no links, no social icons.
   What would be the best way to achieve this?
 * Thank you for your support and tipps in advance. Best regards and have a nice
   day.

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

 *  Plugin Author [Sayontan Sinha](https://wordpress.org/support/users/sayontan/)
 * (@sayontan)
 * [2 years, 9 months ago](https://wordpress.org/support/topic/lightbox-problems-13/#post-16868887)
 * Please provide me with a URL – I cannot help you with lightbox issues without
   one.
 *  Thread Starter [atesz03](https://wordpress.org/support/users/atesz03/)
 * (@atesz03)
 * [2 years, 9 months ago](https://wordpress.org/support/topic/lightbox-problems-13/#post-16869161)
 * Unfortunately my website is not yet online, so I cannot provide a public URL.
 *  Plugin Author [Sayontan Sinha](https://wordpress.org/support/users/sayontan/)
 * (@sayontan)
 * [2 years, 9 months ago](https://wordpress.org/support/topic/lightbox-problems-13/#post-16869631)
 * OK. Please respond to this thread with a URL when you have one. For now I am 
   closing this thread, as there isn’t anything for me to do. You can reopen it 
   once you are posting the URL.
 *  Thread Starter [atesz03](https://wordpress.org/support/users/atesz03/)
 * (@atesz03)
 * [2 years, 9 months ago](https://wordpress.org/support/topic/lightbox-problems-13/#post-16869729)
 * I will try to ask the question on a differet way. The problem is not the lightbox.
   The problem is the **click event **on the pictures. Even if I disable the lightbox
   completely, the photos are opening in large scale when I click on them.
 * Is there a way to disable this behaviour? Nothing should happen if I click on
   a photo gallery, when the lightbox is disabled.
    -  This reply was modified 2 years, 9 months ago by [atesz03](https://wordpress.org/support/users/atesz03/).
 *  Plugin Author [Sayontan Sinha](https://wordpress.org/support/users/sayontan/)
 * (@sayontan)
 * [2 years, 9 months ago](https://wordpress.org/support/topic/lightbox-problems-13/#post-16869878)
 * I know that something is happening on the click event, which is why I asked you
   for a URL :-).
 * Basically, Photonic targets specific links that have a particular CSS class attached
   to them. This serves two purposes – it helps distinguish a Photonic image from
   a non-Photonic one, and it prevents Photonic from targeting non-Photonic galleries.
   The problem is, not all plugins or themes are written in this manner, and they
   do a more “greedy” targeting. So, while Photonic’s `onclick` event handling might
   be working fine (it looks for the CSS class, and if it doesn’t find it, it defaults
   to the browser behaviour, or whatever a different plugin or theme might have 
   attached to it), if your theme or a different plugin is hijacking the click, 
   Photonic’s behaviour is either blocked, or is run along with the other theme 
   or plugin’s. Note that for this to happen, the conflict doesn’t have to come 
   from a gallery or lightbox plugin; even ad plugins do this sometimes, and so 
   do certain themes.
 * > Is there a way to disable this behaviour? Nothing should happen if I click 
   > on a photo gallery, when the lightbox is disabled.
 * No. A gallery without a lightbox should be linking to either the larger photos,
   or the pages for the larger photos – this is as per standard WP gallery behaviour,
   and you cannot disable this for Photonic galleries without significant edits.
 * > And I also miss some customization for the lightboxes. Is it possible to choose
   > which elements are shown in the lightbox? I would like to disable download,
   > share, social, etc. icons and also there is a “view” link on the bottom which
   > shows to the original image file. I would just need a clean lightbox with basic
   > functions: zoom, swipe, close. No captions, no download, no share no links,
   > no social icons. What would be the best way to achieve this?
 * Social links can be removed via a Photonic option _(Photonic → Settings → Lightboxes
   → Common → Social media integration_).
 * Downloads only show up for specific lightboxes. Some of them allow you to disable
   the button (mind you, removing the button doesn’t prevent the ability to download
   an image – it is impossible to prevent image download in a browser). For lightboxes
   that allow downloading, their respective options pages (_Photonic → Settings 
   → Lightboxes → <Lightbox name>_) have the option.
 * The “View” shows up by default if you have no title for your image. To disable
   this you can use the setting _Photonic → Settings → <Platform name> → <Platform
   name> Settings → Disable lightbox linking_.
 *  Thread Starter [atesz03](https://wordpress.org/support/users/atesz03/)
 * (@atesz03)
 * [2 years, 9 months ago](https://wordpress.org/support/topic/lightbox-problems-13/#post-16870059)
 * Thank you for the detailed answer.
 * Meanwhile I found out what was the problem with the “double click event”. My 
   theme´s built-in lightbox was activated, which broke with the photonic lightbox.
   I disabled it under customizer > performance and now the lightbox works perfectly.
 * Regarding the styling of the lightbox I really like the minimalist design of 
   the GLightbox. If you have a look at the [demo page](https://biati-digital.github.io/glightbox/)
   and this [screenshot](https://snipboard.io/DInU35.jpg) of my site, you can see
   the difference.
 * I haven´t found an option to disable the lightbox linking for the wp-gallery,
   which i´m testing the plugin with. But in future I would like use it with google
   photos. Do you think I can make disappear the ugly white section with the file
   name if I use google photos and select the “_Photo titles and captions for the
   galleries / slideshows = no title / caption / description_” option?
    -  This reply was modified 2 years, 9 months ago by [atesz03](https://wordpress.org/support/users/atesz03/).
 *  Plugin Author [Sayontan Sinha](https://wordpress.org/support/users/sayontan/)
 * (@sayontan)
 * [2 years, 9 months ago](https://wordpress.org/support/topic/lightbox-problems-13/#post-16873069)
 * > Regarding the styling of the lightbox I really like the minimalist design of
   > the GLightbox. If you have a look at the [demo page](https://biati-digital.github.io/glightbox/)
   > and this [screenshot](https://snipboard.io/DInU35.jpg) of my site, you can 
   > see the difference.
 * Your screenshot looks exactly the same as the photos under the demo site’s “Images
   with description”: [https://imgur.com/a/TIdPaK9](https://imgur.com/a/TIdPaK9).
   I see a caption on a white background, a button to close the lightbox, and arrows
   to navigate left and right. What difference should I be noticing?
 * > I haven´t found an option to disable the lightbox linking for the wp-gallery,
   > which i´m testing the plugin with. But in future I would like use it with google
   > photos.
 * You will find it under _Photonic → Settings → Generic Options → Native WP Galleries
   → Disable lightbox linking_.
 * > Do you think I can make disappear the ugly white section with the file name
   > if I use google photos and select the “_Photo titles and captions for the galleries/
   > slideshows = no title / caption / description_” option?
 * I don’t remember if it impacts the lightbox caption, but you can try. In general,
   you can also use CSS to remove such elements:
 *     ```wp-block-code
       .gslide-description description-bottom { display: none; }
       ```
   
 *  Thread Starter [atesz03](https://wordpress.org/support/users/atesz03/)
 * (@atesz03)
 * [2 years, 9 months ago](https://wordpress.org/support/topic/lightbox-problems-13/#post-16873646)
 * Now I integrated google photos, and the Lightbox looks exactly as I wanted. I
   could deactivate the descriptions as well.
 * Thank you for your support again and have a nice day!

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

The topic ‘Lightbox problems’ is closed to new replies.

 * ![](https://ps.w.org/photonic/assets/icon.svg?rev=1972449)
 * [Photonic Gallery & Lightbox for Flickr, SmugMug & Others](https://wordpress.org/plugins/photonic/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/photonic/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/photonic/)
 * [Active Topics](https://wordpress.org/support/plugin/photonic/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/photonic/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/photonic/reviews/)

 * 8 replies
 * 2 participants
 * Last reply from: [atesz03](https://wordpress.org/support/users/atesz03/)
 * Last activity: [2 years, 9 months ago](https://wordpress.org/support/topic/lightbox-problems-13/#post-16873646)
 * Status: resolved