This is the error I seemed to be getting a LOT lately on my server after it took about 2 mins of loading time.
The problem seems to be with that function retrieving the image at times. This is not the code's fault. It's either server's, GD library's, or PHP, I have yet to figure it out.
Ill post here as soon as I get more info on this. On my forum I had to completely disable the hack which sux because I made it

Dimitry