create partal for images and thumb