Skip to main content

WebP support in the gallery

2 years 5 months ago #361368 by neo191987
Hi can you please add WebP support in image gallery. I can upload this type of image, but I can't select already uploaded ones.

Please Log in or Create an account to join the conversation.

2 years 5 months ago #361369 by neo191987
I figured out how to do it in seconds, via the gallery helper. But it would be great if you add this format as well.

Please Log in or Create an account to join the conversation.

2 years 5 months ago #361370 by nicolas
Replied by nicolas on topic WebP support in the gallery
Hi,

Thank you for your feedback. We'll add this for the next version of HikaShop.
It's actually quite easy to add on your end if you don't want to wait.
Just change the line:
Code:
var $extensions = array('jpg', 'jpeg', 'png', 'gif', 'svg');
to:
Code:
var $extensions = array('jpg', 'jpeg', 'png', 'gif', 'svg', 'webp');
in the file administrator/components/com_hikashop/helpers/gallery.php
The following user(s) said Thank You: joomleb, neo191987

Please Log in or Create an account to join the conversation.

Time to create page: 0.047 seconds
Powered by Kunena Forum