added Image API to iOS code