Trying to figure out how to replace the src for image attribute