object tag "view" attribute disappears

Author Message

Chris Winchester

Monday 19 May 2003 8:41:12 am

I'm trying to get an image to display embedded within an article. I've created an image object, but each time I include the tag:
<object id="21" align="left" size="medium" view="embed"/>
within the text of my article the "view" attribute is stripped out and the object displays as a link rather than embedding my image.

Does anyone have similar problems, or know what's going on here? Perhaps I'm missing something. Help please!

Bruce Morrison

Monday 19 May 2003 3:17:05 pm

See http://ez.no/developer/ez_publish_3/forum/setup_design/displaying_a_related_object_from_an_xmlfield

My Blog: http://www.stuffandcontent.com/
Follow me on twitter: http://twitter.com/brucemorrison
Consolidated eZ Publish Feed : http://friendfeed.com/rooms/ez-publish

Chris Winchester

Tuesday 20 May 2003 4:18:00 am

Thanks Bruce - I had missed that article when trawling the forum earlier. I had disabled all the default templates in an attempt to only install the bare minimum. Looks like the "embed" template was pretty essential!

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

Main resources:

Total runtime1.0651 sec
Peak memory usage8,192.0000 KB
Database Queries57

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0058 588.2578151.2266
Module start 'layout' 0.00580.0038 739.4844220.7188
Module start 'content' 0.00951.0546 960.20314,435.7813
Module end 'content' 1.06410.0010 5,395.98447.8281
Script end 1.0651  5,403.8125 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00340.3147160.0002
Check MTime0.00120.1108160.0001
Mysql Total
Database connection0.00120.113910.0012
Mysqli_queries0.984292.4053570.0173
Looping result0.00040.0411550.0000
Template Total1.016695.420.5083
Template load0.00200.186320.0010
Template processing1.014695.252320.5073
Template load and register function0.00140.132610.0014
states
state_id_array0.00110.104810.0011
state_identifier_array0.00140.129620.0007
Override
Cache load0.00150.1362120.0001
Sytem overhead
Fetch class attribute can translate value0.00190.176020.0009
Fetch class attribute name0.00210.194640.0005
XML
Image XML parsing0.00310.293920.0016
class_abstraction
Instantiating content class attribute0.00000.001540.0000
General
dbfile0.00320.3030160.0002
String conversion0.00000.000740.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/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
1content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
3content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 10
 Number of unique templates used: 6

Time used to render debug report: 0.0003 secs