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!
Poor quality of images
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Poor quality of images
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:
administration/components/com_phocacart/libraries/phocacart/image/magic.php
and on line 40 change
FROM:
TO:
Now when you set the same size as the image have, you should get the best quality server can make.
Jan
Or you can try to open this file:
administration/components/com_phocacart/libraries/phocacart/image/magic.php
and on line 40 change
FROM:
Code: Select all
$jpeg_quality = $params->get( 'jpeg_quality', 85 );
Code: Select all
$jpeg_quality = $params->get( 'jpeg_quality', 100);
Jan
If you find Phoca extensions useful, please support the project