Save image method added