added possibility of titles for imgs