Page 1 of 1

content_image dynamic width and height

Posted: Tue Jan 06, 2009 12:13 am
by geeves
Hi guys.

I'm trying to dynamically assign an image width and height for a content_image block.

Code: Select all

{content_image block='image1' dir='images/test' name='' alt=$content_obj->mName width='' height=''}
I have managed to get the alt tag to update dynamically, however, not sure how to set width and height dynamically.

Any help would be greatly appreciated.

TIA.

Re: content_image dynamic width and height

Posted: Tue Feb 03, 2009 5:14 am
by geeves
Hey guys.

I'm still having problems with this. Can anyone PLEASE help?

TIA