Blurry images on the module display

  • Posts: 1086
  • Thank you received: 12
  • Hikashop Business
4 years 8 months ago #321562

Hi. As you can see on the front page module, the images displayed are somewhat blurry. If you open the product, the pictures are alright and in decent quality. I tried checking the module settings in case I accidentally messed something up, but after several tries, nothing changed. Do you have any idea what it could be?

Thanks in advance.

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

  • Posts: 83407
  • Thank you received: 13502
  • MODERATOR
4 years 8 months ago #321570

Hi,

I suppose that the issue comes from the algorithm of the GD library in PHP for the resizing of images:
stackoverflow.com/questions/2799159/php-...age-blurring-problem
Not much you can do to avoid that besides generating yourself the thumbnails and uploading them via FTP to the correct folders.

Alternatively, you can increase the size of the thumbnails and add CSS code to let the browser resize the images on the fly. This however means the listing pages will take longer to load as it will have to download all the images with the bigger size.

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

  • Posts: 1086
  • Thank you received: 12
  • Hikashop Business
4 years 8 months ago #321596

I set an image width for the module instead of leaving it on auto and it seemed to work a little better. I'm not sure if it's just my eyes... Thank you for the response.

Last edit: 4 years 8 months ago by verzevoul.

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

Time to create page: 0.057 seconds
Powered by Kunena Forum