I'm just hoping someone can help me with a few code lines here. Will not pay but you can get a 10 in rating for helping me out. I want to create a new image from an already uploaded one. The original image is 396*306pixels and the new one I want to create is 186*306. The new image should start 210 pixels from the left border of the original image (the new image is only a part of the original image).
This should be possible to do in just 3 or 4 lines of codes right?
Something like this (but this is not working):
$im = imagecreatefromjpeg("../object_images/".$myUploadobj->file_name);
//The new image
$im3 = imagejpeg($im2,"../object_images/thumbs/".$myUploadobj->file_name);