Add image attribute