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.