Hi.I need to show the images wich are in folder images &
display "No Image" for those we have not the image in the folder.
I wrote this code:
<cfset PhotoLocation =
"e:\www\NeedBattery\images\manufacturer\<cfoutput>#getBrands.cat_level2_image#</cfoutput>">
<cfif not FileExists(PhotoLocation)>
<cfoutput>no image</cfoutput>
<cfelse>
<a><img
src="#imagePath#images/manufacturer/#getBrands.cat_level2_image#"
width="60" height="40" /></a>
</cfif>
but the result is incorrect & typed "NO Image" for all
the images.
would u plz help me what is wrong with my code?
thanks