You can automatically stretch on shrink the duration of the photo portion of your movie to match the duration of the audio portion of your movie.
Choose
→ to adjust the duration of the photos.All durations in the photo track will be stretched or shrunk proportionally so that the overall duration matches the duration of the audio tracks.