Others

Convert Hundreds of JPG Photos to PowerPoint on Mac

Amos GikundaAmos Gikunda Nov 20, 2026 869 views

Question details

Create a PowerPoint presentation from hundreds of JPG photos on a Mac.

Convert Hundreds of JPG Photos to PowerPoint on Mac
Product
Microsoft PowerPoint for Mac
Device & OS
macOS
Scenario
The photos have been copied from a USB drive to the computer and need to be placed into a presentation in batches.
Observed behavior
PowerPoint for Mac does not include the Windows Photo Album utility.
Before you start

Put the JPG files in a folder on your Mac and make sure PowerPoint can access them. The macro below creates one slide per image; photo order follows the file list generated by Terminal.

Solution 1Recommended

Create one PowerPoint slide per photo with a VBA macro

Use a file list and a macro to add many local JPG images to a new presentation.

This method uses Terminal to list JPG and JPEG files, including files in subfolders. The macro embeds each image and fits it within a blank slide without cropping.

Only run macros you trust. Mac security or file-access prompts may require you to grant PowerPoint permission to read the list and photos.

1
Create a photo list

Open Terminal and type find followed by a space. Drag your photo folder into the Terminal window, then append this command and press Return: -type f \( -iname '*.jpg' -o -iname '*.jpeg' \) -print > "$HOME/Documents/jpg-album-list.txt". This creates a list in your Documents folder.

2
Copy the list path

In Terminal, run echo "$HOME/Documents/jpg-album-list.txt" and copy the displayed path. You will paste it into the macro prompt.

3
Add the macro

Open PowerPoint, create a blank presentation, and choose Tools > Macro > Visual Basic Editor. In the editor, choose Insert > Module and paste this code: Sub PhotosToSlides() Dim listPath As String, photoPath As String Dim f As Integer Dim p As Presentation Dim s As Slide Dim pic As Shape Dim scaleFactor As Double listPath = InputBox("Paste the full path to the photo list:") If listPath = "" Then Exit Sub f = FreeFile Open listPath For Input As #f Set p = Presentations.Add Do While Not EOF(f) Line Input #f, photoPath If photoPath <> "" Then Set s = p.Slides.Add(p.Slides.Count + 1, ppLayoutBlank) Set pic = s.Shapes.AddPicture(photoPath, msoFalse, msoTrue, 0, 0) pic.LockAspectRatio = msoTrue scaleFactor = p.PageSetup.SlideWidth / pic.Width If pic.Height * scaleFactor > p.PageSetup.SlideHeight Then scaleFactor = p.PageSetup.SlideHeight / pic.Height End If pic.Width = pic.Width * scaleFactor pic.Left = (p.PageSetup.SlideWidth - pic.Width) / 2 pic.Top = (p.PageSetup.SlideHeight - pic.Height) / 2 End If Loop Close #f End Sub

4
Run and save the presentation

In PowerPoint, choose Tools > Macro > Macros, select PhotosToSlides, and click Run. Paste the list path when prompted. Review the new presentation, then choose File > Save As and save it as a PowerPoint presentation (.pptx).

Create one PowerPoint slide per photo with a VBA macro
Check the slide order: The Terminal file list is not guaranteed to be in filename order. Rearrange slides in PowerPoint if needed. Filenames containing line breaks are not suitable for this list-based method.
Free Microsoft Office alternative

Edit photo presentations with WPS Presentation

WPS Office is a free, lightweight alternative with a familiar presentation interface. Open a PowerPoint file in WPS Presentation to review and edit photo slides as you migrate between office suites. It does not replace PowerPoint's Mac macro workflow described above.

Open and edit Microsoft PowerPoint PPT and PPTX filesReview, rearrange, and edit photo slides in WPS PresentationUse a familiar interface for an easier transition from Microsoft OfficeWork with a free, lightweight office suite
QA img-9

Frequently Asked Questions

Does PowerPoint for Mac have the Windows Photo Album feature?

PowerPoint for Mac does not include the Windows Photo Album utility. A VBA macro can instead create slides from a list of local photo files.

Will the macro crop my photos?

No. It preserves each image's proportions and fits the whole image within the slide, so some empty space may remain.

Are the photos embedded in the presentation?

Yes. The macro inserts each picture with linking turned off and saves it with the presentation. Use File > Save As to save the generated deck.

Why might the macro stop before adding every photo?

PowerPoint may lack permission to read the list or an image, or a listed file may have moved or be unreadable. Check the file paths and any macOS access prompts, then run the macro again.