Professional Web Applications Themes

Absolute image links in Contribute/Dreamweaver - Macromedia Contribute General Discussion

Can anyone tell me how to force Contribute to make all the image links absolute (i.e. [url]http://www.adobe.com/images/sampleimage.jpg[/url]) in Dreamweaver. I want to send out html emails and I spec out absolute links in Dreamweaver but when I edit the html doent in Contribute, the links get changed to relative. HTML emails need absolute paths. I've read that Contribute fixed this in CS3 but I just bought Contribute the other day and my links keep switching back. HELP!?!?!?! Thanks in advance! Rodney...

  1. #1

    Default Absolute image links in Contribute/Dreamweaver

    Can anyone tell me how to force Contribute to make all the image links absolute
    (i.e. [url]http://www.adobe.com/images/sampleimage.jpg[/url]) in Dreamweaver.

    I want to send out html emails and I spec out absolute links in Dreamweaver
    but when I edit the html doent in Contribute, the links get changed to
    relative.

    HTML emails need absolute paths. I've read that Contribute fixed this in CS3
    but I just bought Contribute the other day and my links keep switching back.

    HELP!?!?!?!

    Thanks in advance!
    Rodney

    raviguy Guest

  2. #2

    Default Re: Absolute image links in Contribute/Dreamweaver

    How will you send the emails? Will you use an email-client on the client-side
    or create a server-side solution?

    Server-side:
    I solved this Contribute problem by using PHP and str_replace.

    $strMessageStrip = $_POST['message'];
    $strMessageStrip2 = str_replace("../", "http://www.yourdomain.com/",
    $strMessageStrip);
    $strMessageStrip3 = str_replace("../images/",
    "http://www.yourdomain.com/images/", $strMessageStrip2);
    etc...

    Client-side:
    The only solution I can think of is creating Editable regions for the text and
    use default image positions outside the editable regions and let your client
    change the images by putting new images on the server with the same name as the
    old ones.

    ThinkInk Guest

Similar Threads

  1. Absolute Links in Contribute 4
    By Marje in forum Macromedia Contribute General Discussion
    Replies: 4
    Last Post: October 11th, 05:51 AM
  2. Absolute Links
    By Marje in forum Macromedia Contribute General Discussion
    Replies: 5
    Last Post: September 8th, 08:11 PM
  3. contribute killed my image map in Dreamweaver
    By synterx in forum Macromedia Contribute General Discussion
    Replies: 1
    Last Post: March 15th, 01:27 PM
  4. Contribute rewriting image links
    By abna in forum Macromedia Contribute General Discussion
    Replies: 7
    Last Post: December 20th, 08:36 PM
  5. Image links broken in Contribute 2
    By Room446 in forum Macromedia Contribute General Discussion
    Replies: 0
    Last Post: December 6th, 09:13 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not 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