implement IpImage widget add photo method