Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: Picture losing quality - only good when you open javascript link  (Read 4658 times)

0 Members and 1 Guest are viewing this topic.

Bidybag

  • Coppermine newbie
  • Offline Offline
  • Posts: 8

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?
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Picture losing quality - only good when you open javascript link
« Reply #1 on: August 19, 2004, 08:24:11 am »

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
Logged

Bidybag

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
Re: Picture losing quality - only good when you open javascript link
« Reply #2 on: August 19, 2004, 01:48:02 pm »

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

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Picture losing quality - only good when you open javascript link
« Reply #3 on: August 20, 2004, 09:11:10 am »

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
Logged

Bidybag

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
Re: Picture losing quality - only good when you open javascript link
« Reply #4 on: August 20, 2004, 06:58:20 pm »

i dont even understand what you mean by that
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Picture losing quality - only good when you open javascript link
« Reply #5 on: August 21, 2004, 03:36:21 am »

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
Logged

Bidybag

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
Re: Picture losing quality - only good when you open javascript link
« Reply #6 on: August 31, 2004, 04:03:10 am »

plz tell me what i could change in config to make better
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Picture losing quality - only good when you open javascript link
« Reply #7 on: August 31, 2004, 07:23:49 am »

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
Logged
Pages: [1]   Go Up
 

Page created in 0.015 seconds with 15 queries.