made adding of picture tags optional