restrict file uploads is small dimensions restrict file uploads is small dimensions
 

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]

Main Menu

restrict file uploads is small dimensions

Started by Konstantinos, July 21, 2005, 11:06:14 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Konstantinos

I want my gallery to automaticly restrict file uploads if for example the pics have height less than 400 pixels. is this possible ?

Joachim Müller

coppermine config:  Max width or height for uploaded pictures/videos

kegobeer

Please clarify your question - are you trying to prevent images that are smaller than a certain width/height?  If so, please search the forum - I'm sure I already posted code on how to do this.

Use the advanced search, search on my username and then try width, height, and other combinations.  I'd post the topic myself, but I don't know which one it is.
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

Konstantinos

#3
i dont want the max height i want the minimum height. some people upload pics 200X200 etc. i want any pics that is not at least 400 pixels height to be rejected

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

I want the opposite

Min width or height for uploaded pictures/videos (pixels)

if this doesnt exist move it to suggestions

Joachim Müller

there's no option for this in the core code, but I think this has been asked and answered before. Please use the search. Aren't you running cpg1.4.1 anyway?

Konstantinos

i have 2 sites the one which users mybb i use 1.41 for the bridge the other 132 it doesnt have forum