...i see i forgot the <table> tags, so that might have caused a prob. this should work for you though...
(test.cfm)
<cfquery name='blah' datasource='#dsn#'>select * from [TABLE]</cfquery>
or
<cfdirectory name='blah' directory='/path/to/files/'>
<cfparam name='startrow' default='1'>
<cfset img_per_page=25>
<cfset cnt=0>
<table>
<cfloop query='blah' startrow='#startrow#' endrow='#evaluate(startrow+img_per_page-1)#'>
<cfset cnt=cnt+1>
<cfif cnt eq 1><tr></cfif>
<td>Your Image <cfoutput>#startrow#</cfoutput> Here</td>
<cfif cnt eq 5></tr><cfset cnt=0></cfif>
<cfset startrow=startrow+1>
</cfloop>
</table>
<cfoutput><a href=''>Next 25</a></cfoutput>
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

