Max picture resolution for users Max picture resolution for users
 

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

Max picture resolution for users

Started by ronish, November 23, 2004, 04:32:19 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

ronish

Hi I am new to coppermine and I was wondering if there is a way to set a maximum picture resolution for users. Just like the max file size, I would to set a max resolution too.

lamama

Yes, sure. It's the line underneath the maximum filesize you mentioned.

Look for "Max width or height for uploaded pictures/videos (pixels)"

ronish

Kool thanks. One more question, is there a way where a picture is automatically resized. For instance a user who has no knowlodge of editing and when they upload a picture with 1024*768 resolution, the gallery automatically resizes the pics to 640*480.

lamama

You can Coppermine tell to create "intermediate" pictues and set the size in a field called " Max width or height of an intermediate picture/video".

But AFAIK there's actually no way auto-resize pics while uploading or batch-adding. The fullsize-pics stays the one you've uploaded and will not be changed or altered. Maybe this topic was discussed somewhere else in here, try the forum search for further information.

my personal opinion: if you have enough webspace, the two limits (max. filesize / max. resolution) are enough, and the intermediate sized pics help you to get single-picture-views that don't mess up the layout of your gallery with pictures which are bigger that your screen or a "standard" browser window (and it will help keep the bandwidth it limits).
While watching online photogalleries nothing is more frustrating then a nice picture in a bad resolution or quality - and IMHO 640*480 is fairly small.

QuoteFor instance a user who has no knowlodge of editing

Why not tell them how to do it.
There is a nice piece of free software (www.irfanview.com, but you can use xnview or others too) which you can use to batch-resize pictures the easy way. Place a nice "resize-Howto" on your website, attach a download link to the software and hope your gallery users will understand and use it.

Joachim Müller

if your users are on Windows XP, you could tell them to use the XP Publishing wizard (refer to the coppermine docs for details).

Joachim

P.S. We have a "one question per thread" policy on this board, you agreed to respect it when you signed up for your account.