LPS-33428 Applies entity selection pattern for image_gallery