Image manipulation not working
When I try to flip a image 90, 180, 270, degrees I just get a blank white page.
Your settings for the server are correct in the gallery ?
- GD2 /1
My settings in the gallery are GD2 but in the vB options it set to GD. Does that matter? I tried to set the Gallery option to GD1 and it didn't help.
- Down about 1/2 way
- If you do not find GD look for Imagemagick and it's path.
Thanks for the reply. I looked at the PHP info and here are the settings:
GD Support: Enabled
GD Version: 2.0 or higher
My settings in Image Options is:
Image Verification Library: GD
GD Version: GD 2+
My Image resize option in the Gallery is set to GD2
All seems to look fine:confused:
Same for me. I've the same php settings of Exacto.
When I try to rotate or make any other manipulation, I get a blank screen.
Yes the manipulation does not always work
Make sure you are rotating a *.jpg image.. otherwise you might be getting an error that will be (hopefully) fixed in 2.4 ( http://www.photopost.com/forum/showt...14#post1209314 )
depending on the size of your original image, the intermediate and the php.ini memory setting.. it can give errors
ALSO imagerotate function only exists in php > 4.30 (so it wont work with php 4.29)
it will only work with jpgs.. (there should be an error message but there isnt)
rotateimage function is very memory intense in php..
what happens.. and in vbgallery it is a loop rotating 3 images.. thumbnail, intermediate AND original..
Mine works fine.. i set the memory to 32 MB but if the original is over 1024 pixels wide.. it hangs on the the original, thus rotating only thumbnail and intermediate.. giving me a blank page..
So i disabled the image tools.. because it also meens a loss in imagequality (if it works)
But of course it could be also something else..
to test if it is one of the above
open the file : forums/includes/function_imageedit.php
This will give you "readable errors" (undo the changes after testing)
it checks if you have correct php version..
AND by removing the @ in front of the imagejpeg and other function.. the php errors are not suppressed.. so you will see warnings etc... also memory problems..
THIS does NOT repair the problem but helps tracking it down!!!
If you still get a blank page after testing.. also undo the changes..
Its none of the errors above..
hope that helps
PS: @zach.. this has nothing todo with THIS error.. but just seen the imagerotate will only work with jpgs.. --> posting bugreport
Thank you Luciano.
I'm running vbGallery and not photopost.
I've a function_gallery_imageedit.php file with this code:
search for: imagerotate($tempimage OR imagerotate( $tempimage and you should find the codeblock i meant..
the function is called: function rotate_image($imageinfo, $angle)
and can be found in functions_gallery_imageedit.php starting around line 636
(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( becomes imagerotate( 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
|All times are GMT -5. The time now is 06:50 AM.|
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0