Online editor problem with images

Author Message

Marko Žmak

Wednesday 20 October 2004 8:28:04 am

I've installed recently and it has some problems with displaying images.

In the admin interface, when editing the XML field, the image is displayed correctly with the text wrapped around it. But on the user site the image is displayed in a separated line with text under it.

Can anyone help?

P.S. I use this code to display the xml field:

{attribute_view_gui attribute=$article_node.object.data_map.body}

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

Hubert Farnsworth

Marko Žmak

Wednesday 20 October 2004 8:31:12 am

I Also noticed that the XML field is displayed correctly when viewing the article from in the admin interface. The difference between the admin and user site i that in the admin site an addtional div tag is used around the image:

<div class="imageleft"><img src="/var/me/storage/images-versioned/2367/1-eng-GB/test_ikona1_medium.gif" alt="" />

Why does that work only in the admin interface and how can I fix it?

Please help.

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

Hubert Farnsworth

Marko Žmak

Thursday 21 October 2004 8:19:07 am

Can anyone help me with this one? Please.

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

Hubert Farnsworth

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 01:30:46
Script start
Timing: Jan 31 2025 01:30:46
Module start 'layout'
Timing: Jan 31 2025 01:30:46
Module start 'content'
Timing: Jan 31 2025 01:30:47
Module end 'content'
Timing: Jan 31 2025 01:30:47
Script end

Main resources:

Total runtime0.7578 sec
Peak memory usage8,192.0000 KB
Database Queries55

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0050 588.2344151.2109
Module start 'layout' 0.00500.0046 739.4453220.6875
Module start 'content' 0.00960.7475 960.13284,410.6953
Module end 'content' 0.75710.0007 5,370.828111.8438
Script end 0.7578  5,382.6719 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00350.4655160.0002
Check MTime0.00130.1697160.0001
Mysql Total
Database connection0.00070.095110.0007
Mysqli_queries0.665687.8305550.0121
Looping result0.00060.0831530.0000
Template Total0.706593.220.3533
Template load0.00200.257720.0010
Template processing0.704692.967920.3523
Template load and register function0.00130.176210.0013
states
state_id_array0.00090.123310.0009
state_identifier_array0.00100.129720.0005
Override
Cache load0.00160.2169180.0001
Sytem overhead
Fetch class attribute can translate value0.00180.242910.0018
Fetch class attribute name0.00260.346140.0007
XML
Image XML parsing0.00080.106710.0008
class_abstraction
Instantiating content class attribute0.00000.002860.0000
General
dbfile0.00150.1920180.0001
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
3content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
3content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
4content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 14
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs