Skip to the content
Documentation

Example

No ratings yet

You can use this code to show additional information of your original image in the "node/view/full" template of your image objects (where $node is your image node):

<a href={$node.data_map.image.content[original].full_path|ezroot} target="_new">Open original Image in new window
({$node.data_map.image.content[original].width}x{$node.data_map.image.content[original].height} Pixel, {$node.data_map.image.content[original].filesize|div(1024)|round} KB)
</a>

Comments (1 historical)

Written by readers of the earlier documentation sites, kept as they were.

  1. Re: Example

    Marco ·

    The code is messed up.
    I'll try again:
    <a href={$node.data_map.image.content[original].full_path|ezroot} target="_new">Open original Image in new Window
    ({$node.data_map.image.content[original].width}x{$node.data_map.image.content[original].height} Pixel, {$node.data_map.image.content[original].filesize|div(1024)|round} KB)
    </a>