Hi,

Might be a silly question but are you sure that the new image is valid and not null ?