OwlCarousel2 rewrite image extension (webp) on the fly
RakArthus opened this issue · comments
Using Wordpress and Owlcarousel2 for news I experiment an issue with the rewrite of image extension from webp to jpeg.
My website is set up to allow webp images and all pages of the website display correctly webp images except owlcarousel2 auto slide.
All image for this specific post use webp extension . They are well loaded (sources of console) but owlCarousel rewrite on the fly this webp extension to jpeg.
If I manually modify extension (jpeg to webp) of image in browser console the webp image display well.
Do you already experiment this issue and do you know and how to resolve this issue?
I do not find any information about image extensions and restriction of use on OwlCarousel2 website.
if it is necessary I can provide the website where the problem appears.
jQuery('.owl-actualite').owlCarousel({
items: 1,
autoplay:true,
autoplayTimeout:5000,
autoplayHoverPause:false,
loop:true,
nav:true,
dots:false,
thumbs: false,
stageClass: 'owl-stage h-100',
stageOuterClass: 'owl-stage-outer w-100 h-20vh',
responsiveClass:true,
responsive:{0:{items:1}}
});