question regarding <img> and thumbnails -


i have photo site renders previews of photos in tag when hover dots. (see http://johanberntsson.se/photo/).

but feels kinda stupid load full image in img-tag. because far know, theres no difference between loading image original size versus adding height , width attributes it.

got suggestions how improove preview function?

thanks

as far client side concerned, there's nothing can do. if you're worried how long takes image load, pre-load them javascript. other thing create few sizes of image on server.


Comments

Popular posts from this blog

objective c - Change font of selected text in UITextView -

php - Accessing POST data in Facebook cavas app -

c# - Getting control value when switching a view as part of a multiview -