added size attrs to imgs