Picture losing quality - only good when you open javascript link Picture losing quality - only good when you open javascript link
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Picture losing quality - only good when you open javascript link

Started by Bidybag, August 19, 2004, 03:19:07 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Bidybag

I have put a few pictures on my website. Lets take this 1 as an example: http://www.bidybag.com/graphics/displayimage.php?album=random&cat=0&pos=-6

If you go there and look at the picture you will see that it is not very good. Click on the picture again and you will see how much better it looks even tho they are both the same size. I want the picture to look the same as the picture on the javascript window. I have set to jpeg quality to 100.

What else can i do?

Joachim Müller

jpeg is not a losless format: and resizing isn't losless either. Setting pic quality to 100% is just a waste of resources. Instead, set the dimensions for intermediates higher. If the max size for intermediates to a higher value than your original is, then it won't be resized at all.

GauGau

Bidybag

why is it good when i open javascript link and not good on the website when there the same size?

Joachim Müller

Those are different files: http://www.bidybag.com/graphics/albums/userpics/10001/normal_multi.jpg and http://www.bidybag.com/graphics/albums/userpics/10001/multi.jpg
The one with the "normal_" prefix is the resized one. Do as I suggested and edit the intermediate size in coppermine config, then use admin tools to re-build your intermediate file.

GauGau

Bidybag


Joachim Müller

those two pics (the one on embedded on the page and the one in the pop-up) are NOT identical - they differ. They differ, because you instructed Coppermine to create a version with reduced size and quality by setting stuff in coppermine config. To find out more, read the documentation that comes with coppermine.

GauGau

Bidybag


Joachim Müller

in coppermine config, set "Max width or height of an intermediate picture/video" from "400" to "600" and save those settings. Changing this settings won't change the pics that already exist in your database, it will only apply for pics that are being added from this point on. To improve the quality of the pics that already exist in your database, go to "admins tools" from your admin menu, choose "Update thumbs and/or resized photos (1)", option "Only resized pictures", choose the album at the bottom of the screen (for your above example you posted, choose "Sqaure Size Graphics") and hit "submit".
Please refer to the documentation for details, it's all in there.
It's also recommended that you set " Quality for JPEG files" to something less than "100" in coppermine config (usually, the default value "80" is OK.

Joachim