change img attributes again