After the modal is shown the image opens again in normal mode
Closed this issue · 1 comments
janstieler commented
Hi,
I used the fluidbox really basically
jQuery('.articlebody a[rel="fluidbox"]').fluidbox();
The JS create this HTML
<a href="/images/artikelbilder/testimage.png" rel="fluidbox" class="fluidbox__instance-1 fluidbox--initialized fluidbox--closed fluidbox--ready">
<div class="fluidbox__wrap" style="z-index: 990;">
<img src="/images/artikelbilder/testimage.png" alt="" class="fluidbox__thumb" style="opacity: 1;">
<div class="fluidbox__ghost" style="width: 500px; height: 505px; top: 0px; left: 0px;"></div>
</div>
</a>
My problem now is that I have clicked the anchor the image is open in the modal and after this the image is open like you clicked the anchor without the modal.
It shows the image directly as a page.
What I#m doing wrong?
Cheers
janstieler commented
Sorry for that post. I commented out all the selfwritten JS. And I looks like that I have an conflict.