First you need to add ImagePart to your SlidePart as follows:
ImagePart imagePart = slidePart.AddImagePart(ImagePartType.Png, "rId3");
"rId3" should be a ratio that matches your image that you are adding to the presentation. You can also leave this parameter blank and a default relationship identifier will be created for you. Then you need to transfer this part of the image to the actual image:
imagePart.FeedData(new MemoryStream(photo.ToArray()));
If you still have problems, take a look at these two blog posts. Both of them show some code in the middle of the path about adding photos to the presentation.
Creating a report presentation based on data
Add duplicate data to PowerPoint
source share