So you're using the first thumbnail you find and ignoring others?  Does EXIF always come first? We don't want to get a JFIF thumbnail.