Page 1 of 1

PHP GD

Posted: Wed Jul 28, 2010 8:38 am
by cardgunner
I'm a newbie with little experience. I have access to our website server and am trying to get the qdig image gallery program to work. The qdig program uses Image Magick or GD to create converted images. These converted images are used in the image gallery when the user clicks on additional images, from the website, they see the gallery of images.

The qdig program is not creating these converted images.

How can I tell if I have the GD library for the qdig program to use?

Here is an exert from the index.php for qdig:
Qdig is an easy-to-use script that dynamically creates an image
| gallery or set of galleries from image files stored on a web server's
| filesystem. Qdig supports subdirectory navigation for organized
| presentation of any size image collection. Qdig also supports image
| captions, and can generate thumbnail images and smaller resampled
| versions of large images such as digital camera photos. Qdig is
| simple to install, just drop it in a directory with images and/or
| subdirectories that contain images. Converting (resampling) images
| requires either Image Magick or PHP's GD extensions and some quick-
| and-simple additional setup. There are dozens of configurable options
| for customizing your galleries. The script runs stand-alone, or a
| gallery may be included within another page. Enjoy!

Re: PHP GD

Posted: Thu Jul 29, 2010 2:57 pm
by greyhoundcode
As always, there are many ways to skin a cat.

Code: Select all

<?php

// Specifically want to know if GD is available?
if (in_array('gd', get_loaded_extensions()))
        echo "GD library available";
else
        echo "GD library is unavailable";


// But for a comprehensive look at your PHP setup...
phpinfo();

?>