No, the attributes are for link not image. The eg. is bad, I changed the 'alt' to 'title'.