<cfdirectory action = "list" directory = "directory" name = "queryName" filter = "*.jpg"> should do it. // whatever u want to filer..
Joe ----- Original Message ----- From: "Larry Juncker" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Monday, September 09, 2002 9:10 AM Subject: CFDirectory Question > I have a shopping cart that I have created and the images can be either gif > or jpg. > > Since I am dynamically pulling from the images folder, how can I check to > see which image exists for a particular item. > > I am currently doing this: > > <img src="images/#sku#.gif"> > > I need to be able to see if #sku#.gif exists or #sku#.jpg and then display > the proper image. > > Any help would be greatly appreciated. > > ______________________________________________________________________ This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/[email protected]/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

