I need some help with thumbnail images displayed under an article...

Author Message

StoneFly Techonology

Wednesday 14 May 2003 7:50:48 pm

When you add an image to an article directly under the article, not as a related object, (an inline image), how can you change it's display options?
WHen you add an image as a related object you are able to use this tag:

<object id="id" align="left|right|center" size="small|medium|large" view="embed|text_linked"/>

I want to be able to have those same options with an inline image, the image that is added directly below the body section of an article when you are editing an article and shows up under the Thumbnail heading when the article is viewed. In other words, how do I change the size, alignment, etc.. of a thumbnail image?

Is this possible? It was in ez Publish 2.

Please Help!!

Jo Henrik Endrerud

Saturday 17 May 2003 8:04:05 am

The images uploaded like this are not possible to manipulate from an XML Text Field. This images are separate attributes not connected to XML Text Fields in any way. You have to edit the templates to change how these images are displayed

Jo Henrik Endrerud | System Developer @ Seeds Consulting | http://www.seeds.no

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 10:59:19
Script start
Timing: Jan 18 2025 10:59:19
Module start 'layout'
Timing: Jan 18 2025 10:59:19
Module start 'content'
Timing: Jan 18 2025 10:59:20
Module end 'content'
Timing: Jan 18 2025 10:59:20
Script end

Main resources:

Total runtime1.2395 sec
Peak memory usage4,096.0000 KB
Database Queries54

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0049 588.2031152.6563
Module start 'layout' 0.00490.0024 740.859439.4922
Module start 'content' 0.00731.2305 780.3516485.9219
Module end 'content' 1.23780.0016 1,266.27348.0938
Script end 1.2394  1,274.3672 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00340.2741160.0002
Check MTime0.00130.1081160.0001
Mysql Total
Database connection0.00100.081310.0010
Mysqli_queries1.195996.4862540.0221
Looping result0.00060.0476520.0000
Template Total1.198596.720.5992
Template load0.00240.195320.0012
Template processing1.196096.495720.5980
Template load and register function0.00020.019810.0002
states
state_id_array0.00110.091310.0011
state_identifier_array0.01090.875420.0054
Override
Cache load0.00190.1545110.0002
Sytem overhead
Fetch class attribute can translate value0.00090.070020.0004
Fetch class attribute name0.00130.107020.0007
XML
Image XML parsing0.00020.019420.0001
class_abstraction
Instantiating content class attribute0.00000.000620.0000
General
dbfile0.00070.0570100.0001
String conversion0.00000.000640.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
2content/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
2content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 7
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs