if i'm not mistaken, cfdirectory returns a query object.

that being the case, you can manipulate the currentRow variable (+/- 1) to
get the previous and next filenames.

----- Original Message ----- 
From: "Wurst, Keith D." <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Wednesday, August 20, 2003 12:06 PM
Subject: cfdirectory help - photo album


> i am using cfdirectory to display some thumbnails. when a thumbnail is
> clicked - it then displays the larger version of the image. what i would
> like to do is pass a few variables in the link that will allow 2 more
links
> to appear on the 'larger version' image page. those 2 links would be 'file
> before' and 'file after'. so, if you were to click the 'file before'
link -
> you would see the image that sits in the same dir before the one you are
> looking at. if you were to click 'file after' you would see the image that
> appears right after the one you are looking at. pretty much your standard
> photo-album app but creating everything dynamically using cfdirectory. any
> suggestions? thanks.
> 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/lists.cfm?link=t:4
Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Get the mailserver that powers this list at 
http://www.coolfusion.com

Reply via email to