coppermine-gallery.com/forum

Support => Older/other versions => cpg1.3.x Support => Topic started by: Konstantinos on July 21, 2005, 11:06:14 PM

Title: restrict file uploads is small dimensions
Post by: Konstantinos on July 21, 2005, 11:06:14 PM
I want my gallery to automaticly restrict file uploads if for example the pics have height less than 400 pixels. is this possible ?
Title: Re: restrict file uploads is small dimensions
Post by: Joachim Müller on July 22, 2005, 04:59:06 AM
coppermine config:  Max width or height for uploaded pictures/videos
Title: Re: restrict file uploads is small dimensions
Post by: kegobeer on July 22, 2005, 05:15:13 AM
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.
Title: Re: restrict file uploads is small dimensions
Post by: Konstantinos on July 22, 2005, 10:29:21 AM
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
Title: Re: restrict file uploads is small dimensions
Post by: Joachim Müller on July 22, 2005, 10:36:35 AM
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?
Title: Re: restrict file uploads is small dimensions
Post by: Konstantinos on July 22, 2005, 11:14:23 AM
i have 2 sites the one which users mybb i use 1.41 for the bridge the other 132 it doesnt have forum