GD in Gallery
Posted: 09 March 2005 08:26 AM   [ Ignore ]  
Lab Assistant
RankRank
Total Posts:  191
Joined  05-01-2003

As stated in a previous message, when I try to upload a picture to the gallery, I get the following message:
“Your server does not support the GD function required to process this type of image.
JPG images are not supported”

So my IT person is asking me the following question:

“Can you send me a copy of the PHP script you’re attempting to implement so
I can test it against one of our PHP builds?”
Can you help?
Thanks.

Profile
 
 
Posted: 09 March 2005 11:36 AM   [ Ignore ]   [ # 1 ]  
Research Scientist
Avatar
RankRankRankRankRankRank
Total Posts:  9868
Joined  06-19-2002

That particular error can be triggered in two places; both in ‘system/core/core.image_lib.php’:

1. If the PHP function “imagecreatefromjpeg()” is not available/doesn’t exist

2. If the PHP function “imagejpeg()” is not available/doesn’t exist


That’s it.  You’re getting the error for one of those two reasons.  EE uses the standard function_exists() function to determine if they are available.

 Signature 

Chris Curtis
chriscurtis.org

Profile
 
 
   
 
 
Post Marker Legend
New Topic New posts Hot Topic Hot Topic with new posts New Poll New Poll Moved Topic Moved Topic Sticky Topic Sticky topic
Old Topic No new posts Hot Old Topic Hot Topic with no new posts Old Poll Old Poll Closed Topic Closed Topic Announcement Announcements
Theme
Change Theme
Visitor Statistics
The most visitors ever was 1149, on July 16, 2007 09:33 AM
Total Registered Members: 64978 Total Logged-in Users: 30
Total Topics: 82017 Total Anonymous Users: 16
Total Replies: 440817 Total Guests: 172
Total Posts: 522834    
Members ( View Memberlist )