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:

    
  1. Re: External Images (Kenneth Grome 1998)
  2. Re: External Images (PCS Technical Support 1998)
  3. Re: External Images (Christer Olsson 1998)
  4. Re: External Images (Kenneth Grome 1998)
  5. Re: External Images (Paul Uttermohlen 1998)
  6. Re: External Images (PCS Technical Support 1998)
  7. Re: External Images (Kenneth Grome 1998)
  8. External Images (Mark Bergkvist 1998)
>[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:

Sorting by date (1997) [WebDNA] Dynamic server feedback? (2009) WebDelivery downloads alias, not original ? (1997) [WebDNA] Off topic: ImageMagick (2008) Searching using numbers (1998) Help!!!! Purchases not going through! (1997) Multiple Merchant Accounts? (1997) Setting up the server (1997) Sort Order on a page search (1997) Banner Ads (2000) Webcat Manual and TeaRoom Examples Uses Different Examples. (1997) emailer (1997) problems with 2 tags (1997) Search design (1997) OT: Amazon Patents (2000) RE: Answer: WebDelivery downloads alias, not original ? (1997) WC2f3 (1997) [Sum] function? (1997) Loop into field (1998) Location of Browser Info.txt file (1997)