where can i change the XY co-ords of the image? am guessing somewhere in this part.....
$posx = round(($offset2-$width_end)/2);
$posy = round(($height-$height_end)/2);
imagecopymerge($im,$temp, $posx, $posy, 0, 0, $width_end, $height_end, 100);
ImageRectangle($im, $posx-1, $posy-1, $posx+$width_end-1, $posy+$height_end-1, $text_color);
is it possible to have the image at a position that i can set? i can find out the exact pixel position from photoshop. also how can i reduce the size of the random image?