<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,^_^