HOWTO: make Coppermine resize pictures into exact size? HOWTO: make Coppermine resize pictures into exact size?
 

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

HOWTO: make Coppermine resize pictures into exact size?

Started by euscera[gru], February 16, 2004, 03:40:32 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

euscera[gru]

For examle i need the final thumbnail sized 295x163 - Coppermine doesnt resize it into my needed size.

is it possible to make the thumbinal exact size?

tnx!

moorey

Not to your exact size, but to the height or the width.  CPG resizes according the aspect dimensions of the pics.

euscera[gru]

well yeh. i know that :))
lol

so only answer is to resize my initial pics so they would be the size i need after resizing?

FreeMail

how about automatically reduce file size of upload files, like make all picture file be not greater than 100k or 200k let say, is that possible with CPG?  

TIA!

Joachim Müller

@euscera[gru]: the only option is to crop the thumbs on your client and upload them afterwards (overwriting the thumbs coppermine has created). Cropping of images/thumbs is being worked on (Tarique) for the next coppermine version...

@FreeMail: don't hijack other's threads! Out-of-the-box, this is not possible, but you can reduce the allowed filesize per upload and you can set the compression level and pixel size, which will result in approximately the same thing: your pics will all have similar file sizes (within a certain range, depending on your settings) - no need to restrict the exact file size. If your question was "can coppermine be set up to dynamically reduce resolution or increase compression from pic to pic", then the answer is "no" imo.

GauGau

FreeMail

Quote@FreeMail: don't hijack other's threads! Out-of-the-box, this is not possible, but you can reduce the allowed filesize per upload and you can set the compression level and pixel size, which will result in approximately the same thing: your pics will all have similar file sizes (within a certain range, depending on your settings) - no need to restrict the exact file size. If your question was "can coppermine be set up to dynamically reduce resolution or increase compression from pic to pic", then the answer is "no" imo.

GauGau

i'm sorry, didn't mean to hijack this thread as creating a new thread is not that troublesome, but just thought not to create a new thread and my query might be related, anyway i'll just create a new thread for this query.


thanks!