viewing image object inline in the text

Author Message

Rami Grossman

Wednesday 19 May 2004 7:19:51 pm

I add and image object between the lines in a xml field. when I view the article in the site I see that between the lines there was added just link to the image object. I would like to see the image inline, just as I see it with the Online Editor.

I tried to do what is writen here -
http://ez.no/index.php/ez_publish/documentation/incoming/developing_and_improving_ezpublish/making_embedded_objects_inline_elements_instead_of_block_elements

and also wht is writen here -
http://ez.no/index.php/community/forum/setup_design/how_to_create_a_link_from_one_article_to_another_in_ez_publish_3

<b>but it doesn't help...</b>

please help

Dries Samyn

Tuesday 08 June 2004 6:56:58 am

Anybody any more ideas on this? I'm strugling with exactly the same thing.
Surely there must be an easy way to get images to show inline?

Jan Borsodi

Tuesday 08 June 2004 7:20:23 am

If this is your own design you will need to create an override for the <i>content/view/embed.tpl</i> template,
the default is just to show a link.

You will find an example of this in in the <i>admin</i> design.

If you are using eZ publish 3.4 this is standard functionality, just make sure the <i>base</i> is used on your site.

--
Amos

Documentation: http://ez.no/ez_publish/documentation
FAQ: http://ez.no/ez_publish/documentation/faq

Dries Samyn

Wednesday 09 June 2004 1:09:31 am

Thanks.
I've figured out the embed override method.
However, I am using 3.4. What is the "base"?

Cheers.

Dries.

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 06:16:49
Script start
Timing: Jan 31 2025 06:16:49
Module start 'layout'
Timing: Jan 31 2025 06:16:49
Module start 'content'
Timing: Jan 31 2025 06:16:49
Module end 'content'
Timing: Jan 31 2025 06:16:49
Script end

Main resources:

Total runtime0.0149 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.0066 588.2500151.2266
Module start 'layout' 0.00660.0026 739.476636.6797
Module start 'content' 0.00920.0042 776.156390.1563
Module end 'content' 0.01330.0015 866.312533.9922
Script end 0.0148  900.3047 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002516.7217140.0002
Check MTime0.00117.3092140.0001
Mysql Total
Database connection0.00106.974410.0010
Mysqli_queries0.002315.324930.0008
Looping result0.00000.113710.0000
Template Total0.00106.910.0010
Template load0.00085.314910.0008
Template processing0.00021.579410.0002
Override
Cache load0.00053.661810.0005
General
dbfile0.00021.643580.0000
String conversion0.00000.068940.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