I found even better solution for displaying images than Lightbox. It’s called ThickBox, it’s build on jQuery library, together they have only 27 Kb and does a few things that Lightbox can’t. It automaticaly resizes the image based on the resolution, can display any HTML content, so it can be used not just for images. All around it’s much better.
The jQuery library alone looks promising. It’s very small and the idea behind looks fun. I am planning to use it on one of my AJAX projects. I’ll report my experiences with it.