CORS issue fixing on progress - image same policy problem