image thumb extension fix