Add gallery to images in posts