Image fetching code added