Quote:
Originally Posted by tintin74 Thank you Luciano.
I'm running vbGallery and not photopost. |
we are both talking about vbgallery.. Quote:
Originally Posted by tintin74 I've a function_gallery_imageedit.php file with this code:
..............
Could you suggest me how to modified this code please?
Thank you |
That code is just to resize the thumbnails.. the code i meant above is in the
SAME file but at anoter place in the file.. ...(the file is very big)
search for:
imagerotate($tempimage OR
imagerotate( $tempimage and you should find the codeblock i meant..
in
functions_gallery_imageedit.php
the function is called: function rotate_image($imageinfo, $angle)
and can be found in functions_gallery_imageedit.php starting around line 636
Code:
Content visible to verified customers only.
you MUST apply the stuff above.. because otherwise no one knows what is causing your problem..
(allthough i think it comes from a lack of memory on your server.. for to big images.. or your PHP not supporting an imagetype)
BUT it depends on YOUR server configuration for apache AND php.. (php.ini)
If you want to play around.. remove IN THAT FUNCTION ONLY all the
@ before the commands..
getimagesize,
imagecreatefromjpeg,
imagerotate,
imagejpeg and
imagedestroy .. so
@imagerotate($tempimage becomes
imagerotate($tempimage without the @ and so on..
Then Rotate a jpg image.. and paste the error you get here.. (you are bound to get an error..IF not.. i'll explain you how to debug further.. but I think you should get an error message..
hope that helps
Luc