• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Scale multiple images of different proportions to the same height or width all at same time

Community Beginner ,
Oct 06, 2021 Oct 06, 2021

Copy link to clipboard

Copied

Hi, 

I want to speed up a repetitive process. 

I want to scale multiple images of varing proportions to all have the same height in one go. 

currently I alighn them to the top and then scale them manually by dragging the frame and holding ctrl. 

I feel there must be a faster way and I cant figure out a way with the transform options in the properties panel. 

Is there a script of command that can do this? 

Thanks

TOPICS
Scripting

Views

505

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Expert , Oct 06, 2021 Oct 06, 2021

Use an object style for the images:

  1. Define height in this style
  2. Define fit to frame proportinal
  3. Place image with that style.

Votes

Translate

Translate
Community Expert ,
Oct 06, 2021 Oct 06, 2021

Copy link to clipboard

Copied

Do one, select the rest, Object > Transform Again > Transform Again Individually.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guide ,
Oct 06, 2021 Oct 06, 2021

Copy link to clipboard

Copied

Peter, maybe I'm reading the question differently than you, but that's not working for me. Here's an illustration of what I think the OP is talking about.

Screen Shot 2021-10-06 at 8.50.26 PM.png

Here I have four images of different heights aligned to the top, with a guide line snapped to the bottom of the apple. I want all of the images to be the same height as the apple, so I select the cucumbers, hold Shift and Command while I drag the bottom of the image up to snap to the guide, and I get this:

Screen Shot 2021-10-06 at 8.50.42 PM.png

…but when I select the last two objects and transform again, either together or separately, they scale to the amount that I scaled the cucumbers, so I get this:

Screen Shot 2021-10-06 at 8.50.55 PM.png

If the images are already placed, I don't know of a way to make them all the same height other than the way the OP is doing it, but if you want the images to all be the same height when placing, I use what I think we call "gridify" (select all the images to place at the same time, click once but don't let up the mouse button, drag out an area and hit the up or right arrows to create a grid, and then release the mouse button once you have the number of grid spaces as you need to place all of the images). If the images are of different heights and you want them all to be the same, make sure that the grid blocks are much wider than any item would need to fit the width, and you will end up with image frames that are too wide, but while they are still selected, hit Option Command C and all of the frames will be fit to the images, which will all be the same height. You can then use the align function to gather them to something that's easier to deal with. If you want to fit the widths, use the up arrow, but make sure that the heights are all too big.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Oct 07, 2021 Oct 07, 2021

Copy link to clipboard

Copied

LATEST

Not working for me, either, on further testing.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Oct 06, 2021 Oct 06, 2021

Copy link to clipboard

Copied

Use an object style for the images:

  1. Define height in this style
  2. Define fit to frame proportinal
  3. Place image with that style.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Oct 06, 2021 Oct 06, 2021

Copy link to clipboard

Copied

Or select all and apply that style.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines