Image Parameter

13.03.2012 | eZ Publish

Output von {$object.data_map.image.content.imagelarge|attribute('show')}AttributeTypeValuenamestring'imagelarge'widthstring550heightstring394mime_typestring'image/png'filenamestring'Chart-42_imagelarg

Output von {$object.data_map.image.content.imagelarge|attribute('show')}

Attribute

Type

Value

name

string

'imagelarge'

width

string

550

height

string

394

mime_type

string

'image/png'

filename

string

'Chart-42_imagelarge.png'

suffix

string

'png'

dirpath

string

'var/ezwebin_site/storage/images/applications/floatation-depressants/flotation-depressants-depressants-for-bismuth/chart-42/454-1-eng-GB'

alias_key

string

816496768

timestamp

string

1331635311

is_valid

string

1

url

string

'var/ezwebin_site/storage/images/applications/floatation-depressants/flotation-depressants-depressants-for-bismuth/chart-42/454-1-eng-GB/Chart-42_imagelarge.png'

basename

string

'Chart-42'

alternative_text

string

''

text

string

''

original_filename

string

'10000201000003760000027AD0FFD7A9.png'

full_path

string

'var/ezwebin_site/storage/images/applications/floatation-depressants/flotation-depressants-depressants-for-bismuth/chart-42/454-1-eng-GB/Chart-42_imagelarge.png'

is_new

boolean

false

info

boolean

false

filesize

integer

17091

Getting original-image Path:

{$image_node.object.data_map.image.content[original].full_path|ezroot}

Im Falle eines verknüpften Bildes (Objektrelation), das als Attribut des Nodes geholt werden soll, ist folgendes nötig:

{* direkt den Bildpfad holen: *}
<img src={$node.data_map.image.content.data_map.image.content.original.full_path|ezroot} alt="{$node.name|wash()}" />
{* über die view-gui : *}
{attribute_view_gui attribute=$node.data_map.image.content.data_map.image}

anders gehts nicht.

Analyse

Entwurf

Development

Launch