Added binary attribute for jpg and png