(Joomla) “Undefined variable: gd_support” in Simple Image Gallery? Try this.

October 17th, 2008 · 8 Comments

Email This Post Email This Post

Joomla is a powerful Content Management System (CMS) written in PHP. I just installed Joomla 1.5.6. If you are trying to install the famous Joomla plugin called “Simple Image Gallery” and receive the following message when viewing your gallery:

Notice: Undefined variable: gd_support in /…/…/plugins/content/jwsig.php on line 83

Solution:

At line 75 of jwsig.php just change the

if(function_exists("gd_info")) {

to

if(!function_exists("gd_info")) {

Reference

Related posts:

  1. (Joomla) “Undefined variable at line 157″ on Simple Image Rotator
  2. Search feature available in gallery
  3. More stylish and user friendly image viewer


Tags: Site Development

8 responses so far ↓

  • 1 Jessica // Oct 17, 2008 at 5:55 pm

    Hi Waco,

    I am a fan of Joomla too. I am thinking of using it again! :=)

  • 2 Waco // Oct 17, 2008 at 9:02 pm

    Hi Jessica,

    Yeah. Initially I am using Joomla as well. That time it is still 1.5 beta. After that I read some good review on WordPress so I switched to it. Recently doing part time on another project and start using back Joomla. It is good as it supports more features other than blogging.

  • 3 Jessica // Oct 19, 2008 at 12:39 am

    Hi Waco,

    Yeah, I prefer WordPress for blogging and Joomla for a normal website. Afterall, Joomla is a CMS (Content Management System).

    What Joomla project are you working on at the moment? Can share? :=)

  • 4 Waco // Oct 24, 2008 at 7:51 am

    Hi Jessica,

    This is the project I am doing on:

    http://www.penangmarina.com

    It is a postgraduate course project to provide better online marketing compared to current website:

    http://www.tgctmarina.com.my

    It is a public marina in Penang. Came out the Joomla website in rush and had presented it this Wed so most probably it will be abandoned…. hahaha…

  • 5 tpohlsch // Nov 21, 2008 at 7:31 pm

    Or you could just change line 83 from

    > if(count($gd_support)) {

    to

    > if(count($gdsupport)) {

    since the underscore is obviously a typo on the author’s part. ;)

    Happy Joom!ing!

  • 6 Robert Brady // Dec 30, 2008 at 5:57 am

    That was the fix for my local machine. Running IIS 5.1 with PHP installed. Thanks!

  • 7 XIX // Apr 1, 2009 at 3:09 am

    Thanks for the advice, worked great for me!

  • 8 wan123 // Sep 24, 2009 at 4:04 pm

    BRAVO!!!

Leave a Comment

CommentLuv badge

© 2006–2010 Now Eating — Sitemap

Switch to our mobile site