Poor quality of images

Phoca Cart - complex e-commerce extension
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 08 Oct 2019, 22:31

Poor quality of images

Post by robertd » 08 Oct 2019, 22:57

Hi all guys,

I'm new to phoca cart.
I've uploaded some images properly resized to result in a good compromise between size and quality.
When I see them directly with an image viewer they are pretty good. However, once assigned to products, their quality is quite poor.
I see phoca cart generates automatically a thumbnail for each product starting from the image I've have uploaded and this thumbnail is used in the Category and Items View. However, once I click on the product, I would expect to see the image I have uploaded or, at least, to see it when clicking on the image itself. Instead, it seems to me that the image shown is always the thumbnail.
This is a bit annoying, since I'm creating a website to sell photos to my customers.
I'm pretty sure I'm doing something wrong, however I can't figure it out.
Can someone help me?
Many thanks in advance!

User avatar
Phoca Hero
Phoca Hero
Posts: 42718
Joined: 10 Nov 2007, 18:23
Location: Czech Republic

Re: Poor quality of images

Post by Jan » 10 Oct 2019, 13:40

Hi, are you able to test Phoca Cart 3.4.0 Beta on some test server. There the quality of jpeg was changed from 85% to 100%.

Or you can try to open this file:

and on line 40 change

Code: Select all

$jpeg_quality		= $params->get( 'jpeg_quality', 85 );

Code: Select all

$jpeg_quality		= $params->get( 'jpeg_quality', 100);
Now when you set the same size as the image have, you should get the best quality server can make.

If you find Phoca extensions useful, please support the project

Post Reply