Problem overlay image webp

Home Forums Jevelin Theme Problem overlay image webp

Home Forums Jevelin Theme Problem overlay image webp

Viewing 1 post (of 1 total)
  • Author
  • chiara.cinelli
    Participant

    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

    Attachments:
    You must be logged in to view attached files.
Viewing 1 post (of 1 total)