Multiple Images

See all posts Reply

Multiple Images new!
by riscphree, 16 years, 11 months ago
What is a simple way to process an uploaded image multiple times?Reply
Re: Multiple Images new!
by colin, 16 years, 11 months ago
The example on the main page does process the same upload thrice.

Do as following:
$foo = new Upload($_FILES['form_field']); 
if ($foo->uploaded) {
  // first processing
  $foo->xxxx = 'aaa';
  $foo->Process('/home/user/files/');

  // second processing
  $foo->xxxx = 'bbb';
  $foo->Process('/home/user/files/');
}
Reply
Re: Multiple Images new!
by riscphree, 16 years, 11 months ago
Hmm, I tried something similar .. I'll report back when I've played with it more. Thanks!Reply