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

Relinking files in Illustrator

Explorer ,
Jul 11, 2011 Jul 11, 2011

Copy link to clipboard

Copied

Greetings all;

I am experiencing a problem with relinking files. I often place images in Illustrator documents and then find that I need to move the file that the placed image draws from. After moving the file to another folder, I of course have to show Illustrator where it can find the file.

The problem I am experiencing is that when I select "Apply to all", I still have to select the file for each placed instance. Does anyone know how I can fix this?

TOPICS
How to , Import and export

Views

99.1K

Likes

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
Explorer ,
Jul 25, 2017 Jul 25, 2017

Copy link to clipboard

Copied

Yep, it was on that exact same file.

Likes

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
New Here ,
Mar 09, 2018 Mar 09, 2018

Copy link to clipboard

Copied

Hi,

@CarlosCanto, I have used your script version for linked images. It works very nicely but I’d like to use it differently.

I have multiple placed images that have clipping masks so when I try to run your script, it won’t work because the selection is not directly the placed image, it is a group.

Any workaround you can think of?

Thank you very much in advance.

Likes

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 ,
Mar 10, 2018 Mar 10, 2018

Copy link to clipboard

Copied

Hi idsl, are you using the script in post #9?

if you are, and if you don't mind replacing all link images as opposed to only the selected images

change this line

sel = idoc.selection;

to this

sel = idoc.placedItems;

Likes

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 Beginner ,
Mar 12, 2019 Mar 12, 2019

Copy link to clipboard

Copied

HeyCarlosCanto​! Could you help if we have many embedded images and they have the clipping mask too? Thank you

Likes

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 ,
Mar 14, 2019 Mar 14, 2019

Copy link to clipboard

Copied

Hi Robert, let me try if it works. The thing with clipping masks is that once you change the link, the mask might not show what you need. Are your images the same size?

Likes

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 Beginner ,
Mar 14, 2019 Mar 14, 2019

Copy link to clipboard

Copied

All images are not same size. Thank you.

Likes

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
New Here ,
Feb 01, 2021 Feb 01, 2021

Copy link to clipboard

Copied

Hey Carlos. My head is exploding. Scripts....wah....I'm a visual person....LOL. Any chance they'll include this code into the actual software someday? They nailed it in InDesign. It sure would be the best improvement to Illustrator since...Freehand replaced Illustrator.

 

Likes

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
Explorer ,
Aug 25, 2022 Aug 25, 2022

Copy link to clipboard

Copied

Hey there! I know this thread is crazy old but I was hoping you could help!

 

In a single illustrator doc, i'll have like 12 linked documents, they're masked, all 12 link to the same PDF. My goal is to relink all 12 instances with the same PDF without having to go individually link the same PDF over and over again. I thought your script would be perfect for it but when I run the script, it creates an "open" pane and after I select the file, nothing happens. I'm not sure if maybe the script is outdated or something but I thought I'd reach out to you for help. 

Likes

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 ,
Dec 17, 2022 Dec 17, 2022

Copy link to clipboard

Copied

hi @its_pronounced_fee it's probably too late but try copying the script again, I just fixed the indexes

Likes

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
Explorer ,
Dec 19, 2022 Dec 19, 2022

Copy link to clipboard

Copied

hey, wow, thanks for the reply! I'm struggling to find where to download the script or you can just throw the code in the reply. 

Likes

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 ,
Dec 19, 2022 Dec 19, 2022

Copy link to clipboard

Copied

LATEST

there's no download link, the script is the same you already had but fixed, just copy the the above script again.

Likes

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
Valorous Hero ,
Nov 18, 2015 Nov 18, 2015

Copy link to clipboard

Copied

Hi, I am looking at this feature in CC 2015, and am unable to see the "Repair" options. Does it still exist?

Likes

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
New Here ,
Feb 28, 2017 Feb 28, 2017

Copy link to clipboard

Copied

It is a plain text file, i used the .jsx extension, but it is not able to be used from illustrator as a script. The only items I see as options for scripts through illustrator end in .js

Likes

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
Participant ,
Jun 15, 2017 Jun 15, 2017

Copy link to clipboard

Copied

After experimenting with Packages, I found that Illustrator will always look for a "Links" or "links" folder with placed files.

It has to be in the same folder as the AI document.

You can them move the Illustrator file and its placed files where you want and every time you open the AI file the links will be automatically updated.

Illustrator will only look for a "Links" folder if the original, absolute, links are broken.

Likes

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
Explorer ,
Jul 19, 2017 Jul 19, 2017

Copy link to clipboard

Copied

Here are two videos for AI CC 2017 regarding working with linked images and working with the Links panel that might be helpful:

Placing linked images into Illustrator from Illustrator CC 2017 Essential Training by Tony Harmer

Working with the Links panel from Illustrator CC 2017 Essential Training by Tony Harmer

Likes

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
New Here ,
Dec 13, 2019 Dec 13, 2019

Copy link to clipboard

Copied

As I am retired now, I am accountable only to myself so to speak.  So... I have piled several(!!) image files onto my desktop due to my laziness, which have been placed in many different AI files...but the AI files are properly stored in the Documents folder according to job.  I have learned that if I clean away the image files from off their home on my Desktop, that when reopening the AI file they do not show up and have that question mark (which was discussed in a previous message).  MY QUESTION IS, IS IT POSSIBLE THAT WHEN I "ARCHIVE" THOSE AI FILES ON TO AN "EXTERNAL DISK", THAT AI MIGHT HAVE AUTOMATICLLY RETAINED THE PLACED IMAGES (or possibly embedded them) WITHIN IT (IN THE ARCHIVED FILES) EVEN THOUGH THE AI FILE IN MY DOCUMENTS FOLDER HAS LOST THE LINK?  COMPRENDE?  THANK YOU, ROBERT

Likes

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
Advocate ,
Nov 14, 2017 Nov 14, 2017

Copy link to clipboard

Copied

i keep looking to see if illustrator has been updated to work like InDesign does with file relinking, not sure why it doesnt yet! seems crazy. but in the mean time you should look up willshouse, it will save you some serious annoyance!

discussed here amongst other forum posts>

Any way to update lost links?

Likes

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
Participant ,
Feb 02, 2018 Feb 02, 2018

Copy link to clipboard

Copied

This may not be a help in your case, but by far the easiest way to relink files in Illustrator is:

put all place images in a folder called "Links" in the same directory as the Illustrator file

  • Note the capital L
  • The Illustrator document should be closed when you move the placed files

If you open an Illustrator document and it can't find the original linked files, it will look for a "Links" folder in the same directory as the Illustrator document.

Likes

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
Advocate ,
Feb 02, 2018 Feb 02, 2018

Copy link to clipboard

Copied

My issue with this method is it

a) means you need know where the files are to start with, (I'm too messy hence the need to relink in the first place!) and

b) requires you to move them to a layout specific folder, or copy them.

When you have source images from a client with hundreds of files from camera with sequential file names and or Huge Gb sized files you don't really want them moved or copied.

For my needs, the Wills house script is great as it just scours a client folder and finds all the links in one go, that are in that folder or sub folders within.

Likes

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
Participant ,
Feb 02, 2018 Feb 02, 2018

Copy link to clipboard

Copied

Yes of course, it's not the solution for everybody.

I mainly posted it because it's not widely known and when you can use it it's a life saver.

Likes

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
Explorer ,
Oct 30, 2018 Oct 30, 2018

Copy link to clipboard

Copied

When opening the Illustrator file for the first time after moving your links to a different path on your computer a prompt to replace one of your links will pop up.

Steps

1. Just select "replace".

2. Find and select the corresponding file in the file browser window provided after selecting "replace".

Illustrator will find and replace all or part of your missing links after you show it where to find that first one.

Note: Illustrator won't find links that have their filenames changed even if they are the same file as before.

3. Save your file

If you moved your files to different locations (eg. "Icons Folder", "Background Folder" etc.):

Close your file after going through Steps 1, 2 and 3 and repeat for each folder location. Illustrator will always try to find your missing links in the path you select.

alpinemice

Likes

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
Advocate ,
May 01, 2020 May 01, 2020

Copy link to clipboard

Copied

Sorry but point 2 is not true, I got linked files over a couple folders and it doesn't update the those in the same folder. Illustrator is still very dumb in terms of rethinking. All other Adobe products can relink recursively and also automatically find ALL broken links.

 

When are dev teams going to do global meetings instead of doing all separate. Sometimes some adobe apps feel like different companies handling different upgrading terms

Likes

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
Engaged ,
Oct 04, 2022 Oct 04, 2022

Copy link to clipboard

Copied

This seems like a bug. Once you find one file, Illustrator should re-link all other instances automatically, and even find other missing files if they are in the same folder. Like Premiere and After Effects do.

Likes

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
Advocate ,
Dec 17, 2022 Dec 17, 2022

Copy link to clipboard

Copied

That actually used to work, it would also ask if you wanted to relink all the same instance of a certain file.

 

Big issue still is, when using layercomps in a pas file, the active layercomps will be reset which is super annoying 

Likes

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