Jump to content

Suppressing lighbox in posts?

Featured Replies

Posted

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?

  • 1 year later...

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

  • Author

I am supressing the link with CSS. Not very clean, but okay. 

[your-image-class] { pointer-events: none; }

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 ...

 

Archived

This topic is now archived and is closed to further replies.

Recently Browsing 0

  • No registered users viewing this page.