get thumbnails and right to left direction