forum.coppermine-gallery.net

No Support => General discussion (no support!) => Topic started by: kevingpo on February 12, 2005, 01:50:22 am

Title: QUERY: adding new photo that fits in to the normal_ specs....
Post by: kevingpo on February 12, 2005, 01:50:22 am
One question:

Am I right in assuming that:

for every single photo that goes through the "adding new photo to coppermine" stage, it will go through the GD2.x compression/resize to match/fit the dimensions of normal_ & thumb_ dimenstions? irrespective of whether the original photo had the same dimension as the normal_ specs?
Title: Re: QUERY: adding new photo that fits in to the normal_ specs....
Post by: kegobeer on February 12, 2005, 02:08:31 am
If your original image's width or height, depending on how you have your gallery configured, is less than Max width or height of an intermediate picture/video, then only a thumb_ will be created.
Title: Re: QUERY: adding new photo that fits in to the normal_ specs....
Post by: russ on February 22, 2005, 04:12:37 am
Then, if a user upload a.jpg and coppermine converts it to normal_a.jpg and also creates a thumbnail tunb_a.jpg, is it save to assume that I can delete a.jpg to save server space.  I have some people who upload huge images.

Thanks.
Title: Re: QUERY: adding new photo that fits in to the normal_ specs....
Post by: Joachim Müller on February 22, 2005, 08:31:44 am
no, you can't delete the full-size pic manually. The full-size pics remanins where it was uploaded to and can be accessed when clicking on the intermediate pic. Auto-resize on upload will be a feature in cpg1.4.x; in the current stable, you should resize before upload, especially if you're short on webspace.

Joachim