image border in article

Author Message

ludo thomas

Saturday 07 January 2006 4:31:04 am

Hi all.
A stupid problem but I can't resolve it.....
I need to add a border to an article image.
I try this:

section show=$node.object.data_map.image.content}
        <div class="attribute-image">
            {attribute_view_gui alignment=left  <b>border_size=1</b> css-class=myimage image_class=articlethumbnail attribute=$node.object.data_map.image.content.data_map.image}
        </div>
    {/section}

but nothing.
In the source code I have

<img src="..." ..... style="border: 1px;"......>

but no border appear.

I tried too:

div.attribute-image a img {


        border: 3px solid #ff0000;


}

but never border........plz help!

Per-Espen Kindblad

Saturday 07 January 2006 5:11:23 am

Have you cleared the cache?

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 19:36:42
Script start
Timing: Jan 18 2025 19:36:42
Module start 'layout'
Timing: Jan 18 2025 19:36:42
Module start 'content'
Timing: Jan 18 2025 19:36:43
Module end 'content'
Timing: Jan 18 2025 19:36:43
Script end

Main resources:

Total runtime1.3593 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.0043 590.2109152.6250
Module start 'layout' 0.00430.0022 742.835939.4453
Module start 'content' 0.00651.3510 782.2813500.4219
Module end 'content' 1.35760.0017 1,282.70318.1719
Script end 1.3592  1,290.8750 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00300.2234160.0002
Check MTime0.00130.0991160.0001
Mysql Total
Database connection0.00070.048110.0007
Mysqli_queries1.315896.8005540.0244
Looping result0.00050.0390520.0000
Template Total1.332598.020.6663
Template load0.00190.142020.0010
Template processing1.330697.886420.6653
Template load and register function0.00010.009110.0001
states
state_id_array0.00080.055210.0008
state_identifier_array0.00140.100320.0007
Override
Cache load0.00150.1089190.0001
Sytem overhead
Fetch class attribute can translate value0.00060.041720.0003
Fetch class attribute name0.00120.091540.0003
XML
Image XML parsing0.00090.066020.0004
class_abstraction
Instantiating content class attribute0.00000.000640.0000
General
dbfile0.00120.0906190.0001
String conversion0.00000.000440.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/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
2content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
2content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
5content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
3content/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: 16
 Number of unique templates used: 7

Time used to render debug report: 0.0002 secs