I have threads with lot's of images - when I use the version with getimagesize it takes a very very long time to open the thread - but when I comment out the size check every image is turned into a link even when it already was one.
This leads to the effect that clicking on an imageshack.us thumbnail you don't open the fullsize version but the thumbnail opens in another page...