set vertical alignment of images