Site logo

Relink and fit

Relinks all instances of the selected (with black/white arrow) image with another one and fits frame to content.

Before

After


If you don’t want to “fit frame to content”, remove or comment out the following lines:

oldLink.parent.parent.fit(FitOptions.FRAME_TO_CONTENT);

and

currentLink.parent.parent.fit(FitOptions.FRAME_TO_CONTENT);

Click here to download the script.