coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Miscellaneous => Topic started by: mrmike987 on July 04, 2005, 07:17:57 AM

Title: Max Images
Post by: mrmike987 on July 04, 2005, 07:17:57 AM
Is there a way to set the max number of images in a gallery ?
Title: Re: Max Images
Post by: Joachim Müller on July 04, 2005, 07:56:55 AM
what for?
Title: Re: Max Images
Post by: mrmike987 on July 04, 2005, 08:01:32 PM
I want to limit the amout of photos allowed in a gallery.

Users will only be allowed to upload 30 images...

is that possible?
Title: Re: Max Images
Post by: Tranz on July 04, 2005, 08:05:28 PM
I think it would be better to limit by the size of the gallery rather than the number of files.
Title: Re: Max Images
Post by: kegobeer on July 04, 2005, 10:36:46 PM
Is it possible - probably.  It would mean extra coding to achieve what you want - counting the number of files a person has uploaded instead of adding the size of the images.  I don't have the time to look into it; maybe one of the other devs has some spare time.  You can always post your request on the freelancers/paid help board.
Title: Re: Max Images
Post by: Nibbler on July 04, 2005, 10:45:52 PM
There's a mod for 1.2 - http://forum.coppermine-gallery.net/index.php?topic=9009.0. I expect that could be updated to work for 1.3