Hi dave, thanks for your help but i guess it wasnt my problem.
I mean my problem is not showing the image, it is when i try to create the a thumbnail from the original uploaded img.
The function imagecreatefromjpeg() is giving the error "is no a valid jpeg image"
Im using high resolution images. is there a problem with big image sizes? 1 mb+
here is a portion of my code
$imagefile=(PATH_TMP . "/".$customer_id ."/" .$image_name);
$src_img = imagecreatefromjpeg($imagefile);
$iWidth = imagesx($src_img);
$iHeight = imagesy($src_img);
$new_w = imagesx($src_img)/4;
$new_h = imagesy($src_img)/4;
$dst_img = imagecreate($new_w,$new_h);
imagecopyresized($dst_img,$src_img,0,0,0,0,$new_w,$new_h,imagesx($src_img),imagesy($src_img));
imagejpeg($dst_img, PATH_TMP . "/". $customer_id ."/" ."t".$image_name);
thanks in advance
zorro