Advanced search  

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]

Pages: [1]   Go Down

Author Topic: restrict file uploads is small dimensions  (Read 2896 times)

0 Members and 1 Guest are viewing this topic.

Konstantinos

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 120
restrict file uploads is small dimensions
« 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 ?
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: restrict file uploads is small dimensions
« Reply #1 on: July 22, 2005, 04:59:06 am »

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

kegobeer

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 4637
  • Beer - it does a body good!
    • The Kazebeer Family Website
Re: restrict file uploads is small dimensions
« Reply #2 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.
Logged
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

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 120
Re: restrict file uploads is small dimensions
« Reply #3 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
« Last Edit: July 22, 2005, 10:36:01 am by Konstantinos »
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: restrict file uploads is small dimensions
« Reply #4 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?
Logged

Konstantinos

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 120
Re: restrict file uploads is small dimensions
« Reply #5 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
Logged
Pages: [1]   Go Up
 

Page created in 0.016 seconds with 15 queries.