Re: Limit picture size on upload
This WebDNA talk-list message is from 2005
It keeps the original formatting.
numero = 63595
interpreted = N
texte = Sorry about coming in late on this one, but...I have written something that we're using across multiple sites. You specifya couple of global variables for all the file upload fields as well as somevariables specific to each field (like file size, dimensions for images,etc.) All the upload code is in an includes file, and we loop through itbased on the number of upload fields in the form. We also use somejavascript to prevent special characters and spaces in file names. Finally,we use ImageMagick to generate thumbnail images from the full size uploadsfor some of this stuff.I'd be happy to share this stuff if anyone's interested.On 12/11/05 9:28 AM, "paul"
wrote:> I fixed this problem, 4 hours sleep did the trick> > The only issue I have now is to find a way of restricting the size of the> image, I need it to be no more than 400 x 400 max if possible> > Has anyone done this before, I am sure it has been> > THanks> Paul> > > ----- Original Message -----> From: "paul" > To: "WebDNA Talk" > Sent: Sunday, December 11, 2005 1:18 PM> Subject: Re: Simple form with picture upload> > >> Thanks, I found the scripts, one problem, I cannot seem to pass the cart>> variable>> >>