Home › Forums › Jevelin Theme › Problem overlay image webp
Home › Forums › Jevelin Theme › Problem overlay image webp
Hi,
the problem occurs in the portfolio when clicking on the image with the webp extension. The overlay image is into an iframe, which doesn’t happen if the image is a jpg or png.
so the image does not take up the all space of the overlay window and you can see the white background and the edges of the iframe.
In “jevelin/js/plugins/lightcase.min.js” I tried adding webp at the line 120:
typeMapping: {
‘image’: ‘jpg,jpeg,gif,png,bmp,webp’,
but it doesn’t work.
How can you fix this?
Thank you and I look forward to hearing from you. Best regards.
Chiara Cinelli