Re: External Images

This WebDNA talk-list message is from

1998


It keeps the original formatting.
numero = 20142
interpreted = N
texte = >[showif [listfiles localimagefolder/][filename][/listfiles]^[sku].gif] > >[/showif]This can get pretty slow if there are more than a couple of files in that folder. 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 that exist in that folder, and set the HasPhoto field to T for each one that exists. Then you don't have to hist the disk every time you want to see if a photo exists.Technical Support | ==== eCommerce and Beyond ==== Pacific Coast Software | WebCatalog, WebMerchant, 11770 Bernardo Plaza Court | SiteEdit Pro, PhotoMaster, San Diego, CA 92128 | Typhoon 619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
>[showif [listfiles localimagefolder/][filename][/listfiles]^[sku].gif] > >[/showif]This can get pretty slow if there are more than a couple of files in that folder. 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 that exist in that folder, and set the HasPhoto field to T for each one that exists. Then you don't have to hist the disk every time you want to see if a photo exists.Technical Support | ==== eCommerce and Beyond ==== Pacific Coast Software | WebCatalog, WebMerchant, 11770 Bernardo Plaza Court | SiteEdit Pro, PhotoMaster, San Diego, CA 92128 | Typhoon 619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com/ PCS Technical Support

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

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...

Related Readings:

Make sure I understand this??? (1997) Multiple prices (1997) OT-JS question (2001) [WebDNA] Data Type Bool (2009) Generating unique SKU from [cart] (1997) hierarchy question... (2000) OT - help.. (2003) Multiple Pulldowns (1997) Database search in JavaScript with passed values (2002) WebCatalog 4.0 Users that want to talk to the Media.... (2000) Renaming DB fields (2000) [WebDNA] New list (2008) Random Number Generator works for Ranges of Numbers (1997) Urgent Help needed (1998) Date format (2000) 100% CPU on NT (2001) Speed Optimization - Mac (1997) Date math (1997) SMITH MICRO: FW: Emailer stops on Win 2000 (2002) HELP WITH DATES (1997)