How to determine image_class in PHP?

Author Message

Alex Jones

Monday 18 August 2003 9:08:43 am

How can I capture the contents of the image_class from a template and use it on the back-end? Specifically I have the following line in a template:

{attribute_view_gui attribute=$content_version.data_map.image_1 image_class=medium}

I want to get the value of image_class and use it in ezimagegd.php but am not sure how to determine whether it is a medium, large etc.

Help is greatly appreciated!

Alex

Alex
[ bald_technologist on the IRC channel (irc.freenode.net): #eZpublish ]

<i>When in doubt, clear the cache.</i>

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