Changed image format to gif