Good day. Tell me please.

There are added photos in revolution slider, photos are added with the background-image property.

I need that when I click on the slider photo, the Feynsibox popup displayed.

I understand that fancybox only works with the <img> , and I understand that to implement this, you need to pull out the url background-image and create an <img> in which you will need to put the url itself and set the correct properties.

Can someone come across such a problem and know the most optimal solution?

Thank.

  • no, unless you create an <img> empty, you will substitute an url for the pictures here and trigger <img> with a trigger - Lieutenant Jim Dangle

0