content_image dynamic width and height

Talk about writing modules and plugins for CMS Made Simple, or about specific core functionality. This board is for PHP programmers that are contributing to CMSMS not for site developers
Post Reply
geeves
Forum Members
Forum Members
Posts: 114
Joined: Wed Dec 03, 2008 4:56 am

content_image dynamic width and height

Post 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.
Ara Garabedian
Multimedia Designer / Developer
http://ara.ifky.com.au
geeves
Forum Members
Forum Members
Posts: 114
Joined: Wed Dec 03, 2008 4:56 am

Re: content_image dynamic width and height

Post by geeves »

Hey guys.

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

TIA
Ara Garabedian
Multimedia Designer / Developer
http://ara.ifky.com.au
Post Reply

Return to “Developers Discussion”