All pastes #384973 Raw Edit

Someone

public php v1 · immutable
·published 2007-03-07 14:31 UTC
rendered paste body
<?phpinclude_once('thumb/thumbnail.inc.php');$thumb = new Thumbnail('galeri/1.png');//resize image to no wider than 250 pixels wide and 250 pixels high$thumb->resize(250,250);//reduce the image by 50%$thumb->resizePercent(50);//create a 100x100 pixel crop from the center of an image$thumb->cropFromCenter(100);//$thumb->createReflection(40,40,80,true,'#a4a4a4');$thumb->show();?>