Forums / Install & configuration / 3.2 final no image shown

3.2 final no image shown

Author Message

Mike Salazar

Thursday 18 September 2003 11:16:45 am

Hi. I wonder why theres no images shown on the demo sites.
Is this a bug? I have imagemagick and gd installed and identified.

Marco Zinn

Saturday 20 September 2003 12:58:32 pm

I installed 3.2 with the "news" design.
In 3.1, this design HAD images, but now, in 3.2, there are no images.
This is not a bug. Just edit the articles from the demo and insert an image as a article thumbnail (or insert an "image" object).
Try this.

Marco
http://www.hyperroad-design.com

Mike Salazar

Sunday 21 September 2003 9:23:04 am

Hi, Marco. I tried your advice but to no avail.
Heres my image.ini

[ConverterSettings]
UseConvert=true
UseGD=true
[ShellSettings]
ConvertPath=c:\program files\imagemagick
ConvertExecutable=convert.exe

I wonder what's wrong. Before i just re-install imagemagick and ezpublish and everything will be fine. Any help around :)

Graham Tillotson

Sunday 21 September 2003 9:22:25 pm

I'm having this same problem. I installed 3.2 final on Windows and upgraded a 3.1 site, and the images show for **existing** content. When I create a new article, info_page, or anything with an image, the image does not show up. Also, if I update an existing (3.1) object, the image is lost.

This poses SERIOUS problems for me, and I need a fix quickly. I'm scheduled to roll out a new version of ezPublish in two weeks.

DUO : CONSULTING
Web content management experts
www.duoconsulting.com

Tom Couwberghs

Sunday 21 September 2003 11:30:19 pm

I'm having the same problem too. I thought it was just me, but apparantly we're all in this together. Strange ...

These are the errors that ezp generates:

Undefined variable: to_file in c:\wwwsrv\ezp32\lib\ezimage\classes\ezimagemanager.php on line 410

getimagesize(var/corporate/storage/variations/image/p/h/p/): failed to open stream: Permission denied in c:\wwwsrv\ezp32\kernel\classes\datatypes\ezimage\ezimagevariation.php on line 252

Any ideas anyone

Kåre Køhler Høvik

Sunday 21 September 2003 11:40:23 pm

We have some problems executing Image Magick when it is installed in a directory with spaces. Normally using "<path with space and executalble>" works, but Image Magick also use a parameter which require " " around it (for scaling). This confuses php, and and it won't execute correctly.

The easiest way to fix this is to add the Image Magick directory to path, and remove ConvertPath settings from image.ini.

Kåre Høvik

Tom Couwberghs

Monday 22 September 2003 12:08:17 am

Thanks eZ crew for the quick response. Setting the IM-path in Windows didn't help for me. Ezp started complaining about the convertpath not being set.

The problem was indeed the path with spaces, so i reinstalled IM to a directory without spaces and instantly the thing runned like a charm.

Big thanks!

Graham Tillotson

Monday 22 September 2003 6:07:47 am

Sorry for being so confused, but I still can't get this to work. I've installed ImageMagick into its own directory (c:\ImageMagick) and added it to the PATH. Here are the lines from image.ini:

[ShellSettings]
ConvertPath=c:\imagemagick
ConvertExecutable=convert.exe

I've also got convertim.exe in c:\winnt\system32. I'm not sure what to change to get this going. I've updated the image.ini file, cleared the cache(s) completely, and still nothing works.

DUO : CONSULTING
Web content management experts
www.duoconsulting.com

Graham Tillotson

Monday 22 September 2003 6:21:05 am

Duh -- I figured it out. I didn't think to check for an override, but then I saw image.ini.append.php was firing and so I updated the appropriate lines:

[ShellSettings]
#ConvertPath=C:\WINDOWS\system32
#ConvertExecutable=convertim.exe
ConvertPath=C:\ImageMagick
ConvertExecutable=convert.exe

Cleared the cache, reloaded, and everything works now. Thanks much, ez crew.

DUO : CONSULTING
Web content management experts
www.duoconsulting.com

Mike Salazar

Monday 22 September 2003 9:32:21 am

Thanks EzCrew :) You just made my day!

eZ debug

Timing: Jan 18 2025 11:35:55
Script start
Timing: Jan 18 2025 11:35:55
Module start 'content'
Timing: Jan 18 2025 11:35:56
Module end 'content'
Timing: Jan 18 2025 11:35:56
Script end

Main resources:

Total runtime1.3532 sec
Peak memory usage4,096.0000 KB
Database Queries221

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0087 589.6328180.8281
Module start 'content' 0.00871.1755 770.4609744.7578
Module end 'content' 1.18420.1689 1,515.2188344.4609
Script end 1.3531  1,859.6797 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00440.3275210.0002
Check MTime0.00160.1208210.0001
Mysql Total
Database connection0.00070.055010.0007
Mysqli_queries1.246092.07942210.0056
Looping result0.00250.18232190.0000
Template Total1.315797.220.6579
Template load0.00200.147920.0010
Template processing1.313797.084520.6569
Template load and register function0.00050.035310.0005
states
state_id_array0.00120.090810.0012
state_identifier_array0.00280.205320.0014
Override
Cache load0.00180.1354590.0000
Sytem overhead
Fetch class attribute can translate value0.00180.130460.0003
Fetch class attribute name0.00150.1119140.0001
XML
Image XML parsing0.00490.365560.0008
class_abstraction
Instantiating content class attribute0.00000.0031170.0000
General
dbfile0.00700.5183440.0002
String conversion0.00000.000530.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
10content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
6content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
13content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
7content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 38
 Number of unique templates used: 6

Time used to render debug report: 0.0002 secs