[SOLVED] Troubles on Images

Author Message

Paolo Riva

Sunday 10 October 2010 2:25:47 pm

Hi everybody,

I'm a newbie on EZ CMS and I have to tell u that this is a great platform.

I've find a trouble over images usage. I'm actually on test over my MacBook Notebook in localhost for my site and if I have an images called from override css I've not any problem to view that on the site. But if I try to create a media/image or simply i try to paste an image on an article, image don't appear yet.

I'm actually using ImageMagik.

Anyone have just a solution about my trouble?

Tnx a lot.

Bye Paolo.

...And Now For Something Completely Different!

My WebSites:
PhotoItaly - http://www.photoitaly.net

Jérôme Vieilledent

Monday 11 October 2010 12:31:23 am

Hi Paolo and welcome to the eZ Community ! :)

Which version of ImageMagick do you use ? Did you install it with MacPorts or anything like that ?

Check the prefix of your convert binary and be sure it is the same as in your settings/override/image.ini.append.php.

which convert

This command returns me /opt/local/bin/convert (installed via MacPorts).

My settings/override/image.ini.append.php :

[ImageMagick]
IsEnabled=true
ExecutablePath=/opt/local/bin
Executable=convert

If you have any other issues, you may activate the debug output and clear all your caches (to see eventual ImageMagick errors) ;)

Paolo Riva

Wednesday 13 October 2010 12:23:15 pm

Hi Jerome.

I use ImageMagick 6.6.3.

I looked in settings/override/image.ini.append.php and all the data stored are the same that i find via terminal (path is correct).

I have this problem only on preview images in media/images and not, for example, for logo image on my home page or on background image (stored in css files).

Any other solution?

Tnx a lot.

Paolo.

...And Now For Something Completely Different!

My WebSites:
PhotoItaly - http://www.photoitaly.net

Jérôme Vieilledent

Thursday 14 October 2010 12:09:58 am

"

But if I try to create a media/image or simply i try to paste an image on an article, image don't appear yet.

"

Does this also occur in the admin interface ? If not, this could just be a policy issue (anonymous user might not have right to read content objects from the Media section).

Moreover, it is not possible to paste an image on an article. You need to use the image button in the rich text editor.

Paolo Riva

Monday 01 November 2010 3:44:43 pm

Hi Jerome.

PROBLEM SOLVED! :-)

Simply I try to re-install ImageMagick with MacPorts on my Snow Leopard and everything goes.

Tnx a lot.

Paolo

...And Now For Something Completely Different!

My WebSites:
PhotoItaly - http://www.photoitaly.net

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 18 2025 02:04:42
Script start
Timing: Jan 18 2025 02:04:42
Module start 'layout'
Timing: Jan 18 2025 02:04:42
Module start 'content'
Timing: Jan 18 2025 02:04:43
Module end 'content'
Timing: Jan 18 2025 02:04:43
Script end

Main resources:

Total runtime0.8595 sec
Peak memory usage4,096.0000 KB
Database Queries63

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0069 589.0313152.6250
Module start 'layout' 0.00690.0028 741.656339.4531
Module start 'content' 0.00970.8483 781.1094567.8672
Module end 'content' 0.85800.0014 1,348.976616.1641
Script end 0.8594  1,365.1406 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00340.3933160.0002
Check MTime0.00150.1747160.0001
Mysql Total
Database connection0.00070.087010.0007
Mysqli_queries0.791592.0889630.0126
Looping result0.00060.0738610.0000
Template Total0.824195.920.4121
Template load0.00210.242120.0010
Template processing0.822095.643620.4110
Template load and register function0.00010.015710.0001
states
state_id_array0.00070.086810.0007
state_identifier_array0.00110.126120.0005
Override
Cache load0.00180.2058450.0000
Sytem overhead
Fetch class attribute can translate value0.00050.061420.0003
Fetch class attribute name0.00120.134560.0002
XML
Image XML parsing0.00070.081620.0004
class_abstraction
Instantiating content class attribute0.00000.002270.0000
General
dbfile0.00460.5312170.0003
String conversion0.00000.001240.0000
Note: percentages do not add up to 100% because some accumulators overlap

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
5content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
11content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
3content/datatype/view/ezxmltags/emphasize.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/emphasize.tplEdit templateOverride template
2content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
2content/datatype/view/ezxmltags/strong.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/strong.tplEdit templateOverride template
1content/datatype/view/ezxmltags/quote.tpldatatype/ezxmltext/quote.tplextension/ezwebin/design/ezwebin/override/templates/datatype/ezxmltext/quote.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 28
 Number of unique templates used: 9

Time used to render debug report: 0.0001 secs