- Posts: 1195
- Thank you received: 13
Image thumbs blurry
Please Log in or Create an account to join the conversation.
That comes from the webp images. In your case, it looks like the compression is too important.
The best for now is to add an entry with the namekey add_webp_images and the value 0 in the table hikashop_config via your phpmyadmin to deactivate the webp images.
With next version, you can change that back to 1 and instead add an entry webp_image_quality with a value between 0 and 100 (80 by default) to configure the quality of the webp images.
Please Log in or Create an account to join the conversation.
@Nicolas
When new version will be live?
Thanks
Please Log in or Create an account to join the conversation.
I planned for this week. I'm still hopeful we can wrap up the release today but otherwise it will be at the beginning of next week.
Please Log in or Create an account to join the conversation.
i added the entry but nothing changed nicolas!
Please Log in or Create an account to join the conversation.
Then you must have made a mistake when added the entry to the hikashop_config. Please double check.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
That's a good point. But I don't think it should make any difference. You can try but I don't think it will help.
Note that HikaShop 4.2.0 has been released on Friday last week. So you can update and change the quality of the webp images with the namekey webp_image_quality and the value 100 in the hikashop_config table.
You'll have to delete the thumbnails folders after that so that the webp thumbnails can be regenerated with the quality you want.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
It's normal you don't have it. That's why I said that you need to add it and not to change it.
With most new options we add to HikaShop, we don't add the corresponding entry in hikashop_config during the installation, especially for options without a proper setting in the interface.
Please Log in or Create an account to join the conversation.
i have the same problem with my thumbnails. They are blur. I dont understand why. I have attached the quality and the size of the images that i am using and also here you can see how blur they are -> www.giakourtines.gr/kourtines/kourtinesramenes
I hope that there is an easy solution....
Thank you in advance
Please Log in or Create an account to join the conversation.
I personnally don't see that the thumbnail of that image is particularily blury on your link.
The thumbnail is smaller and a bit compressed, so of course there is a bit less details to it. But it looks quite reasonnable to me.
You could change the code:
$quality = array(
'jpg' => 95,
'png' => 9
);
to:
$quality = array(
'jpg' => 100,
'png' => 9
);
in the file administrator/components/com_hikashop/helper/image.php in order to not have compression on the thumbnails generated by HikaShop. But I don't think a 5% compression quality change will do much.
If you really want to have better thumbnails, then you would need to use a better algorithm to resize the images. And that's not possible in PHP as there is only one. So you would have to resize the images into thumbnails yourself with an image where you would have a lot of control on that (like photoshop) and then replace the thumbnails in the /images/com_hikashop/upload/thumbnails/ folders of your website via FTP. This could be an harduous process, but I don't see any alternative if the thumbnails generated via PHP are not good enough for your needs.
Please Log in or Create an account to join the conversation.