Minimum required version of GD

Author Message

Mark Overduin

Friday 21 November 2003 6:12:58 am

As this topic title says: What is the minimum required version of GD to use all of ezPublish's GD features?

Right now, I'm having some minor problems when using GD images. I'm using GD 1.6.2. I can't really upgrade, it's not my server ezPublish is running on.

I want to know if these problems (no thumbnails are created and displayed) are solved if a new GD version is installed (GD 2 for example).

I've build a work-around for it now, but it's not really satisfying solution, so this is the reason I'm asking.

Thanks-a-lot!

Mark Overduin

Monday 24 November 2003 2:32:27 am

Anyone?

Mark Overduin

Friday 28 November 2003 6:08:23 am

Anyone?

Hans Melis

Friday 28 November 2003 6:58:56 am

I've encountered the no-thumbnail problem as well, but only with 3.3 Beta 1. And that was with GD2 installed.

I think it has to do with the new image system, but I'm still investigating it.

What's your workaround? Maybe that can give a clue where to look for the real problem.

--
Hans

Hans
http://blog.hansmelis.be

Mark Overduin

Friday 28 November 2003 7:31:35 am

I added some lines in 'eztemplateautoload.php' (take a look at http://ez.no/developer/ez_publish_3/documentation/customization/tips_tricks/including_php_files_in_templates to get an idea of what it's like).

Anyways, in the file 'marksPHPfunctions.php' is a function that resizes an image to a thumbnail.
At the time I did not have much time, so the function just changes the 'width' and 'height' attributes of the <img> tag (the function returns '<img src=dsfs width=xx height=xx>'. The proportions are saved, the image is just shown smaller, but the real size is actually the same.

If I want to, I can create a real thumbnail, but as I said, at the time I didn't really have much time... Maybe some day :).

-- Mark

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.