make all image in a rectangle