Adding padding and alt tag on insertion