View Full Version : When editing ad cannot rotate photo
February 22nd, 2013, 02:54 PM
I have tried to rotate some of the members photos for them so they would not be on there side. When I try to rotate them, I get this error "Sorry, this image type () is not supported yet."
These photos are JPG. Also, after I get that error, it removes the photo for the catagory avatar and from the ad.
February 22nd, 2013, 03:38 PM
Well does this have anything to do with your secure url enabled features or permissions on your web data directory server path etc?
There is no issue rotating an image in classifieds that I am seeing
Main Index - Reeftalk Classifieds (http://www.reeftalk.com/classifieds)
You can see I turned that photo on its side to show you I rotated it
My only guess here would be maybe your using GD2 to process images. You can try Imagemagick or if using GD2 maybe place at the top of your pp-inc.php file this line under the error_reporting line. My guess here is your memory is being exhausted processing an image so it is unlinked.
If you do that and continue to have an issue you can send me server access so I can go put some debug information in the files and try and determine what your problem is.
February 22nd, 2013, 04:05 PM
I am using GD2, I had a problem getting imagemagick to work. I will add the code you gave me and let you know if it worked. Thanks
February 22nd, 2013, 04:13 PM
I tried switching from GD2 to Imagemagick and I got this error "Error creating resized original! Error code: 1" any idea what I would need to do to fix that. I had to change it back to GD2.
February 22nd, 2013, 04:19 PM
Adding the code you suggested works! I am now able to rotate the photos. Thanks!
Would it be better to try and get imagemagick to work or does it matter?
February 22nd, 2013, 04:33 PM
well your imagemagick maybe could not support rotate looks like a permissions thing.
Use GD2 if it works.
February 22nd, 2013, 04:36 PM
GD2 is working, thanks to the code you told me to use. I will continue to use GD2 then,thanks again for your help!
February 22nd, 2013, 04:43 PM
Yep all that does is give more memory to PHP.
February 23rd, 2013, 08:08 PM
What I will probally do is add a switch in the global pp-inc.php file that if users are using GD2 then add that memory increase line. Would cut down on support a little and that line will not harm anything.
vBulletin® v3.8.1, Copyright ©2000-2014, Jelsoft Enterprises Ltd.