Re: [isfile] ?

This WebDNA talk-list message is from

1997


It keeps the original formatting.
numero = 11462
interpreted = N
texte = >Sort of... but I think most of us use pictures in their catalogues, and it >sure would have been a great help if we could serve pictures without having >to hard code their width and height into the .db.I'm not sure I'd call it hard-coding. For WebCatalog to be able to know how many pixels a graphic is, it must open and read the file, and in some cases it must image the file into RAM before it can know the size. All of these operations are quite time-consuming, so it seems like using the tools that are designed for getting this information is best. It's much faster to tell PhotoMaster to squirt out a database _once_, so WebCatalog can look up the information quickly.Hard-coding would be if you had to type the pixel sizes into each of your HTML pages, with no help from a database.Grant Hulbert, V.P. Engineering | ===== Tools for WebWarriors ===== Pacific Coast Software | WebCatalog Pro, WebCommerce Solution 11770 Bernardo Plaza Court | SiteEdit Pro, SiteCheck, PhotoMaster San Diego, CA 92128 | SiteGuard 619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com Associated Messages, from the most recent to the oldest:

    
  1. Re: [isfile] ? (Grant Hulbert 1997)
  2. Re: [isfile] ? (Christer Olsson 1997)
  3. Re: [isfile] ? (Grant Hulbert 1997)
  4. Re: [isfile] ? (Kenneth Grome 1997)
  5. Re: [isfile] ? (Christer Olsson 1997)
  6. Re: [isfile] ? (Kenneth Grome 1997)
  7. Re: [isfile] ? (Kenneth Grome 1997)
  8. Re: [isfile] ? (Grant Hulbert 1997)
  9. Re: [isfile] ? (Kenneth Grome 1997)
  10. Re: [isfile] ? (grichter@panavise.com (Gary Richter) 1997)
  11. [isfile] ? (Kenneth Grome 1997)
>Sort of... but I think most of us use pictures in their catalogues, and it >sure would have been a great help if we could serve pictures without having >to hard code their width and height into the .db.I'm not sure I'd call it hard-coding. For WebCatalog to be able to know how many pixels a graphic is, it must open and read the file, and in some cases it must image the file into RAM before it can know the size. All of these operations are quite time-consuming, so it seems like using the tools that are designed for getting this information is best. It's much faster to tell PhotoMaster to squirt out a database _once_, so WebCatalog can look up the information quickly.Hard-coding would be if you had to type the pixel sizes into each of your HTML pages, with no help from a database.Grant Hulbert, V.P. Engineering | ===== Tools for WebWarriors ===== Pacific Coast Software | WebCatalog Pro, WebCommerce Solution 11770 Bernardo Plaza Court | SiteEdit Pro, SiteCheck, PhotoMaster San Diego, CA 92128 | SiteGuard 619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com Grant Hulbert

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:

Problems appending to database (1997) Uploading very large image files (2003) A little syntax help (1997) WebMerchant (1997) Help name our technology! (1997) creator code (1997) [WebDNA] Sendmail 'return-path' header that is different to the (2009) [TaxableTotal] - not working with AOL and IE (1997) PCS Emailer's role ? (1997) WC1.6 to WC2 date formatting (1997) The future of WebCatalog is coming with 4.0... (2000) Date Sorting (1997) OT: Amazon Patents (2000) WebCatalog2 Feature Feedback (1996) Integration with SQL (1997) Format of Required fields error message (1997) [convertchars] limits (1998) WebCatalog Technical Reference (1997) [WebDNA] PCI Vulnerability testing (2009) WebCatalog can't find database (1997)