split images into lines of 3