Add alt and description attribute to the image field.

* Add alt and description attribute to the image field.
* Guess the value if the alt attribute is empty.

Replace for #2426