Advanced search  

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

Pages: [1]   Go Down

Author Topic: minimum size n pic  (Read 5932 times)

0 Members and 1 Guest are viewing this topic.

Konstantinos

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 120
minimum size n pic
« on: December 25, 2005, 08:38:38 am »

how can i make cpg reject uploads if pictures are less than 400 pixels in height ?
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Logged

Konstantinos

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 120
Re: minimum size n pic
« Reply #2 on: December 25, 2005, 11:40:56 am »

no solution could be found there the one code is for old version and not 1.4.2
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: minimum size n pic
« Reply #3 on: December 26, 2005, 09:20:58 am »

did you try if http://forum.coppermine-gallery.net/index.php?topic=23993.0 works with cpg1.4.x as well?
Logged

Konstantinos

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 120
Re: minimum size n pic
« Reply #4 on: December 28, 2005, 10:16:35 pm »

it doesnt i get a parse error. i need a solution for this thing thanx
Logged

Nibbler

  • Guest
Re: minimum size n pic
« Reply #5 on: December 28, 2005, 11:37:21 pm »

A parse error does not mean it is incompatible with 1.4, it means you did the code changes incorrectly.
Logged

Tranz

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Female
  • Posts: 6149
Re: minimum size n pic
« Reply #6 on: December 28, 2005, 11:44:24 pm »

Make sure you're using a text editor.
Logged

Konstantinos

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 120
Re: minimum size n pic
« Reply #7 on: December 29, 2005, 05:36:50 pm »

ok i edited it again, no parse error but it didnt work. can u please post a code which works or the upload.php or which ever file is nessessary for what i need with the code so i can apply it to my gallery i dont want pics less than 450 pixels height thanx
Logged

Konstantinos

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 120
Re: minimum size n pic
« Reply #8 on: January 07, 2006, 06:00:31 pm »

any news with this one? i really need it. i am suprised it doesnt belong all ready to cpg features
Logged
Pages: [1]   Go Up
 

Page created in 0.024 seconds with 19 queries.