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:

WebCat for Unix?? (1997) Grant, please help me ... (1997) Fedora Core 6 (2007) Web Catalog not encrypting/decrypting problem (1998) WebCat2b12 - nesting [tags] (1997) no global [username] or [password] displayed ... (1997) Version f1 status (1997) Weird Math and SV (1997) [OT] Xserve (2002) GuestBook example (1997) [sendmail] on NT? (1997) [OT] 'Email this story to a friend' (2003) PCS Frames (1997) Passing WebCat Vars with Javascript (2000) WebDNA 5.0 freeBSD?!!? (2003) Banner DNA (1997) Time Tracking (2003) show all problem (1997) WebCat2 several catalogs? (1997) ANN: Strategic Partnership with BuyStream Announced. (2000)