Add a snippet to translate 1-D image list to 2-D.