Archive of UserLand's first discussion group, started October 5, 1998.
Re: Quicker image rendering
Author: Brent Simmons Posted: 5/19/1999; 3:13:55 PM Topic: Quicker image rendering Msg #: 6479 (In response to 6478) Prev/Next: 6478 / 6480
When Frontier is serving an image from the #images table, it doesn't get the size of it at that time, it simply sends the data.Frontier gets the size of an image while generating the HTML for the img tag, before it gets the request for the image -- and since you're getting the HTML quickly, then it seems to me that getting the size is fast.
One point: with GIFs, Frontier does not have to get the size of the GIF by reading from disk. If you look at html.getGifHeightWidth, you'll see that it works with images stored in a database. The same is not true for JPEGs, however.
Another point: if you have #useImageCache set to true, Frontier does indeed cache the height and width of images, and on subsequent requests it just looks in the cache.
There are responses to this message:
- Re: Quicker image rendering, Diego Akerman, 1/2/2000; 4:27:02 PM
This page was archived on 6/13/2001; 4:50:18 PM.
© Copyright 1998-2001 UserLand Software, Inc.