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:

Page Counters? (1997) WebCat Versions (2003) Applescript error (1998) Emailer setup (1997) Redirect frame targets (1998) Confusing [protect] (long) (1999) Quicky Date thing (2005) WC2b15 File Corruption (1997) [ShowNext] (1997) webdelivery.html and webna (1997) searches with dash, period etc. (back form politeness) (2000) Tip: Image Maps (Server-Side) with WebCatalog (1997) WebCat Contest (1998) Help! WebCat2 bug (1997) unable to launch acgi in WebCat (1997) [Shownext] (1997) Using Applescript to process WebCatalog functions (1998) OFF-TOPIC: Beach front land in Philippines (2004) webDNA and ASP pages (1997) migrating from MacOS to unix (2000)