- Posts: 143
- Thank you received: 9
No image in product page after upgrate to 4.1.0
- ButterflyPixel
-
Topic Author
- Offline
Less
More
7 years 4 months ago - 7 years 4 months ago #306489
by ButterflyPixel
No image in product page after upgrate to 4.1.0 was created by ButterflyPixel
-- HikaShop version -- : 4.0.2
-- Joomla version -- : 3.9.5
-- PHP version -- : 7.x.x
Hi,
After upgrade to 4.1.0, I do not see the product image in product page.
If I will delete from firebug the code that refers to image .webp version
then I can see the image in page.
I rolled back to 4.0.2 ( I do not have the 4.0.3) and all works fine.
Please advice
-- Joomla version -- : 3.9.5
-- PHP version -- : 7.x.x
Hi,
After upgrade to 4.1.0, I do not see the product image in product page.
If I will delete from firebug the code that refers to image .webp version
Code:
<source srcset="/images/com_hikashop/upload/thumbnails/100x100f/XXXXXXXX.webp" type="image/webp">
I rolled back to 4.0.2 ( I do not have the 4.0.3) and all works fine.
Please advice
Last edit: 7 years 4 months ago by ButterflyPixel.
Please Log in or Create an account to join the conversation.
7 years 4 months ago #306491
by nicolas
Replied by nicolas on topic No image in product page after upgrate to 4.1.0
Hi,
With HikaShop 4.1.0, we add the support of webp. It's an optimized image format that is added to the normal images so that browsers supporting it can use the webp image instead of the normal jpg/png images. These webp images are smaller and thus it helps speed up the display of the page (which is good for SEO, etc).
If you don't get the image displayed, it means that the system couldn't generate the webp image for some reason.
There is probably a permission issue in your images folders preventing PHP from generating the webp images.
I would recommend to check on that.
Also, I've added a patch on our end to skip the display of the webp tags in the HTML if the image couldn't be generated.
So if you update again with the new install package on our website, even without fixing the issue with the webp images not generated, you should still see the images of your products.
With HikaShop 4.1.0, we add the support of webp. It's an optimized image format that is added to the normal images so that browsers supporting it can use the webp image instead of the normal jpg/png images. These webp images are smaller and thus it helps speed up the display of the page (which is good for SEO, etc).
If you don't get the image displayed, it means that the system couldn't generate the webp image for some reason.
There is probably a permission issue in your images folders preventing PHP from generating the webp images.
I would recommend to check on that.
Also, I've added a patch on our end to skip the display of the webp tags in the HTML if the image couldn't be generated.
So if you update again with the new install package on our website, even without fixing the issue with the webp images not generated, you should still see the images of your products.
Please Log in or Create an account to join the conversation.
- ButterflyPixel
-
Topic Author
- Offline
Less
More
- Posts: 143
- Thank you received: 9
7 years 4 months ago - 7 years 4 months ago #306509
by ButterflyPixel
Replied by ButterflyPixel on topic No image in product page after upgrate to 4.1.0
Hi,
I found that some rules in .htaccess was creating the issue.
Thanks for your support.
I found that some rules in .htaccess was creating the issue.
Thanks for your support.
Last edit: 7 years 4 months ago by ButterflyPixel.
Please Log in or Create an account to join the conversation.
7 years 4 months ago #306582
by confidant
Replied by confidant on topic No image in product page after upgrate to 4.1.0
If it helps anyone, I use the htaccess maker feature of AdminTools. In the section "Allow direct access, except .php files, to these directories" I added a line:
/images/com_hikashop/upload/
That fixed it.
Editing .htaccess directly you would want to add:
RewriteCond %{REQUEST_FILENAME} !(\.php)$
RewriteCond %{REQUEST_FILENAME} -f
RewriteRule ^images\/com_hikashop\/upload/ - [L]
/images/com_hikashop/upload/
That fixed it.
Editing .htaccess directly you would want to add:
RewriteCond %{REQUEST_FILENAME} !(\.php)$
RewriteCond %{REQUEST_FILENAME} -f
RewriteRule ^images\/com_hikashop\/upload/ - [L]
Please Log in or Create an account to join the conversation.
7 years 1 month ago #309455
by jsyaruss
Replied by jsyaruss on topic No image in product page after upgrate to 4.1.0
giving a bit more info on this - the problem for me was permission for the webp image generation. I had to allow the webp image format in .htaccess. That solved the problem, but it did take a bit of hunting around.
Please Log in or Create an account to join the conversation.
Time to create page: 0.189 seconds