Problem overlay image webp

Home Forums Jevelin Theme Problem overlay image webp

Home Forums Jevelin Theme Problem overlay image webp

Viewing 6 posts - 1 through 6 (of 6 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.

    Shufflehound
    Moderator

    Hello,

     

    Thank you for the details!

     

    Could you please share a link where we can see the issue live? That will help us debug it more accurately. Also, are you using any plugins or custom code to enable WebP support on your site? That information will help us understand how the images are being handled.

     

    Looking forward to your reply! 🙂

     

    Best regards,

    Shufflehound Team

    chiara.cinelli
    Participant

    The site is under construction and not yet public. I don’t use any plugins for the images, so I upload “webp” directly to the media section.

    I’ve encountered other problems:

    It’s not possible to remove images from the gallery and also the backend editor doesn’t work; only the frontend editor works.

    I’m attaching the screenshot.

    Regars

    Chiara Cinelli

    Attachments:
    You must be logged in to view attached files.

    Shufflehound
    Moderator

    Hello,

     

    After some testing, we’ve prepared a fix in our latest beta version – please download and install it from the link below:


    Please login to access this file

     

    Once installed, let us know if this resolves the issue on your end. 🙂

     

    Best regards,

    Shufflehound Team

    chiara.cinelli
    Participant

    Thanks for the reply.

    I uploaded the files and tested them with the main and child themes, but it doesn’t work.

    As you can see, the image is embedded in a simple href but when clicked, it opens an iframe (it almost seems like it’s behaving like a openig video).

    Also, WordPress encountered this error:
    Line 5 file /web/htdocs/www.chiaracinelli.it/home/consulting/wp-content/themes/jevelin/functions.php.
    Error message: Uncaught Error: Failed opening required ‘/web/htdocs/www.chiaracinelli.it/home/consulting/wp-content/themes/jevelin/inc/init.php’ (include_path=’.:/php8.3/lib/php’) in /web/htdocs/www.chiaracinelli.it/home/consulting/wp-content/themes/jevelin/functions.php:5
    Stack trace:
    #0 /web/htdocs/www.chiaracinelli.it/home/consulting/wp-settings.php(695): include()
    #1 /web/htdocs/www.chiaracinelli.it/home/consulting/wp-config.php(102): require_once(‘…’)
    #2 /web/htdocs/www.chiaracinelli.it/home/consulting/wp-load.php(50): require_once(‘…’)
    #3 /web/htdocs/www.chiaracinelli.it/home/consulting/wp-admin/admin-ajax.php(22): require_once(‘…’)
    #4 {main}
    thrown

    Awaiting your response.

    Attachments:
    You must be logged in to view attached files.

    chiara.cinelli
    Participant

    Test: I send you an image taken from your site in webp format
    to exclude errors in the image production

     

    It seems that you can’t load webp images

Viewing 6 posts - 1 through 6 (of 6 total)