Add alt attribute to pass to the img element
Update api doc