Skip navigation

Relative Link Paths

Jul 26, 2007 10:55 PM

  Latest reply: PSmits, Dec 16, 2013 1:32 AM
Replies 1 2 Previous Next
  • Currently Being Moderated
    Sep 13, 2011 8:55 AM   in reply to Pickory

    Link paths are absolute. ID looks FIRST to the path listed, and if the file is found it will be used (which is why making a copy of a project without using the Package command is dangerous if the old files are left alone). IF, and only if, the listed path is no longer valid, ID will begin to search ofr the links in the same folder where the .indd file is located, and in subfolders.

     

    When you package, you make copies of everything, including both the ID file and the links, and the links in the copyied file are reset to point to the Links folder in the package.

     
    |
    Mark as:
  • Currently Being Moderated
    Sep 13, 2011 8:55 AM   in reply to Pickory

    Ahh, I think I might have missed the point.

     

    You actually do not want ID to update the path in the document but still resolve it. ( closer? )

     

    Is there a way of editing a path to an image? An interesting test would be to change the path to be "./truncated file path". "." being the where the document is stored.

     

    P.

     
    |
    Mark as:
  • Currently Being Moderated
    Sep 13, 2011 8:56 AM   in reply to Pickory

    After you moved the indd file to the pen drive and opened it, did InDesign prompt you about missing links? If so, did you choose to fix them? To me, it sounds like you "fixed" the link and that is what changed it. I'm on CS5.5 in Windows 7, but I don't think this behavior has changed at all between any of the last major versions. I'll try the same test later and report back.

     
    |
    Mark as:
  • Currently Being Moderated
    Sep 13, 2011 9:02 AM   in reply to NicStage

    No, I wasn't prompted.

     

    I think Peter has answered this. I think I would package my stuff before archiving it or passing it onto some one else.

     

    P.

     
    |
    Mark as:
  • Currently Being Moderated
    Sep 13, 2011 10:46 AM   in reply to NicStage

    Yes, you can edit the links by relinking them or by allowing InDesign to "fix" the links.

     

    Packaging is a really useful tool that I use sometimes when sending my indd project to people outside my team, but packaging isn't practical in a revision controlled environment as a standard means of collaboration. I don't want to duplicate all my linked resources just to maintain links. In my opinion, that defeats the purpose of a link in the first place. If I was going to package the project everytime I wanted it to be editable from a different location, then it would be more practical to do away with linking altogether and simply embed the resources in the indd file.

     
    |
    Mark as:
  • Currently Being Moderated
    Nov 6, 2011 12:27 PM   in reply to (Grant_O\'Neill)

    Until I found this discussion, I thought either everyone else knew how to control hyperlinks in Acrobat or else I didn't know how to phrase the question.  I tried a lot of different ways to find help on the internet, but this is the first link I've found where people seem to have a similar problem to mine.

     

    I came back from a foreign vacation with thousands of photos, and with a lot of great memories of places I couldn't remember much about.  I spent months creating a MS Word 7.0 document where I pasted internet descriptions of all the places, monuments, unique restaurants, etc we'd visited. I created an ~ 10 page Table of Contents at the beginning of the document and hyperlinked each Table of Contents entry to the pages in the document where internet description was pasted.  I stored that document in the same directory with the nearly 2000 pictures we'd taken during the trip.

     

    Next - to the right of each line of the TOC - I typed the filenames of the photographs we'd taken of that that place. Now I could choose a town, or monument from the TOC and jump either to a thorough description of the place or to pictures I'd personally taken. The result was so cool that I decided to share it with some of the people we'd traveled with, so I bought thumb drives and copied my pictures and the 500 page Word document onto the thumb drive.  In the copy of the Word Document I could no longer jump to my pictures.

     

    Bear with me, there's a reason I talk about the Word Document.

     

    While I had the Word Document open - from the thumb drive - I hit ALT +F9 and all the hyperlinks became visible.  I found that the hyperlinks were "absolute" (i.e. they included the full path to the pictures).  Since the thumb drive was a different path.  Word couldn't hyperlink to the pictures anymore.

     

    Here's my point...  In Word, I could globally edit the hyperlinks just as easily as I could globally edit a document.  All I had to do was to globally delete the portion of the address and leave only the filenames of the pictures.  With that done, I hit ALT +F9 again to toggle off the text showing the hyperlinks and the pictures were once more accessible.  My other hyperlinks within the document itself were unaffected.

     

    In Acrobat I can't find any way to get it save the links without inserting the full path - which, of course, changes every time I copy the folder to another medium.  Worse, I can't find any way to edit the hyperlinks as I was easily able to do in Word.  Can Adobe take a cue from Microsoft and provide at least a way to edit hyperlink pathnames?

    (Or have they already done it and I'm just too ignorant to know how to do it).  As it stands, there's no convenient way to share my document - Different versions of Word paginate differently, and screw up the formatting,  so Acrobat was supposed to be my workaround to that problem.

     
    |
    Mark as:
  • John Hawkinson
    5,572 posts
    Jun 25, 2009
    Currently Being Moderated
    Nov 6, 2011 11:51 PM   in reply to hngbvf

    hngbvf:

     

    In Acrobat I can't find any way to get it save the links without inserting the full path - which, of course, changes every time I copy the folder to another medium.  Worse, I can't find any way to edit the hyperlinks as I was easily able to do in Word.  Can Adobe take a cue from Microsoft and provide at least a way to edit hyperlink pathnames?

    You're posting to the InDesign Feature Requests forum, but you appear to have a question about Acrobat.

    You're much better off using an Acrobat forum.

     

    I believe you can edit individual links in Acrobat with the Link tool. I am not sure what it means to "globally" edit.

     

    I think you can automate mass changes to those links with Acrobat's scripting interface. This is probably annoying but entirely doable. Again, ask in an Acrobat forum.

     
    |
    Mark as:
  • Currently Being Moderated
    Nov 7, 2011 7:14 AM   in reply to hngbvf

    Like John said, you're question regarding whether or not you can edit hyperlinks is probably best asked in another area. However, this:

     

    hngbvf wrote:

     

    In Acrobat I can't find any way to get it save the links without inserting the full path - which, of course, changes every time I copy the folder to another medium.

     

    ...is completely relevant in this thread, in my opinion. Your reference to MS Word is helpful too, because it illustrates how another application deals with the same issue.

     

    It's a really simple feature request: Allow InDesign to create and read links relative to the document location. Right now, it doesn't do that.

     
    |
    Mark as:
  • John Hawkinson
    5,572 posts
    Jun 25, 2009
    Currently Being Moderated
    Nov 7, 2011 9:00 AM   in reply to NicStage

    NicStage:

    In Acrobat I can't find any way to get it save the links without inserting the full path - which, of course, changes every time I copy the folder to another medium.

     

    ...is completely relevant in this thread, in my opinion. Your reference to MS Word is helpful too, because it illustrates how another application deals with the same issue.

    Huh? Did you read "InDesign" where it says "Acrobat"? Is that what was meant?

     
    |
    Mark as:
  • Currently Being Moderated
    Nov 7, 2011 9:40 AM   in reply to John Hawkinson

    Huh? Did you read "InDesign" where it says "Acrobat"? Is that what was meant?

     

    I did do that. Oops!

     

    This thread is about an InDesign issue, not Acrobat.

     
    |
    Mark as:
  • Currently Being Moderated
    Nov 7, 2011 7:04 PM   in reply to John Hawkinson

    I’m sorry that I posted the question in the wrong place.  Your answer led me to look into Acrobat’s scripting interface.  I admit it looks daunting, but I’ve pretty much conquered Visual Basic, so I guess I can work through the 600 + page reference manual I found for the scripting interface.  I think you’re probably right that that’s how to fix my problem – at least I hope so, because I haven’t been able to find any other answer in several hours of internet searches for other people offering ways to tame the absolute links.

     

     

     

    Again, I’m embarrassed that I didn’t read carefully enough before I posted, but I’m still grateful for your help.

     

     

     

    Dave Fetters

     
    |
    Mark as:
  • Currently Being Moderated
    Nov 7, 2011 7:14 PM   in reply to NicStage

    I just sent a thank you to John Hawkinson for his suggestion that I might find a way to solve my problem with Acrobat’s refusal to do relative addressing within the Acrobat scripting interface.  I also apologized to him, as I do to you, for posting in the wrong forum.  I didn’t read carefully enough – I saw “Adobe” and thought “Acrbat”.  I had never heard of “InDesign” so I didn’t pay enough attention to realize that it was another Adobe software package.  My main motivation for the post was that the Adobe representative didn’t seem sympathetic with the concept that relative address ARE important to some people, and I wanted to add one more voice to the small group who were trying to make that point.

     

     

     

    I’m still hoping I can find a solution without tackling the mountain that the Adobe Scripting Interface seems to be, but, I got pretty familiar with VBA over time, so if I have to, I guess I can work my way through the scripting interface as well.

     

     

     

    Thanks for your comments.

     

     

     

    Dave Fetters

     
    |
    Mark as:
  • John Hawkinson
    5,572 posts
    Jun 25, 2009
    Currently Being Moderated
    Nov 7, 2011 7:49 PM   in reply to hngbvf

    hngbvf/Dave: Note that any reply you send appears publicly on the forum, so you're not addressing individual.

    Anyhow, no need to apologize, but you can probably get better answers elsewhere.

     

    In my experience, there's a lot of non-intuitive stuff about Acrobat scripting, and it's confusing how to get started, because the Javascript Debugger is really really bad and you have to write whole files deep into the app preference directory in order to make them executable.

     

    Because of this, it's a really good idea for you to find an example to follow along with, rather than just starting from the reference manual cold, which is a technique I would suggest if you were trying to script something like InDesign.

     

    Yes, Adobe makes piles of piles of other products than Acrobat...

     
    |
    Mark as:
  • Currently Being Moderated
    Oct 27, 2012 9:32 AM   in reply to NicStage

    It's not amazing. Adobe is a monopoly. With a captive market, there is little incentive for Adobe to listen to their customers.

     

    I just made a folder containing an Indesign document as well as place graphics. I only just now learned this folder isn't portable. >:(

     
    |
    Mark as:
  • Currently Being Moderated
    Oct 27, 2012 2:26 PM   in reply to Toad41

    Toad41 wrote:

    I just made a folder containing an Indesign document as well as place graphics. I only just now learned this folder isn't portable. >:(

    If the links are in the same folder as the .indd file, or a subfolder, they will be found. That's how packaging works.

     
    |
    Mark as:
  • Currently Being Moderated
    Nov 21, 2012 6:47 AM   in reply to (Grant_O\'Neill)

    I think that this is an instrumental philosophy issue related to the operating system and that because the computer must deal with any file or folder that had been renamed or moved as the same object (not a way of creating a new one and deleting the old) but exactly the same one with modified characteristics (its name or path) and reflecting these actions not only on operating system level but also communicating with the applications to synchronize these information with the files contents.

     

     

    As an example of this communication:

    The user: I want to rename the file apple.ai to be red_apple.ai.

    The OS: Are you intending to create a new file or just change the name?

    The user: Just change the name.

    The OS: ANNOUNCING (The file apple.ai has a new name).

    The user: Open the document Fruits_Menu.indd.

    InDesign: Ohh. the file apple.ai gone. Let's ask the OS.

    OS: No need to ask any one I hear you clearly, the file hadn't been deleted it's just has a new name which is red_apple.ai.

    InDesign: OK. Thanks.

     

    I think technically It's depending on the following:

    The OS must understand what user intent when he rename or move a file or folder.

    The application must ask the OS for these information.

    I don't know if there is a hidden automatic produced ID for every file embedded in somewhere that could distinguish the file.

     
    |
    Mark as:
  • Currently Being Moderated
    Jan 29, 2013 9:51 PM   in reply to (Grant_O\'Neill)

    See this add-on which I has written for InDesign CS6 on Mac using javascript.

    There is a command from the add-on that make it possible to rename a "Live Snippet". I hoped if Adobe did the same with links mechanism.

     

    http://forums.adobe.com/message/4946725#4946725

     
    |
    Mark as:
  • Currently Being Moderated
    Dec 16, 2013 1:32 AM   in reply to (Grant_O\'Neill)

    I think you can find the answer here

     

         http://indesignsecrets.com/making-relative-hyperlinks-to-files-in-inde sign.php

     

    In case the link stops from working. I copied the essential part:

     

    "In CS4 and CS5, if you use the Hyperlinks panel to make a “File” type hyperlink, it appears to always be absolute. That’s too bad, because a “File” hyperlink seems like just what you’d want.

    However, if you choose to make a URL hyperlink instead (choose URL in the Link To pop-up menu), it does create a relative link!"

     
    |
    Mark as:
1 2 Previous Next
Actions

More Like This

  • Retrieving data ...

Bookmarked By (0)