Can attribute_view_gui output be controlled?

Can attribute_view_gui output be controlled?

Thursday 12 February 2004 6:46:38 pm - 1 reply

Author Message

Paul Forsyth

Friday 13 February 2004 12:30:19 am

IIRC, I believe you can pass in values of your own, but the template must be able to respond to the size.

For example:

{attribute_view_gui attribute=$node.object.data_map.image height=225 width=300}

then you should override the image template with your own that does something like this:

<img src="/ezpublish/var/corporate/storage/images-versioned/586/1-eng-GB/a_diagram1_large.png" width={$width} height={$height} border="0" alt="A Diagram" title="A Diagram" />

Paul

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.