Add alt and title attributes to images in format export

From #2181.

Just a feature export change.