You need to get all of your images to have the same aspect ratio. The aspect ratio is the ratio between the width of an image and its height. For example, an image that is twice as wide as it is tall would have an aspect ratio of 2.
Aspect ratios are typically expressed as two integers separated by a colon. Therefore an aspect ratio of 2 might be expressed as 2:1, but it might also be 4:2 or 720:360. As long as the
ratio of the number on the left side of the colon to the number on right is the same, the aspect ratio is the same.
So before scaling your images, you want to crop them to share the same aspect ratio. At this point it won't matter what the actual sizes of the images are, as long as the ratio between their widths and heights are identical. GIMP's Crop Tool

simplifies the task of cropping images to a fixed aspect ratio using the option circled in the following graphic.
Attachment:
SSaspect.jpg [ 180.39 KiB | Viewed 2513 times ]
For the four image shown above, I chose to crop them to an aspect ratio of 4:3. The first image (the B&W photo) already had a 4:3 aspect ratio so no cropping was necessary. The other three images all needed to be cropped to varying degrees. When cropping, you need to choose the placement and size of the retained area to create an aesthetically pleasing result -- this operation requires human decision-making and can not be automated with a script.
Once you have all of your images cropped appropriately, all that remains is to use the Filmstrip plug-in. You don't have to worry about scaling your images to have the same dimensions, as this will be taken care of automatically by the filter.
Attachment:
filmstrip.jpg [ 51.73 KiB | Viewed 2513 times ]