Working with big images in DOM
===

I'm having some troubles while working with big images in DOM, like up to 1mb size.
The main problem is the fact that, also all the images are already cached, the loading of them into DOM takes considerable amount of time - even when I'm doing it just by changing the src attribute. I'm doing kind of a gallery widget for displaying large mockups, so the big image size cannot be helped.
So, what is the proper pattern for working with larger images? Is it possible to gain a reasonable performance boost?
I should also mention that the image size gets changed with css. I do this to give the user the ability to fullscreen the image later.

Thank you very much!