set the width of images