Adding markup for image list