Re: Limit picture size on upload
This WebDNA talk-list message is from 2005
It keeps the original formatting.
numero = 63604
interpreted = N
texte = I would love to see it to, as I am about to do something similar!Thanks.D.---------------------------------------------------------------David BastedoTen Plus One Communications416.603.2223x1http://www.10plus1.com -----Original Message-----From: WebDNA Talk [mailto:WebDNA-Talk@talk.smithmicro.com] On Behalf OfDan StrongSent: Tuesday, December 13, 2005 10:59 AMTo: WebDNA TalkSubject: Re: Limit picture size on uploadI've coincidentally just stayed up all night coding this very samething, and I've gotten everything to work except the 'looping through the upload however manytimes' part. I'd really love to see your code, if only to figure out what's killing mymuli-upload.-DanOn Tue, 13 Dec 2005 08:21:31 -0600 Clint Davis
wrote:> 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 forimages,> etc.) All the upload code is in an includes file, and we loop throughit> 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 sizeuploads> 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>>> >>>