Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
opentype Posted April 10, 2016 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?
Jean-Philippe Posted November 10, 2017 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
opentype Posted November 10, 2017 Author Posted November 10, 2017 I am supressing the link with CSS. Not very clean, but okay. [your-image-class] { pointer-events: none; }
Jean-Philippe Posted November 10, 2017 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 ...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.