Add image save Functionality