Re: Limit picture size on upload
This WebDNA talk-list message is from 2005
It keeps the original formatting.
numero = 63600
interpreted = N
texte = Would be interested, everything else is working fine apart from the imagestuffTHanksPaul----- Original Message ----- From: "Clint Davis"
To: "WebDNA Talk" Sent: Tuesday, December 13, 2005 3:21 PMSubject: Re: Limit picture size on upload> Sorry about coming in late on this one, but...>> I have written something that we're using across multiple sites. Youspecify> a couple of global variables for all the file upload fields as well assome> variables specific to each field (like file size, dimensions for images,> etc.) All the upload code is in an includes file, and we loop through it> based on the number of upload fields in the form. We also use some> javascript to prevent special characters and spaces in file names.Finally,> we use ImageMagick to generate thumbnail images from the full size uploads> for 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 ofthe> > 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 thecart> >> variable> >>> >>