CFIF question

On a page of the ad, I am trying to display graphics thumbnails and picture of thumb if they are offered in an article. So I need a CFIF statement similar to this: If there is one inch, show it, otherwise display chart.

Here's what I got so far:

< Len (Trim (ImageThumb)) cfif >

< div style = "float: left;" > "

< a href = "" #itemLink # ' #sTarget # class = "N #cfs # cst #" > "

< cfscript >

structure of arguments deinfe

strArgs = StructNew();

Application.DynamicTagGenerator

strArgs.sRelativePath = ImageThumb;

strArgs.sFileName = "";

strArgs.sAlternateImagePath = '#request. ImagePath#AcuCustom/#request.appTitle#/Icon/Thumbnail/ «;»

strArgs.bEnforceDesignStyle = "#CurrentEnforceImageSizeYN #";

strArgs.sWidth = "#currentThumbWidth #";

strArgs.sHeight = "#currentThumbHeight #";

strArgs.sAltText = ' #HTMLEditFormat (Title) # ";

strArgs.bGenerateTag = 1;

sImageThumb = Application.DynamicTagGenerator.GetImageTag (ntCollection = strArgs argume);

< / cfscript >

#sImageThumb #.

< /a >

< / div >

< cfelse >

<!--> container for the chart

< div id = "" chartStandardItemContainer #currentRow - 1 # "class ="chartStandardItemContainer"style =" width: 170px; "" height: 100px; margin-right: 15px; margin-bottom: 10px "" > < / div >

< table >

< / cfif >

It shows the graph for these article there, but when it comes to the thumb, it does not appear but the custom of declaration for the article below that.

Any suggestion?

Concerning

Maybe you are looking for