trying to get client side code and web api working to pull images from server