EZimage problem in a XML Block

Author Message

Sébastien Nouvian

Wednesday 20 April 2011 1:53:06 am

Hello everyone!
I have a problem on a WebSite.
All images added to an XML Block appear as a link in public siteaccess (templateezxmltags / embed.tpl).

They appear correctly in the admin.

Thank you in advance for your answers !

Marko Žmak

Wednesday 20 April 2011 2:23:16 am

Some things to check:

  • is the image inserted as embed or embed-inline?
  • in the debug info what's the path to the template that's used for displaying the embeded image?

--
Nothing is impossible. Not if you can imagine it!

Hubert Farnsworth

Sébastien Nouvian

Wednesday 20 April 2011 4:18:13 am

The image inserted as embed.
The problem is the same with embed-inline.

The path is : design/standard/templates/content/view/embed.tpl

Marko Žmak

Wednesday 20 April 2011 5:19:49 am

Try adding the "base" design to your AdditionalSiteDesignList, like this:

[DesignSettings]
AdditionalSiteDesignList=base

And clear the cache after that.

--
Nothing is impossible. Not if you can imagine it!

Hubert Farnsworth

Sébastien Nouvian

Wednesday 20 April 2011 5:52:15 am

I added AdditionalSiteDesignList[]=base and clear the cache, it still does not work :-(

Sébastien Nouvian

Thursday 21 April 2011 7:02:58 am

I found the solution :-D ! , I added to my override.ini

[embed_image]
Source=content/view/embed.tpl
MatchFile=embed/image.tpl
Subdir=templates
Match[class_identifier]=image

And it works, I also saw that lacked "embed" in the override, I do not know why?!
Thank you !

Nicolas Pastorino

Thursday 21 April 2011 10:13:53 am

"

I found the solution :-D !

"

Good news !

--
Nicolas Pastorino
Director Community - eZ
Member of the Community Project Board

eZ Publish Community on twitter: http://twitter.com/ezcommunity

t : http://twitter.com/jeanvoye
G+ : http://plus.tl/jeanvoye

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 30 2025 21:10:16
Script start
Timing: Jan 30 2025 21:10:16
Module start 'layout'
Timing: Jan 30 2025 21:10:16
Module start 'content'
Timing: Jan 30 2025 21:10:16
Module end 'content'
Timing: Jan 30 2025 21:10:16
Script end

Main resources:

Total runtime0.0371 sec
Peak memory usage4,096.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0057 588.1328151.2109
Module start 'layout' 0.00570.0039 739.3438220.6953
Module start 'content' 0.00960.0257 960.03911,002.6328
Module end 'content' 0.03530.0018 1,962.671937.9766
Script end 0.0371  2,000.6484 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00267.0221140.0002
Check MTime0.00112.8288140.0001
Mysql Total
Database connection0.00071.898010.0007
Mysqli_queries0.00267.018330.0009
Looping result0.00000.032710.0000
Template Total0.00113.110.0011
Template load0.00092.477010.0009
Template processing0.00020.603410.0002
Override
Cache load0.00051.461610.0005
General
dbfile0.008623.201380.0011
String conversion0.00000.021240.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