You must indicate if you want the image to change directly when you change the Switch (see the @ChrisWard example) or when it receives the response.