Dave,
I have selected a bunch of images both portrait and landscape orientation and want to output them as a JPG and resized so the height on each of the images is 500px and the width is whatever PM calculates in order for the aspect ratio to be maintained.
Is this possible?
I can only seem to get the longest dimension resized to 500px which is fine for portrait but not for landscape.
Not directly. You would need to sort your images into two groups, those that are landscape and those that are portrait. Then run the landscape images through with a box size that would end up creating landscape images that are 500 pixels tall, and then the portraits through at size 500.
The box size for the landscape images can be calculated from the aspect ratio of the landscape images. What pixel size are the landscape images currently? I'd need the width and height.
-Kirk