log the value of the image src attribute