[SOLVED] productimages on detail page not visible

  • Posts: 290
  • Thank you received: 22
4 years 11 months ago #306796

-- HikaShop version -- : 4.1.0
-- Joomla version -- : 3.9.6
-- PHP version -- : 7

Hi,
On the detailpages the images are not display while the url's are working.
Any tips on why that would be ?
https://www.heemskerk-kantoormeubelen.nl/webshop/zitten/bureaustoelen/product/bureaustoel-astahttps://www.heemskerk-kantoormeubelen.nl/webshop/zitten/bureaustoelen/product/bureaustoel-asta is an example.

Thanks

Last edit: 4 years 11 months ago by nico.van.leeuwen. Reason: solved

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

  • Posts: 81511
  • Thank you received: 13066
  • MODERATOR
4 years 11 months ago #306805

Hi,

It's apparently related to the introduction of the webp image support in HikaShop 4.1.0
If you look at the HTML of the image, you can see that it is like that now:
monosnap.com/file/YDq54tBpNL3fgJK06LgxZJCiyZG3fw
We do that to make page display faster.
If I load the jpg thumbnail, it works fine:
www.heemskerk-kantoormeubelen.nl/images/...350f/asta04101ma.jpg
But not the webp image:
www.heemskerk-kantoormeubelen.nl/images/...50f/asta04101ma.webp
So make sure that the webp image is in the folder (which I suppose it is).
If it isn't, then the issue probably comes from permissions on the upload folder and its subfolders.
But what's more likely is that the webp image is generated but you have some rules in your web server config or htaccess which doesn't allow the download of files with the webp extension like you allow for jpg/png images.

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

  • Posts: 290
  • Thank you received: 22
4 years 11 months ago #306815

After some investigation it is solved by adding webp in the htaccess section of Admin Tools under "Frontend file types allowed in selected directories"
This was where it was blocked :)

Thanks for your reaction.

The following user(s) said Thank You: swiele

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

Time to create page: 0.059 seconds
Powered by Kunena Forum