negateimage( FALSE, $channel ); } $format = strtolower( $image->getimageformat() ); $path = "temp/$ID.$_SESSION[views].$format"; $frames = $image->getNumberImages(); if ( $frames > 1) { $image->writeImages("$path", TRUE); } else { $image->writeImage("$path"); } # save settings $_SESSION[path] = $path; $_SESSION[channel] = "$_GET[channel]"; header("location:display.php"); exit; } ######### end Negate include("top.php"); ?>