Frame 12 converting relative paths to absolute paths

Hi all,
We recently upgraded to Frame 12 and now have a persistent issue with relative paths to referenced images becoming absolute.  These paths do not traverse a drive and so I believe Frame should be maintaining a relative path for these. In most cases -- perhaps in all, although I have not done exhaustive testing --  the problem paths are for images on a master page.
Any idea why this might be occurring and what we can do to fix it?  Our docs team shares files checked out from a server, and each time one of us opens a document, it has an absolute path to a location on another writer's computer.  We each maintain the exact same directory structure for all Frame/image files, and again, the path to the problem images is local and does not traverse the C drive.
Thanks in advance,
Shelley

May or may not be relevant, but do the affected relative paths need to traverse the root directory of the logical drive?
I seem to recall, in experiments some years ago on FM7.1, that the final /../ needed to be at least one level down.

Similar Messages

  • How to convert relative url to absolute in URLPortlet?

    Images and links don't work becase they are not getting filtered to absolute urls. <baseHRef> doesn't seem to do it. Isn't URLServices supposed to automatically convert all urls to absolute?

    URL Services internal identifies relative URL and converts them into absolute URL's.
    It uses <BASE HREF="URL"> if available, otherwise the uses <pageUrl> as base URL and constructs the absolute URL's.
    Please post URL to which you facing problem, so that we can find fix this error.

  • Converting relative address to absolute address

    Is there a way to change relative addresses to absolute
    addresses when files are uploaded to a server in dreamweaver?
    For example,
    given domain:
    http://www.home.com/
    convert ../images/picture.jpg to
    http://www.home.com/images/picture.jpg
    upon uploading
    I want only files uploaded to the server to have the absolute
    address.

    >I am just wondering too. I have seen some websites'
    source code and they
    >seemed
    > to have absolute addresses for their links.
    There is no benefit to this, however. A simple document or
    root relative
    link works just fine.
    > If you have absolute address
    > in a page then you can test changes made on your local
    machine without
    > uploading it to the server.
    You can do that with document/root relative links, too.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "websiteweaver" <[email protected]> wrote in
    message
    news:ejfp6h$bju$[email protected]..
    > I think it could be helpful for editing purpose. If you
    have absolute
    > address
    > in a page then you can test changes made on your local
    machine without
    > uploading it to the server.
    >

  • [SOLVED]new title: convert relative to absolute paths in bash

    So the issue was not MPD, i hadn't noticed my script was creating a bad symlink when i passed it a relative path.  new problem, the simplest way to accept any relative path as argument and return an absolute path for use throughout the script.  i'm off to google...
    my current version of the solution as a bashrc function:
    rel2abs() {
    local file="$(basename "$1")"
    local dir="$(dirname "$1")"
    pushd "${dir:-./}" &>/dev/null && local dir="$PWD"
    echo "$dir/$file"
    popd &>/dev/null
    :: OP ::
    so i have this little script that is supposed to allow me to one-time-play an audio file sitting outside my mpd directory by creating a symlink to the file, updating the db, then playing the symlink.  everything's great accept mpd won't follow the symlink when creating/updating the db.
    i've restarted mpd and re-create[d]-db both as myself (mpd runs as me) and as root many, many times.  it never changes.  the symlink file is never added to my database... is the manpage lying?  do i file a bug?  can anyone else reproduce?
    i don't think it's a perm issue, mpd runs as me and the symlink's target and destination are both under ~/
    ┌─[ 13:30 ][ blue:~ ]
    └─> pacman -Q mpd
    mpd 0.15.1-1
    man mpd.conf wrote:
    follow_outside_symlinks <yes or no>
           Control if MPD will follow symbolic links pointing  outside  the  music  dir.   You  must
           recreate the database after changing this option.  The default is "yes".
    follow_inside_symlinks <yes or no>
           Control  if  MPD  will  follow  symbolic links pointing inside the music dir, potentially
           adding duplicates to the database.  You must recreate the database  after  changing  this
           option.  The default is "yes".
    /etc/mpd.conf wrote:######################### OTHER OPTIONS ########################
    gapless_mp3_playback                    "yes"
    #save_absolute_paths_in_playlists       "no"
    #metadata_to_use        "artist,album,title,track,name,genre,date,composer,performer,disc"
    follow_outside_symlinks                 "yes"
    follow_inside_symlinks                  "yes"
    ┌─[ 13:33 ][ blue:~ ]
    └─> ll Music/temp/
    total 0
    lrwxrwxrwx 1 patrick patrick 36 2009-08-13 13:30 apocalyptica_beyond_time.mp3 -> Dropbox/apocalyptica_beyond_time.mp3
    ┌─[ 13:37 ][ blue:~ ]
    └─> mpc ls temp
    ┌─[ 13:37 ][ blue:~ ]
    └─>
    i guess i can resort to simply copying the file into the temp directory rather than symlinking... but you archers know how it is, it just bothers you when something should work and it doesn't...
    comments and pointers always appreciated.
    Last edited by brisbin33 (2009-08-17 20:35:21)

    Mind posting your script? I've been using the following perl script to play a file outside of the music directory using mpd (found through the mpd wiki, I think). I'm up for a simpler solution if you found one!
    #!/usr/bin/perl
    # mpc-play
    # version 0.2
    # by Ilya "Voyager" Schurov (http://comm.noo.ru/iv-en/)
    $MUSIC_PREFIX="/home/[username]/music";
    $TEMP_DIR="tmp";
    $SCRIPT_NAME="mpc-play";
    # warning! all symlinks in $MUSIC_PREFIX/$TEMP_DIR will be lost on start!
    $DEBUG=0;
    $PWD=`pwd`;
    chomp $PWD;
    if(!@ARGV)
    print "Usage:\n$SCRIPT_NAME <files-to-play>\n";
    say_and_do("mpc --no-status stop",$DEBUG);
    say_and_do("mpc --no-status clear",$DEBUG);
    # removing symlinks from $TEMP_DIR
    while(<$MUSIC_PREFIX/$TEMP_DIR/*>)
    unlink if(-l);
    foreach $file (@ARGV)
    $link=$file;
    # stripping slashes from arguments
    $link=~s/\//_/g;
    if($file!~/^\//)
    $file="$PWD/$file";
    symlink("$file","$MUSIC_PREFIX/$TEMP_DIR/$link")
    || die("Can't create symlink from $file to $MUSIC_PREFIX/$TEMP_DIR/$link: $!");
    push @links, $link;
    say_and_do("mpc update $TEMP_DIR",$DEBUG);
    # now we need to wait while mpd updating DB
    do
    $stat=`mpc`;
    sleep(0.1);
    }while($stat=~/^Updating DB/m);
    # generating playlist
    foreach $link(@links)
    $link=~s/\`/\\\`/g;
    say_and_do("mpc --no-status add \"$TEMP_DIR/$link\"",$DEBUG);
    #let's the music begins! :)
    say_and_do("mpc play",$DEBUG);
    sub say_and_do
    my $str=shift;
    my $debug=shift;
    print "$str\n" if($debug);
    system($str);
    Thanks!
    Scott

  • Converted clipping path to frame (InDesign CS2)

    I am working with files where the person has converted clipping paths to frames for the images. I need to resize the images but it leaves a blank silhouette of the hollowed out space (where the image was) and a view in the background of the full image, including the background. I'm new to InDesign and need to find out how to resize these images or how to undo the convert clipping path to frame. Any help would be appreciated.
    Thanks.

    How are you trying to resize the frames now? Try Pressing Ctrl + Shift BEFORE you click the mouse on a sizing handle and drag. (you shouldn't need to press the keys first, but there was a bug in CS3 and I think it may still be in CS4 on the Windows platform).
    You can also use the scale tool (hold shift to size proportionally) or use the SCALE fields -- the third set from the left, not the second set which are height and width of the frame only -- on the control panel or in the transform panel. These scale both content and container together.
    By default the scale fields will say 100% after any transformation, and ID expects you to input percentage values in them and interprets numbers without units as per cent, but you can enter any value you like as long as you specify the units, so you can put 3in into the width field and the frame will become 3 inches wide. Scaling using the control panel is relative to the control point in the proxy on the left end, so if you select the upper left point, the upper left point of the bounding box will remain stationary and everything else will move toward or away from that.
    Peter

  • Only Use Absolute Paths, Disable Relative Paths

    Hi All,
    I am trying to work out how to disable Relative Paths in
    Dreamweaver 8. We are wanting to create some eBay templates in
    dreamweaver. Once these are created we want to copy and paste the
    code into the eBay description. However when using relative paths,
    this breaks the page when it is uploaded to eBay. Obviously because
    it is looking for ../../images/logo.gif etc.
    What it saves as currently: src="../../images/logo.gif"
    What I want it to save as: src="
    http://mysitehere.com/images/logo.gif"
    So how can I completely disable relative paths and have
    Absolute Paths in its place.
    Regards,
    Joel

    You can't.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "Joel.Theodore" <[email protected]> wrote in
    message
    news:e5po0g$4ec$[email protected]..
    > Hi All,
    >
    > I am trying to work out how to disable Relative Paths in
    Dreamweaver 8.
    > We
    > are wanting to create some eBay templates in
    dreamweaver. Once these are
    > created we want to copy and paste the code into the eBay
    description.
    > However
    > when using relative paths, this breaks the page when it
    is uploaded to
    > eBay.
    > Obviously because it is looking for
    ../../images/logo.gif etc.
    >
    > What it saves as currently: src="../../images/logo.gif"
    > What I want it to save as: src="<a target=_blank
    > class=ftalternatingbarlinklarge
    > href="
    http://mysitehere.com/images/logo.gif"
    >
    > So">
    http://mysitehere.com/images/logo.gif"
    >
    > So</a> how can I completely disable relative paths
    and have Absolute Paths
    > in
    > its place.
    >
    > Regards,
    >
    > Joel
    >

  • Absolute path of a file specified in a relative path

    Hello,
    If I refer to a file using a relative path, what will its absolute path be? How can I change it?
    Thanks.

    File file = ...
    String absPath = file.getAbsolutePath();

  • Use Relative Path for Photoshop Action?

    I have a Photoshop Action that is programmed to open an existing file located in a specific directory.  The path to this directory is an absolute path, i.e.:
    C:\Program Files\Photoshop Actions\filename.jpg
    As long as the Action can find the file in the specified absolute path, everything works fine.
    My problem is that if someone tries to run this Action on a different computer (like a Mac), the path specified in the action does not exist and the Action will not work.
    The simple solution to this would be to make the action open the file located at a relative path.  This way no matter what computer the action is run on, it will always be able to find the file.
    Unfortunately, I don't think Photoshop Actions allow relative paths.  Does anyone know if using a relative path in an action is possible?
    Failing this, how would I use a Photoshop Script to somehow direct the Action to find the correct location of the file?  Or is there a better solution?

    The idea that I use in the xtools installer and else where is this:
    1) Convert the action file to XML.
    2) Package the XML file and the apps/ActionFileFromXML script with your stuff.
    3) An installer script will do a 'replace' (or whatever) on the XML file so that the paths are converted to whatever is needed.
    4) The new XML is saved and then converted to a .atn file which is then loaded.
    There is an xtools forum at ps-scripts.com that may have some info in addition to the PDF file that comes with the package.
    -X

  • How to create a relative path for Flash video on a CDROM

    Hello - I need to distribute a web site to a client on a
    cross-platform Hybrid CDROM so that they can edit and make
    adjustments. This website also includes 2 flash videos that need to
    be included on the CDROM.
    My problem is this: I encoded the video in the Flash Encoder
    app and brought them into the main Flash app for conversion into
    swf files. I also used the media controller parameter to add a
    control skin to the movies. I now have 2 swf files associated with
    the flv video file, and I understand that all 3 of these must stay
    together for the video to work properly. The video plays correctly
    along with the controller skin on my Mac however only the
    controller shows up but no video on the CDROM. I believe that this
    has something to do with absolute vs. relative file paths for the
    video flv file to the swf controller file.
    I do not know how to change this path - I know "where" to
    change it within the controller parameter options box but do not
    know what syntax exactly to place here. How do you specify a
    relative path here? When I try to do it I get an error saying that
    the flv file cannot be found.
    I am trying to use the following syntax: /video/welding.flv
    where video is the name of the folder and welding is the name of
    the file. I have done numerous Google searches on this subject and
    stil cannot find an answer, so any help is appreciated.

    OK - I assigned the FLVPlayback component the instance name
    of videoPlayer to keep it simple. And I copied the above code into
    an Actions - Frame on Frame 1. FYI - The name of the video has been
    changed from welding to Timet Sponge.
    Now I get the following error messages:
    **Error** Scene 1, Layer 'Layer 1', Frame 1, Line 1: 1119:
    Access of possibly undefined property contentPath through a
    reference with static type fl.video:FLVPlayback.
    videoPlayer.contentPath = "";
    **Error** Scene 1, Layer 'Layer 1', Frame 1, Line 2: 1120:
    Access of undefined property _global.
    _global.videoURI = "video/Timet Sponge.flv";
    **Error** Scene 1, Layer 'Layer 1', Frame 1, Line 3: 1120:
    Access of undefined property _global.
    videoPlayer.contentPath = _global.videoURI;
    **Error** Scene 1, Layer 'Layer 1', Frame 1, Line 3: 1119:
    Access of possibly undefined property contentPath through a
    reference with static type fl.video:FLVPlayback.
    videoPlayer.contentPath = _global.videoURI;
    **Error** Scene 1, Layer 'Layer 1', Frame 1, Line 1: 1119:
    Access of possibly undefined property contentPath through a
    reference with static type fl.video:FLVPlayback.
    videoPlayer.contentPath = "";
    **Error** Scene 1, Layer 'Layer 1', Frame 1, Line 2: 1120:
    Access of undefined property _global.
    _global.videoURI = "video/Timet Sponge.flv";
    **Error** Scene 1, Layer 'Layer 1', Frame 1, Line 3: 1120:
    Access of undefined property _global.
    videoPlayer.contentPath = _global.videoURI;
    **Error** Scene 1, Layer 'Layer 1', Frame 1, Line 3: 1119:
    Access of possibly undefined property contentPath through a
    reference with static type fl.video:FLVPlayback.
    videoPlayer.contentPath = _global.videoURI;
    Total ActionScript Errors: 4, Reported Errors: 4

  • Adobe Flash CS5 - Using Relative Paths

    Hiya Guys, I'm relatively new to Adobe Flash CS5, bu have managed to create an index.swf to link together all my work for this project I've just completed. However, the index.swf, along with all my other files will be relocated, as in burnt onto a CD or moved onto a USB. When the file directories change, the links obviouly break, so I needed some help setting up some relative paths for my files so that they don't break. All my files are stored under a PROJECT file, this then consists of five other folders, consisting of subfolders and each of these subfolders have their own documents. So for example, PROJECT\PARTONE\DATABASES\Database.accdb
    I have used absolute file paths, but they keep on breaking when moving directories. Can someone PLEASE help?!

    Well I did use actionscript for creating the actual index and effects, but AS3 was used no further for the index. I created an index which had links Part 1, Part 2 ,3,4,5 and clicking on each of them lead to different frames (using the mouseclick, goto and stop at frame (x) function.) Clicking on part one for example would lead to list of documents in that part. Sorry I can't be of any help, I'm totally new to this

  • Captivate 2 - relative paths

    I've built several Captivate 2 simulations and have only just discovered that my links to external files aren't relative.
    I've created the links using buttons. I've set them to Open URL or file on success. I then browsed to the files I wanted to link to. The files are pdfs and html files that launch other captivate published files.
    I saw that an absolute path was being inserted but I hoped (vainly) that it might be converted to a relative path when published as long as I maintained the same folder structure for my source and published files.
    Is there any way to set up a relative path in Captivate 2?
    Thanks.
    Grace D

    Hi Grace
    Generally speaking, the best way to create and ensure a relative path is to simply type the file name of what it is you are linking to. Never ever use a Browse button to navigate to a file. By manually typing the file name, there is no way for Captivate to know the path. Thus it creates and maintains a relative path.
    Cheers... Rick
    Helpful and Handy Links
    Captivate Wish Form/Bug Reporting Form
    Adobe Certified Captivate Training
    SorcerStone Blog
    Captivate eBooks

  • How to specify relative path for background image  in xsl

    Hi,
    I am generating a PDF from Apcahe FOP. I have an xsl for that, in the xsl fo:block I am displaying a background image. When the image path is absolute like..C:\image\logo.png it works fine. But I want to have the image in my WebContent\images folder and my xsl file is in WebContent\xsls folder. So when I try giving the relative path as ../images/logo.png, the image is not displayed.
    Can anyone tell how to do this???
    Thanks,
    Sanjeev.

    I have a fo:block like this :
    <fo:block border-style="solid" border-width="0.2pt" text-align="left"
                             background-image="url('http://localhost:8080/Project/images/table_header_center.png')"
                             font-size="8pt" font-weight="bold" color="white" padding-top="1pt"
                             padding-bottom="1pt">
                             <xsl:value-of select="tr/td/span" />
                        </fo:block>In the above code you can see that the the background-image="url('http://localhost:8080/Project/images/table_header_center.png')"
    has been given as absolute. The images folder is in my WebContent directory. I want this path to be relative to the context of my application , something like background-image="url('../images/table_header_center.png')".
    Thanks.
    sanjeev.

  • Relative path for servlet property file.

    I have the following java file. When I use the absolute path for the configFile, it works. I would like to know how I could use it as relative path as in installation, the name of the directory could change.
    How do I fix the problem? Thank you.
    ---------------------- LoadProperties.java ----------------
    import java.util.*;
    import java.io.*;
    public class LoadProperties {
    private String driver="";
    private String dbURL="";
    private String login="";
    private String password="";
    static public void main(String[] args) {
    LoadProperties lp = new LoadProperties();
    } // main
    public LoadProperties() {
    //String configFile = "C:/1LMS/web-app/WEB-INF/config/db.properties";
    String configFile = getClass().getResource("config/db.properties").toString(); <--- This line could not find the db.properties file.
    Properties Prop = new Properties();
    try {
    FileInputStream configStream = new FileInputStream(configFile);
    Prop.load(configStream);
    configStream.close();
    } catch(IOException e) {
              System.out.println("Error: Cannot laod configuration file ");
    driver =Prop.getProperty("driver");
         dbURL = Prop.getProperty("dbURL");
         login = Prop.getProperty("login");
    password = Prop.getProperty("password");
    printResult();
    } //Load Property
    private void printResult() {
         System.out.println("Driver = " + driver);
         System.out.println("dbURL = " + dbURL);
         System.out.println("Login = " + login);
    System.out.println("PSWD = " + password);
    } // class

    hi there,
    had the same problem... you need to use following API:
    http://java.sun.com/j2ee/sdk_1.3/techdocs/api/javax/servlet/ServletContext.html#getRealPath(java.lang.String)
    In your case something like that:
    // get the servlet context
    ServletContext context = getServletContext();
    // directory name where the file is located
    String realPath = context.getRealPath("/config");
    // get real path to your file
    String propertyPath = real+"filename.txt";
    hope that helps!!
    minu

  • Problem defining relative path ofr images in struct tiles

    hi
    I have a jsp pages in which i am setting the layout using tiles . To display an image
    i am using < img src= "./../images/abc.gif" />
    this doesnt seem to work.
    but if i give absolute path like src="C:\myDoc|....\abc.gif" it works.
    As i have to deploy it so i cant give absolute path.
    One solution i found is to use request.getContextPath()
    <img src="<%=request.getContextPath()%>/tutorial/images/abc.gif" works.
    is there any way we can give relative path like ?
    < img src= "./../images/abc.gif" />

    Hi , I have found the solution.
    <c:url value='/javascript/menuscript.js'/>"{code} can be used to avoide the absoulte path . The c:url tag takes default  value as Webcontent . so you need to give only path after the webContent                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Problem with include and relative path in jsp

    Precompile jsp with wlappc in 9.2, I got the error "The include file was not found" when the jsp use <%@ include file="../includes/dataEntry/code_error.html" %>
              This code used to work with 8.1. I notice that someone has report the same problem with 9.0 and you have patch for it. Is it fix in 9.2 or do I require a patch as well?
              Thanks,
              Khuemy

    When you precompile, can you say "Keepgenerated=TRUE". It might help you track
              down the difference with the URL. You should only get a 404 error when the
              resource is not found at runtime, which is independant of when you compile. The
              difference should be in how the URL is compiled.
              Chris
              ali wrote:
              > I am using WLS 6.0 SP1, when I use relative path in <jsp:forward> in my JSPs
              > it forwards ok if I am using directly JSPs but if I am using pre-compiled
              > JSPs (and have proper servlet-mappings
              > in my web.xml), I get 404 error with the relative-path, if I change it to
              > absolute path with pre-compiled JSPs it forwards ok , then.
              > any ideas why this is so?
              > thanks,
              

Maybe you are looking for

  • My iBook isn't running very well.

    I have a 1GHz iBook G4 with 768 MB RAM, running 10.4.5. It's about a year and a half old and I have Applecare. I have used it has my primary computer for the majority of that time. I use it for web browsing, chatting, graphic and web design (your bas

  • How do I move calendars in iCal from "on my Mac" to the Cloud?

    I have several calendars listed as On My Mac that are still listed as publishing to my iDisk (which we know they're not). How can I move them to the iCloud?

  • Attaching PDF to body of email

    So, trying to take a nice PDF and have it so it is in the BODY of an email, not an attachment.  That way when the recipient opens the email, they see the entire newsletter in front of them without having to download. All I have to do is drag it into

  • Cubase 6: elements of things to come?

    Just been looking at the specs for Cubase 6 and I think it's interesting to note the developments - it looks good and I've heard good things about it. There are features here which point towards very interesting developments (VST Expression), as well

  • I am getting WDDynamicRFCExecuteException: Please help

    Hello friends, I am getting the below exception while trying to run an a WebDynPro application. I am unable to locate the reason for this. POWER_EXCEPTION_LOG : DC :bhi.com/bhpow_pricing_wd EXCEPTION com.sap.tc.webdynpro.modelimpl.dynamicrfc.WDDynami