[Skip to main content](#vessel-content)

#   WebP support in the gallery

##

- **[neo191987](/forum/user/35364-neo191987 "View neo191987's Profile")**
- [![neo191987's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar35364.jpg)](/forum/user/35364-neo191987 "View neo191987's Profile") Topic Author
- [ Offline](/forum/user/35364-neo191987)

Less More

- Posts: 431
- Thank you received: 19
-
-

2 years 5 months ago [\#361368](#361368) by [neo191987](/forum/user/35364-neo191987 "View neo191987's Profile")  *[WebP support in the gallery](/forum/50-feature-request/908241-webp-support-in-the-gallery#361368 "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.")* was created by *[neo191987](/forum/user/35364-neo191987 "View neo191987's Profile")*

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](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUwLWZlYXR1cmUtcmVxdWVzdC85MDgyNDEtd2VicC1zdXBwb3J0LWluLXRoZS1nYWxsZXJ5P3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[neo191987](/forum/user/35364-neo191987 "View neo191987's Profile")**
- [![neo191987's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar35364.jpg)](/forum/user/35364-neo191987 "View neo191987's Profile") Topic Author
- [ Offline](/forum/user/35364-neo191987)

Less More

- Posts: 431
- Thank you received: 19
-
-

2 years 5 months ago [\#361369](#361369) by [neo191987](/forum/user/35364-neo191987 "View neo191987's Profile")  Replied by *[neo191987](/forum/user/35364-neo191987 "View neo191987's Profile")* on topic *[WebP support in the gallery](/forum/50-feature-request/908241-webp-support-in-the-gallery#361369 "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.")*

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](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUwLWZlYXR1cmUtcmVxdWVzdC85MDgyNDEtd2VicC1zdXBwb3J0LWluLXRoZS1nYWxsZXJ5P3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86541
- Thank you received: 14304
-
-

2 years 5 months ago [\#361370](#361370) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[WebP support in the gallery](/forum/50-feature-request/908241-webp-support-in-the-gallery#361370 "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.")*

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](/forum/user/2322-joomleb "View joomleb's Profile"), [neo191987](/forum/user/35364-neo191987 "View neo191987's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUwLWZlYXR1cmUtcmVxdWVzdC85MDgyNDEtd2VicC1zdXBwb3J0LWluLXRoZS1nYWxsZXJ5P3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.051 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
