As the title says, i would like a nice bit of coding to stick in my functions that pre-loads any images that are attached to the next post.
This means that whilst my users are browsing, they page will load, but it will actually be loading the next page, so when you click-through, the images should already be there and waiting!
Think of it as 'buffering' for image.
Couple of things to note: I use the post_thumbnail feature and have different sizes setup through functions.php. I also have a plugin that enables multiple Featured Images per post.
I posed this question on stackoverflow (who pointed me here) and was given this code to be placed in the loop;
Although to looks like it could be onto a winner, it doesn't seem to be doing the job quite yet. In my page source it returns the following:
It is possible i am doing something wrong as i am a chronic copy and paster!
Anyone got any thoughts on this?