setimagebordercolor( "$polaroid_bordercolor" ); $frame->setimagebackgroundcolor( "$polaroid_bgcolor" ); $frame->polaroidImage( $draw, $polaroid_angle); } $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[polaroid_angle] = $polaroid_angle; $_SESSION[polaroid_bordercolor] = $polaroid_bordercolor; $_SESSION[polaroid_bgcolor] = $polaroid_bgcolor; header("Location: display.php"); exit; } ######### end Polaroid include("top.php"); ?>

Optional
Angle: ">
Background Color ">
Border Color ">
Discription
Simulates a Polaroid picture. The border consists of two colors, an inner color and an outer color
Angle
Rotates image
Background Color
Change the inner default border color
Border Color
Change the outer default border color