Share » Forums » Developer » Custom Class with 10 images attributes

Custom Class with 10 images attributes

Custom Class with 10 images attributes

Friday 22 May 2009 1:08:17 pm - 1 reply

Author Message

Luis Micunco

Wednesday 05 August 2009 3:59:42 am

Try this:

<a href="{$node.data_map.image.content[original].url|ezroot('no')}"><img src={$node.data_map.image.content[medium].url|ezroot} /></a>

You can replace "medium" by any other default sizes:

AliasList[]
AliasList[]=reference
AliasList[]=small
AliasList[]=tiny
AliasList[]=medium
AliasList[]=large
AliasList[]=rss

Optionally you can create your own in "image.ini"

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu