Contribute rewriting image links

Ask a Question related to Macromedia Contribute General Discussion, Design and Development.

  1. #1

    Default Contribute rewriting image links

    Many pages on my site have includes on them. When editing one of these
    includes, I need to insert images. The path to the image needs to be valid
    relative to the page that loads the include rather than the include file, for
    it to show up in the browser. Obviously, just browsing to the image when
    inserting it on the include page will give the path relative to the include. To
    fix that, I manually type what the path should be in the image properties. But
    Contribute thinks it's smarter than me, and rewrites the path. For instance, I
    type in /11k/images/icon/whatsnew.gif and Contribute changes it to
    .../../images/icon/whatsnew.gif. I can get it to maintain the path if I put in
    images/icon/whatsnew.gif, which will work when the include is used at one level
    in the site, but not when it is used at others.

    Is there any possible way within Contribute to make the image path be what I
    need it to be?

    abna Guest

  2. Similar Questions and Discussions

    1. Absolute image links in Contribute/Dreamweaver
      Can anyone tell me how to force Contribute to make all the image links absolute (i.e. http://www.adobe.com/images/sampleimage.jpg) in Dreamweaver. ...
    2. contribute rewriting special characters in links
      Hi all - We have some complicated links we need to create (example is something like:...
    3. Contribute rewriting paths, adding lots of ../
      A couple of my users seem to have found a new bug. For no apparent reason, when adding a link to a document on the page, instead of adding the...
    4. Image links broken in Contribute 2
      Aloha-- I built a site in DW MX 2004, and have now turned over maintenance to someone using Contribute 2. When he tries to link a file, instead of...
    5. Help! Contribute is rewriting Lasso code.
      Hi, I'm finishing development of a large site that was designed in Dreamweaver using nested templates and has several pages with Lasso code that...
  3. #2

    Default Re: Contribute rewriting image links

    It looks like the updated to contribute 3 has the facilities do post a file
    outside of the normal publish model. But, your permissions would need to
    allow this.

    "abna" <webforumsuser@macromedia.com> wrote in message
    news:dnkb3j$fko$1@forums.macromedia.com...
    > Many pages on my site have includes on them. When editing one of these
    > includes, I need to insert images. The path to the image needs to be valid
    > relative to the page that loads the include rather than the include file,
    for
    > it to show up in the browser. Obviously, just browsing to the image when
    > inserting it on the include page will give the path relative to the
    include. To
    > fix that, I manually type what the path should be in the image properties.
    But
    > Contribute thinks it's smarter than me, and rewrites the path. For
    instance, I
    > type in /11k/images/icon/whatsnew.gif and Contribute changes it to
    > ../../images/icon/whatsnew.gif. I can get it to maintain the path if I put
    in
    > images/icon/whatsnew.gif, which will work when the include is used at one
    level
    > in the site, but not when it is used at others.
    >
    > Is there any possible way within Contribute to make the image path be
    what I
    > need it to be?
    >

    David Burley Guest

  4. #3

    Default Re: Contribute rewriting image links

    Originally posted by: Newsgroup User
    It looks like the updated to contribute 3 has the facilities do post a file
    outside of the normal publish model. But, your permissions would need to
    allow this.


    I have the newest version of Contribute and I am the administrator, so I can
    set any permissions I need. But I need to know exactly how to make this work.


    abna Guest

  5. #4

    Default Re: Contribute rewriting image links

    I have the same issue, with links and images in include files. The only way I
    can get around it is to force Contribute to make the link site relative. I do
    this by publishing the file, then re-editing and going to link properties, in
    the 'href' box, forcing it to /directory/*.*

    Drives me nuts, and makes it difficult to Show that to the many page authors I
    have. They don't all necessarily understand relative and absolute linking.

    HalifaxWM Guest

  6. #5

    Default Re: Contribute rewriting image links

    This is not the best option but you might define the links as absolute...

    [url]www.mysite.com/images/my_image.jpg[/url]

    ...and not define things as site root (/images/my_images.jpg) or document
    relative (../../images/my_image.jpg)

    I too have seen this from time to time but have not issolated the exact
    details. If anyone does, thay may want to report it to Macromedia/Adobe support.



    jnosal3 Guest

  7. #6

    Default Re: Contribute rewriting image links

    Originally posted by: jnosal3
    This is not the best option but you might define the links as absolute...

    [url]www.mysite.com/images/my_image.jpg[/url]

    ...and not define things as site root (/images/my_images.jpg) or document
    relative (../../images/my_image.jpg)

    I too have seen this from time to time but have not issolated the exact
    details. If anyone does, thay may want to report it to Macromedia/Adobe support.



    That solution wouldn't work out in my case, because we have a development
    server and a production server. If I set the links to all point to the
    production server, we won't be able to test the pages on development.

    abna Guest

  8. #7

    Default Re: Contribute rewriting image links

    On Mon, 12 Dec 2005 17:13:23 +0000 (UTC), "abna"
    <webforumsuser@macromedia.com> wrote:
    >Many pages on my site have includes on them. When editing one of these
    >includes, I need to insert images. The path to the image needs to be valid
    >relative to the page that loads the include rather than the include file, for
    >it to show up in the browser. Obviously, just browsing to the image when
    >inserting it on the include page will give the path relative to the include. To
    >fix that, I manually type what the path should be in the image properties. But
    >Contribute thinks it's smarter than me, and rewrites the path. For instance, I
    >type in /11k/images/icon/whatsnew.gif and Contribute changes it to
    >../../images/icon/whatsnew.gif. I can get it to maintain the path if I put in
    >images/icon/whatsnew.gif, which will work when the include is used at one level
    >in the site, but not when it is used at others.
    >
    > Is there any possible way within Contribute to make the image path be what I
    >need it to be?
    Did you try prefacing the path with /? It's worth a try.
    Jerry McEwen Guest

  9. #8

    Default Re: Contribute rewriting image links

    Originally posted by: Newsgroup User
    On Mon, 12 Dec 2005 17:13:23 +0000 (UTC), "abna"
    <webforumsuser@macromedia.com> wrote:

    Did you try prefacing the path with /? It's worth a try.



    Yes, as I stated in the post, the very first thing I tried was
    "/11k/images/icon/whatsnew.gif ".


    abna Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139