Any idea how I can do this on newer versions of CF.
<cfoutput query="#queryname#" startrow="#Start#" maxrows="#MaxRecords#">
<cfset picture ="no">
<cfset picture1 ="no">
<CFHTTP URL="http://othersite.com/#image#-1t.jpg">
<CFIF LISTFIRST(CFHTTP.MIMETYPE, "/") IS "image">
<CFSET PICTURE1 = "YES">
<CFELSE>
<cfset picture1 = "no">
</cfif>
<cfif picture1 eq "no">
<CFHTTP URL="http://othersite.com/#image#-2t.jpg">
<CFIF LISTFIRST(CFHTTP.MIMETYPE, "/") IS "image">
<CFSET PICTURE = "YES">
<CFELSE>
<cfset picture = "no">
</cfif>
</cfif>
<cfif picture1 eq 'yes'><IMG SRC="http://othersite.com/#image#-1t.jpg">
<cfelseif picture eq 'yes'><IMG SRC="http://othersite.com/#image#-2t.jpg">
<cfelse>NO PHOTO</cfif><br>
</cfoutput>
Thanks