Wrap gallery images in unordered list tags