Hi guys,

I have 2 properties in my custom type adverts.cfc:

<cfproperty ftSeq="10" ftFieldset="Advertisement" ftLabel="Place"
name="place" type="string" default="" ftType="list"
ftList="home-page-right:Home Page Ad (National Promotional
Activity),department-page-right:Department Page Ad">
        <cfproperty ftSeq="11" ftFieldset="Advertisement" ftLabel="Image"
name="image" type="string" ftType="image" default=""
ftDestination="/images/advertisements" ftHint="<br />*Use image with below
dimensions otherwise it might stretch when display.<br /><br />Home Page
Ad: 286px x 209px<br />Department Page Ad: 242px x 200px">

Now I need to add:

ftImageHeight  and ftImageWidth so I can resize the ad images from their
source images. What I would like to achieve is, depending on the value of
the 'Place' property (can either be home page ad or department page ad), to
set the ftImageHeight and ftImageWidth accordingly.

How can I do that?

Any help or pointing to a direction would be appreciated.

Cheers,

-- 
Best regards,

Xiaofeng,^_^

-- 
You received this message cos you are subscribed to "farcry-dev" Google group.
To post, email: [email protected]
To unsubscribe, email: [email protected]
For more options: http://groups.google.com/group/farcry-dev
--------------------------------
Follow us on Twitter: http://twitter.com/farcry

Reply via email to