add img snippet