fixed the width and height of the new added pictures