Better method for checking if thumbnail exists