Skip to content
Grav 2.0 is officially stable. Read the announcement →

Community guidelines

Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.

Plugins

Shortcode-owl-carousel support for webp images and cropZoom

Solved by pamtbaau View solution

Started by Pedro M 6 years ago · 2 replies · 1362 views
6 years ago

Hello there.

I'm changing my website images to webp format, buy the shortcode-owl-carousel plugin doesn't show these images when I use the cropZoom.

Image doesn't show:
![](busq00.webp?cropZoom=1280,720)

Image shows:
![](busq00.webp

Moreover, the plugin show a blank image between wepb images.
You can see this effect in this url:
https://caslasgabias.com/blog/excursion-a-busquistar-ruta-medieval

Can anyone help me with this issue?
Thanks in advance.

6 years ago Solution

@pmoreno , According the docs of Grav on Supported Media Files, webp is currently not supported. Image manipulation functions like cropZoom will therefor not be supported.

Support for webp has been asked on the forum before in post WEBP Image format. A reply refers to the Github repo of Grav. On Github you will find issue WebP support missing #2714 (Oct 2019) and Grav's future plans on webp.

Gravs response:

We currently have the same issue as #1168 - we are locked into a specific image library in Grav 1.x, and it doesn't support WebP. With Grav 2.x we plan on revisiting this and updating to a more flexible library.

You might want to subscribe to that issue to get notified on any progress.

last edited 06/29/20 by pamtbaau
6 years ago

Thanks so much, @pamtbaau for your fast response. I've seen the Grav Documentation about the Supported Media Files, and there it's clear that Grav have not support to webp files.

However, just now I'm changing the website Juan Villén (made in Grav), with Gantry, and you can check that the webp images in all site work fine. What happens here? Gantry offers support to webp images and Grav not?.

"Additional support for media files and streaming embeds may be added via plugins", says the Grav Official Documentation. I think that Gantry offers this support via plugin.

Nevertheless, I expect Grav will offer support to webp images, soon.
Thanks, again.

Suggested topics

Topic Participants Replies Views Activity
Plugins · by Rene, 1 week ago
2 49 1 week ago
Plugins · by Xavier, 4 weeks ago
2 57 4 weeks ago
Plugins · by Luka Prinčič, 7 years ago
3 1184 1 month ago
Plugins · by Sebastian van de Meer, 1 month ago
1 50 1 month ago
Plugins · by PIERROT Alain, 2 months ago
3 75 2 months ago