- Posts: 431
- Thank you received: 19
WebP support in the gallery
2 years 5 months ago #361368
by neo191987
WebP support in the gallery was created 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
Replied by neo191987 on topic WebP support in the gallery
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:
to:
in the file administrator/components/com_hikashop/helpers/gallery.php
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');
Code:
var $extensions = array('jpg', 'jpeg', 'png', 'gif', 'svg', 'webp');
Please Log in or Create an account to join the conversation.
Time to create page: 0.047 seconds