rollimage( $x, $y ); } $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[roll_x] = $x; $_SESSION[roll_y] = $y; header("location:display.php"); exit; } # end roll include("top.php"); ?>
X Offset: ">
Y Offset: ">