forum.coppermine-gallery.net

Support => cpg1.4.x Support => Older/other versions => cpg1.4 upload => Topic started by: asdf on January 03, 2006, 04:04:12 pm

Title: resize the big orginal pictures
Post by: asdf on January 03, 2006, 04:04:12 pm
is it possible to resize the orginal images?

coppermine creates the thumb_* and normal_* as i wish, but the 'big' picture should be not as big as it is. can coppermine resize this picture too? i don't want to do it manually.
i upload my pictures with ftp.
Title: Re: resize the big orginal pictures
Post by: ecto on January 03, 2006, 05:27:45 pm
Yes it is.

Set "Max width or height for uploaded pictures/videos (pixels)" in your config to whatever dimensions you would like, and below that set "Auto resize images that are larger than max width or height" to Yes:Everyone or Yes:User only (depending on what you prefer).

Btw, you should be aware that resizing using the tools available to Coppermine (GD or ImageMagick) might produce worse quality images than when using professional image software like Photoshop.
Title: Re: resize the big orginal pictures
Post by: Joachim Müller on January 03, 2006, 05:29:41 pm
however, you should really batch-resize before upload: you get better quality, faster FTP-uploads and you burn less CPU cycles on the server.
Take a look at the Batch-resizing tutorial (http://coppermine-gallery.net/tutorial/)
Title: Re: resize the big orginal pictures
Post by: ecto on January 03, 2006, 05:32:42 pm
however, you should really batch-resize before upload: you get better quality

Heh GauGau, you got me between my post and edit there. 8)
Title: Re: resize the big orginal pictures
Post by: asdf on January 03, 2006, 05:42:43 pm
i know how the resize with other software .. but im to lazy :)

@ecto:
is it really working with ftp-uploads? thought it would only work with http-uploads.


thanks so far ...
Title: Re: resize the big orginal pictures
Post by: ecto on January 03, 2006, 06:10:12 pm
asdf, too lazy? You will (most probably) actually save time if you batch-resize before upload.. but maybe time wasn't the issue. ::)

And yes, it works when batch-adding. I even tried it myself before posting. You should try too! :)
Title: Re: resize the big orginal pictures
Post by: asdf on January 03, 2006, 06:19:26 pm
asdf, too lazy? You will (most probably) actually save time if you batch-resize before upload.. but maybe time wasn't the issue. ::)
the programm should do the work for me, not i for the programm  ;D


thanks for your answers, couldn't try it so far ...
Title: Re: resize the big orginal pictures
Post by: kegobeer on January 03, 2006, 06:22:01 pm
Next time RTFM.  Your question is answered in the included documentation.
Title: Re: resize the big orginal pictures
Post by: asdf on January 03, 2006, 06:28:50 pm
Next time RTFM.  Your question is answered in the included documentation.

i did!  >:(
there you can read this:
Quote
During the upload process, if images are larger than the maximum width or height allowed they will automatically be resized to the maximum allowable size.

'during the upload process' means to me that it works with http upload, beacuse during ftp-upload it can't change the size of the picture.
therefore i wanted to know if its's possible with batch adding ...
Title: Re: resize the big orginal pictures
Post by: kegobeer on January 03, 2006, 06:57:22 pm
Don't quote the manual to me: I wrote that part.  Maybe you should read the entire section before commenting.

Quote from: Documentation
Auto resize images that are larger than max width or height
During the upload process, if images are larger than the maximum width or height allowed they will automatically be resized to the maximum allowable size. Users with especially large files should be advised to resize their pictures outside of coppermine before uploading as this process also consumes considerable resources when processed online.

Note: How the image is resized (width/height/max aspect) is set in the admin option "Use dimension (width or height or Max aspect for thumbnail)"

There are three options:

No - Disabled
Yes: Everyone - Enabled for all users, including the Admin during batch-add process.
Yes: User only - Enabled only for regular users

I guess you missed this: "Enabled for all users, including the Admin during batch-add process."
Title: Re: resize the big orginal pictures
Post by: asdf on January 03, 2006, 07:01:17 pm
okay ... my mistake ... ::)