use image_class to downsize an object-related image

use image_class to downsize an object-related image

Friday 09 February 2007 12:21:55 am - 2 replies

Modified on Friday 09 February 2007 12:24:04 am by Softriva .com

Author Message

Bruce Morrison

Friday 09 February 2007 1:02:06 am

Hi OOzy

Try

{$node.name}
{attribute_view_gui image_class=small attribute=$node.data_map.news_image.content.data_map.image}

Because news_image is an object relation datatype you need to passwd the image attribute of the related object to attribute_view_gui

Cheers
Bruce

My Blog: http://www.stuffandcontent.com/
Follow me on twitter: http://twitter.com/brucemorrison
Consolidated eZ Publish Feed : http://friendfeed.com/rooms/ez-publish

Softriva .com

Friday 09 February 2007 2:29:21 am

Worked perfect.

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

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.