>[/showif]This can get pretty slow if there are more than a couple of files in thatfolder. I'd use[ShowIf [FileInfo localimagefolder/[sku].gif][Exists][/FileInfo]=T]
[/ShowIf]instead, because it just looks for the one file.To really speed things up, I'd do a daily 'report' of all the files thatexist in that folder, and set the HasPhoto field to T for each one thatexists. Then you don't have to hist the disk every time you want to see ifa photo exists.Technical Support | ==== eCommerce and Beyond ====Pacific Coast Software | WebCatalog, WebMerchant,11770 Bernardo Plaza Court | SiteEdit Pro, PhotoMaster,San Diego, CA 92128 | Typhoon619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com/
Associated Messages, from the most recent to the oldest:|
|
>[/showif]This can get pretty slow if there are more than a couple of files in thatfolder. I'd use[ShowIf [FileInfo localimagefolder/[sku].gif][Exists][/FileInfo]=T]
[/ShowIf]instead, because it just looks for the one file.To really speed things up, I'd do a daily 'report' of all the files thatexist in that folder, and set the HasPhoto field to T for each one thatexists. Then you don't have to hist the disk every time you want to see ifa photo exists.Technical Support | ==== eCommerce and Beyond ====Pacific Coast Software | WebCatalog, WebMerchant,11770 Bernardo Plaza Court | SiteEdit Pro, PhotoMaster,San Diego, CA 92128 | Typhoon619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com/
PCS Technical Support DOWNLOAD WEBDNA NOW!
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...