Home Forums WoodMart support forum AVIF image format

AVIF image format

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #620722

    x7corp
    Participant

    I wanted to confirm if Woodmart is compatible with AVIF image format via IMAGIFY. I want to use AVIF over WEBP. this is just for the product photos, not background photos.

    #620942

    Luke Nielsen
    Keymaster

    Hello,

    Yep, out theme should work well with such a format of images.

    If you have additional questions, let me know.

    Kind Regards

    #627168

    x7corp
    Participant

    Hi, I am using Use <picture> tags (preferred) option with Imagify and when inspecting the page only the thumbnail size if showing as AVIF not the main product images, can you help?

    #627250

    x7corp
    Participant

    I forgot to mention I have tested with WordPress theme “Storefront” and it works good.

    #627554

    Luke Nielsen
    Keymaster

    Hello,

    I would like to request temporary admin access to look better at the settings there. Also, may I check how it works on the default theme?

    Thank you for your time.

    Kind Regards

    #627633

    x7corp
    Participant

    Hi,

    Sure I have included the temp login details in private content along with the product page that has had the AVIF images.

    this is a staging version of the website so you are welcome to change the theme to check behaviour.

    #628067

    Luke Nielsen
    Keymaster

    Hello,

    Add the code below to the functions.php file in your child theme:

    add_action('init', function () {
    	remove_filter( 'woodmart_single_product_gallery_image_class', 'woodmart_single_product_gallery_images_webp' );
    });

    Clear the cache and check how it works.

    Kind Regards

    #628117

    x7corp
    Participant

    Hi Thank you, it looks like it is working.

    Can you tell me by removing this filter what function I am effecting so I am aware?

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