User1224194097 posted
Are you using Windows Authentication?
if you are using windows authentication, user whoever was impersonated won't have rights to save the images.
I recommend creating user with full control of the folder where image resides and impersonate with that user account.
try that and see if it works.