got save button and img working