Never mind (I blame the heat lol)

Solved by changing default parameter of ThumbailCount to 1 instead of
zero - MOD 2 then worked (divisible by 2).

TIA!

<cfset ThumbnailCount = 1>
<!--- <cfdocument format="flashpaper" pagetype="a4" overwrite="yes"
backgroundvisible="no" unit="cm" scale="100">
<cfdocumentsection> --->
<html>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://
www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml";>
<head>
<title><cfoutput>#Request.ApplicationTitle#</cfoutput></title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="Creator" content="Adobe Studio 8, Adobe ColdFusion MX
7.02, Adobe HomeSite+ 5.5">
<meta name="Description" content="ColdTemplateMaker">
<meta name="Keywords" content="ColdFusion, usergroup, user group,
canberra, queanbeyan, training, adobe, tilbrook">
<meta name="Author" content="Peter Tilbrook">
<title><cfoutput>#Request.ApplicationTitle#</cfoutput></title>
<link href="<cfoutput>#Request.DomainPrefix#</cfoutput>.css"
rel="stylesheet" type="text/css" />
<link rel="stylesheet" type="text/css" href="style.css" />
<style type="text/css">
<!--
.style1 {
        color: #77002F;
        font-weight: bold;
}
-->
</style>
</head>
<body>
<table width="100%">
        <tr>
                <td colspan="2"><h1>Photo Gallery</h1>
                        <p align="justify"><img src="images/res_rep_logo.jpg" 
width="175"
height="129" align="right"><a href="index.cfm?
fuseaction=TemplateView&TID=<cfoutput>#URL.TID#&#URLToken#</
cfoutput>"></a>The following photographs were taken on the day of
inspection and reflect various aspects of the property. These
photographs should be referred to for general reference only. We are
unable to capture all features or defects in this photo gallery. <span
class="style1">Residential Reports recommends a personal inspection of
the property for a full visual appraisal.</span></p></td>
        </tr>
        <tr>

        <cfoutput query="TemplateGenerate">
                <cfset ThumbnailCount = ThumbnailCount + 1>
                <td><p align="center"><a href="images/content/#ImageKey#"><img
src="images/content/#ImageKey#" vspace="5" hspace="10" /></a><br/>
                        <p align="center">#ThumbnailCount# - 
#ImageCaption#</p></td>
                <td>
                <p align="center"></p>
                <cfif ThumbnailCount MOD 2>
                        </tr>

                        <cfelse>
                        </td>

                </cfif>
        </cfoutput>
        </tr>

</table>
<!--- </cfdocumentsection>
<cfdocumentsection>
<html>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://
www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml";>
<head>
<title><cfoutput>#Request.ApplicationTitle#</cfoutput></title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="Creator" content="Adobe Studio 8, Adobe ColdFusion MX
7.02, Adobe HomeSite+ 5.5">
<meta name="Description" content="ColdTemplateMaker">
<meta name="Keywords" content="ColdFusion, usergroup, user group,
canberra, queanbeyan, training, adobe, tilbrook">
<meta name="Author" content="Peter Tilbrook">
<title><cfoutput>#Request.ApplicationTitle#</cfoutput></title>
<link href="<cfoutput>#Request.DomainPrefix#</cfoutput>.css"
rel="stylesheet" type="text/css" />
<link rel="stylesheet" type="text/css" href="style.css" />
<style type="text/css">
<!--
.style1 {
        color: #77002F;
        font-weight: bold;
}
-->
</style>
</head>
<body>
<cfinclude template="OnRequestEnd.cfm">
</cfdocumentsection>
</cfdocument>
--->


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to