jQuery preloader for images linked to via href

Hi all,

Had a good scour of the forum/web but can’t seem to find a solution to this which doesn’t require manually specifying each image that requires preloading.

I’m using a slightly amended version of this. I will have multiple instances of this on the page so I need be able to preload the larger images (which aren’t actually on the page) without manually typing them out as there will be quite a few.

Many thanks