Re: Still no solution...can anyone help?

From: Date: Wed, 19 Sep 2001 18:07:55 +0000
Subject: Re: Still no solution...can anyone help?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-67884@lists.php.net to get a copy of this message
Oh, I'm sorry, I thought you were having users choose from already uploaded files, not uploading their own. To answer this question, you can either a. code the image resizing script, creating the thumbnail dynamically and leaving one field to users, to upload the large image. or b. change your if() statement to something like this if (($userfile_th) && ($userfile_full) && ($userfile_th || $userfile_full != "none")) { well, not sure about the exact syntax, but logically you want it to say if(full exists and thumb exists and if either one does not equal "none") try it. a. > > How would this solve the problem I'm having,though? Wouldn't the user > *still* have to upload a thumbnail and a full size image? > > > mto > > -- > > Michael O'Neal > Web Producer/ Autocrosser > ST 28 '89 Civic Si > --------------------- > M A N G O > B O U L D E R > --------------------- > http://www.thinkmango.com > e- mike@thinkmango.com > p- 303.442.1821 > f- 303.938.8507 > >

« previous php.general (#67884) next »