Tagged: Image Link
May 11, 2019 at 4:20 pm #1099586May 13, 2019 at 4:59 am #1099883
So you want the image to open in a lightbox but not to fit to the screen? You want the image to display its actual dimensions even though it’s larger that the screen viewing it?
RikardMay 13, 2019 at 11:13 am #1100009
I want the original file to be opened in a new tab just the way the browser handles that.
The purpose is to provide the most direct way to download this respective file unaltered by other technologies.May 13, 2019 at 8:20 pm #1100258
Hi eee_lala ,
You can have lightbox disabled in the theme and you’ll get the desired behavior.
Could you please give us a link to your website, we need more context to be able to help you.
VictoriaMay 14, 2019 at 11:01 am #1100456
So if I got it right this happens primarily in the context of Enfold rather than the context of the site. I would like to avoid vandalizing the other jpg-/png-links of the web project just to have some unaltered links on one page. If somehow possible.
Do you have a suggestion for that?
ErikMay 15, 2019 at 9:53 am #1100935
VictoriaMay 15, 2019 at 2:49 pm #1101081
It was quite a pain to figure out how to do it, but I resolved it.
For all others with the same issue:
Pass on the individual css-class “noLightbox” onto your elements or respective parent elements.
Then add a code block somewhere in your page:
LightBox functionality will be disabled for links (‘a’) inside (‘>’) these DOM elements (‘noLightbox’).
The links will be opened in the current browser tab instead, except you did set the target differently.May 16, 2019 at 7:17 am #1101275
Great, I’m glad that you found a solution and thanks a lot for sharing. Please let us know if you should need any further help on the topic or if we can close it.
RikardMay 16, 2019 at 11:49 am #1101394May 16, 2019 at 4:35 pm #1101494
The topic ‘individual link on image not working’ is closed to new replies.