opentype Posted April 10, 2016 Share Posted April 10, 2016 I am adding images through a custom editor button and they automatically get a lightbox functionality. Is there any HTML that I can add to suppress the lightbox for certain images? Link to comment Share on other sites More sharing options...
Jean-Philippe Posted November 10, 2017 Share Posted November 10, 2017 Hi, Did you find any solution to your problem ? On my side, I would like to know if it there is a solution to suppress the lightbox of all pictures in all forum posts ... Thank you for any help Link to comment Share on other sites More sharing options...
opentype Posted November 10, 2017 Author Share Posted November 10, 2017 I am supressing the link with CSS. Not very clean, but okay. [your-image-class] { pointer-events: none; } Link to comment Share on other sites More sharing options...
Jean-Philippe Posted November 10, 2017 Share Posted November 10, 2017 Thank you for your answer, but it's not exactly what I need. What I want is that a click on an image posted in a forum just directly open the image (in the current windows or another windows, and if possible at 100% of its size). In other world, by default, the code for an image in a forum is : Quote <a class="ipsAttachLink ipsAttachLink_image" href="xxxxxx" data-fileid="xxxx" rel="" data-ipslightbox="" data-ipslightbox-group="xxxxx"> <img class="ipsImage ipsImage_thumbnailed" data-fileid="xxxxx" src="xxxxx" alt="xxxxxx"> </a> I would like to modify the code by this : Quote <a href="xxxxxx" data-fileid="xxxx" rel=""> <img class="ipsImage ipsImage_thumbnailed" data-fileid="xxxxx" src="xxxxx" alt="xxxxxx"> </a> BUT ... I don't find where to modify this code ! (I know how to personalise HTML/CSS in themes, and I did personnalized many themes, but I don't find where is this code that I would like to modify Thank you VERY much for any help ... Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.