image fetch api

@Srirangan sorry for the inconvenience, submitting a new PR for the image fetch