add name element to images