Solution for the ones with thumbnail problem in Autogallery

e107 CMS » Forums » e107 Code » Plugin / Code Developer Discussion << Previous thread | Next thread >>
John-Arild
Feb 10 2011, 12:29PM
  • e107 Translation Team
Registered Member #31415
Joined: Oct 14 2006, 07:42AM
Location: Guadalajara, Mexico
Posts: 103
Hello folks! I have now found a solution to the frustrating thumb nail problem! via One.Com's customer support:

They say this error occurs beuause there has been a change in the way they refer to the jpg support in PHP 5.3, and this can be resolved manually by changing the following lines in the gdim_class.pho in the Autogallery plugin:

/E107_plugins/autogallery/gdim_class.php Line 465 must be changed from:

$JPGSupport = $GDInfo['JPG Support'];

to:
$JPGSupport = $GDInfo['JPEG Support'];


In my case it worked, and I now have thumbnails again without the Resize Error: (gd_open) Image type '2' not supported.

Pass it on to as many forums as possible, because this has really been a pain in the neck for me!
[ Edited Feb 11 2011, 07:10AM ]
Go to top
fecnnews
Feb 10 2011, 02:19PM
Registered Member #49298
Joined: Jan 16 2009, 10:41AM
Location: Florida
Posts: 203
HMMm that is very interesting John. I put off the php upgrade on my servers JUST because of this single thing...
Go to top
steved
Feb 10 2011, 11:57PM
  • e107 Main site administrator
  • e107 Core developer
Registered Member #16181
Joined: Mar 28 2005, 01:18PM
Posts: 8979
John-Arild wrote ...

They say this error occurs beuayse E107 changed the way they refer to the jpg support in PHP 5.3

E107 didn't change anything!

Possibly a change in PHP itself, or GD2, so could affect other applications using this method of accessing images.
Go to top
glogin
Apr 08 2011, 03:50AM
Registered Member #20491
Joined: Aug 28 2005, 11:44PM
Posts: 45
Many thanks!
Go to top
swearm
Feb 18 2012, 12:41AM
Registered Member #30603
Joined: Sep 16 2006, 12:20PM
Posts: 14
Great!
This solved it all! Thanks!
Go to top
 

Jump:     Back to top

Syndicate this thread: rss 0.92 Syndicate this thread: rss 2.0 Syndicate this thread: RDF
Powered by e107 Forum System