$ IMGSTREAM = '; // From database $ imagecreatefromstring ($ IMGSTREAM); ImageCopyResized ($ IM, $ IM, 0, 0, 0, 0, 50, 55, Imagex ($ I), ImageSy ($ M) ); // 50 thumbnail width, 55 high header ("content-type: image / jpeg"); Imagejpeg ($ IM, ", 0.5);
BabyStudio (Ababystudio) is viable, but puts a small picture on the original image. It should be built another IM.