[EMAIL PROTECTED] wrote:
> Hey guys,
> I'm building a web app and am hoping to minimize the images loaded per
> page. I like the way YouTube only loads the thumbnails of the images
> you can see and then waits till you scroll before loading any others.
> They do this by placing <img /> tags for the initial images and then
> So my question, and thought, was to do something like this:
This looks like a question for the Rails-Spinoffs group.
A simple unobtrusive approach would be to have a "drawer" of thumbnails
simply override the functionality of that link to load a list of image
locations from memory or by AJAX.
An image will be downloaded by the browser anytime 1) it parses an <img>
with a src attribute, 2) an <img> node with a src attribute is added to
As a developer, you should be able to control when images are loaded by
keeping these three in mind. Note that browser image caching rules
apply according to the HTTP headers sent with the image.
You received this message because you are subscribed to the Google Groups
"Prototype: Core" group.
To post to this group, send email to firstname.lastname@example.org
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at