Copy link to clipboard
Copied
Hello,
I set my links panel to show the scaling percent of every image.
I have a bunch that have been scaled either larger or smaller and I would like them all to go back to 100% of size.
I tried doing it through find and change, but was not successful.
Is there anyway to do this within InDesign?
Thank you,
Babs
Hi Babs,
see also here:
Re: moving/scaling many images within frames
Did not test Harb's script.
EDIT: Oh. This link is not working anymore…
Here you go:
Re: moving/scaling many images within frames
Regards,
Uwe
Copy link to clipboard
Copied
I'd bet that it would require a script. You might ask in the InDesign Scripting forum:
Copy link to clipboard
Copied
Hey Steve,
That sounds about right...
thank you!
Babs
Copy link to clipboard
Copied
If you are using OSX, this AppleScript would do it:
tell application "Adobe InDesign CC 2018"
set properties of all graphics of active document to {horizontal scale:100, vertical scale:100}
end tell
Copy link to clipboard
Copied
Hi Rob,
see into this thread here:
[AS/CC]Resizing a box and its contained image
Maybe it's relevant…
Using a transformationMatrix for scaling seems to be the best bet to do scaling in x and y-direction in one go.
However, that means one has to loop every graphic/image of a document and do some calculations to get individual scaling factors for x and y-directions if the graphic/image was scaled non-proportionally.
Regards,
Uwe
Copy link to clipboard
Copied
Hi Rob,
That does work for getting every image 100% and if I keep the reference point in the control bar in the center then the images scale from the center...thank you.... will also look at the other responses, to see if I can the frame to also scale with the image...
This is great..
thank you!
Babs
Copy link to clipboard
Copied
Hi Babs,
see also here:
Re: moving/scaling many images within frames
Did not test Harb's script.
EDIT: Oh. This link is not working anymore…
Here you go:
Re: moving/scaling many images within frames
Regards,
Uwe
Copy link to clipboard
Copied
Hi Laubender,
That script from the link you gave worked perfectly...
I could set the Frame as well to fit the content now. Which answers your earlier question on should the scale come from the center and also have the frame scale with the object. This takes care of everything!
Thank you all!!!
Best,
Babs
Copy link to clipboard
Copied
Hi Babs,
two questions:
1. Should the frame that is containing an image scale with the image?
2. Should the scaling of an image be done from the center of the image?
Regards,
Uwe