adds title to img