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.

eZ debug

Timing: Jan 31 2025 04:18:49
Script start
Timing: Jan 31 2025 04:18:49
Module start 'layout'
Timing: Jan 31 2025 04:18:49
Module start 'content'
Timing: Jan 31 2025 04:18:49
Module end 'content'
Timing: Jan 31 2025 04:18:49
Script end

Main resources:

Total runtime0.0137 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0046 588.1328151.2109
Module start 'layout' 0.00460.0021 739.343836.6641
Module start 'content' 0.00670.0055 776.007894.1406
Module end 'content' 0.01220.0014 870.148433.9922
Script end 0.0136  904.1406 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002518.3694140.0002
Check MTime0.00128.6207140.0001
Mysql Total
Database connection0.00053.888710.0005
Mysqli_queries0.002115.116430.0007
Looping result0.00000.073310.0000
Template Total0.00118.010.0011
Template load0.00096.642310.0009
Template processing0.00021.281710.0002
Override
Cache load0.00064.620310.0006
General
dbfile0.001712.780080.0002
String conversion0.00000.043740.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs