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.
I want to send out html emails and I spec out absolute links
in Dreamweaver but when I edit the html document 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

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.

Similar Messages

  • Image Link Problem with Dreamweaver CS4?

    On my website, I have several images that link to other parts on my website. These work no problem when I preview the site, but after I test the links, the images that had those links have purple outlines that really clash with my website's design. Will users see this if they click on my links, and then return to the page? I'm using CS4 right now, and never recalled having this issue come up when using MX. Thanks for the help.

    I got stuck on this one too - not realising that Dreamweaver automatically palces a border on every image link - but the simplest way I found was to have my "Properties" panel showing on the bottom and input 0 into the "Border" box. By having this panel open you can see if you have accidently applied any styles to the image, where it links to, Image size attributes and the Image name.

  • Dreamweaver CSS Mac writes image links wrong... img src="/www/images/asian_sales_office.jpg"

    Dreamweaver CSS Mac writes image links wrong... <img src="/www/images/asian_sales_office.jpg" width="x" height="x" alt="x"> Took me a bit to find this, now back to hand coding all image links and also checking other code. Any fixes?

    That looks to me like you may have your site definition set up incorrectly and you appear to be using "Site Root Relative" vs "Document Relative"
    Go to Site > Manage Sites > click the  site you are working on > Click the Edit icon > Advanced Settings > Links relative to: should be set as Document, unless you have a very specific reason for choosing Site Root there
    If your server root folder is called www, you'll need to remove that folder from your site root. You are only transferring files from root to root, so the name of your local root folder is not important (the files inside it go to the server root). It is important not to accidentally have a duplicate of the server root folder inside your local root though which would accidentally nest your files within another folder when transferring to the server.

  • Image with link functions in Firefox, half of the image/link is active in Chrome, image/link dead in Safari

    I have a page with 2 nav links originating from 2 different images. 1 image / link works well with Firefox, Chrome and Safari. The other image / link works well with firefox, only half of the image is active in Chrome and none of the image is active in safari. The documents links checkout fine. I have replaced the image, the container as well as relinked. The result is the same. Can someone help please? Here is a link to my site (in progress) PikiPiks: film reviews Only the first 2 images in the left column are currently linked. The first image / link for "Kiki's Delivery Service" is the problematic one.  Thanks! MacOS 10.9 / Dreamweaver CS6

    Fix the code errors.
    Validation Results - W3C Markup Validator
    I won't even talk about the liberal usage of absolute positioning -- none of which is needed.  You'll soon learn  that this is not the way to build web pages when this comes back to bite you in the butt.  It almost looks like this layout was created in another program.  Was it?
    #1 On the web file names cannot contain special characters like apostrophes. <a href="Kiki'sDeliveryService.html"> is not a valid file name.  You need to rename without the apostrophe.
    #2 This link is pointing to a file on your local hard drive which nobody except you can see.
    <a href="file:///CARBUNKLE/Users/jev/Sites/WowAbout/index.html">  That path should be pointing to your site.
    Nancy O.

  • Addon domain image links broken

    I use addon domains inside my main site to maintain small side sites and to preview client sites before handing off.
    My host recently upgraded the servers. The addon domain sites affected were last synched w/Dreamweaver CS4 v10+.
    The addon domains - "myaddondomains.com" - worked fine until I recently resynched with Dreamweaver CS5.5 v11.5.
    The problem  is that  image links now display only <alt> text without the image. The page navigation remains intact, as does the CSS link.
    Image paths point to image folder within the addon/subdomain folder.
    I've tried setting the links to both site and document - regardless of the path the images won't display.
    Enter the domain URL only:
    http://www.dealerzine.com/ = <alt> text only
    Enter the absolute address: mysite.com/myaddondomain.com
    http://www.siebenthalercreative.com/dealerzine.com/ = <alt> text only
    Enter as a subdomain (below): mysubdomain.mysite.com
    http://www.dealerzine.siebenthalercreative.com/ = correct image display (below)
    Is there anything obvious I'm overlooking? It looks like there's something in the dot-com suffix that might be affecting how the lookup treats the image display but the correct display of <alt> text indicates (to me) the image folder is being accessed.
    My host IT has spent a lot of time looking at the back end with no solution other than a vague suspicion that the site relative forward slash might be a (Apache) problem.
    Thanks in advance -

    Problem solved. cPanel security HotLink Protection wrote domains to .htaccess and blocked image links - which should have been obvious. Once disabled addon domains are again displaying normally.

  • Search Query Web Part thumbnail image link broken

    Hello,
    I have 4 farms spread across the world and I want to pull news from Farm 1 (headquarters) into farm 2, 3, and 4. In SharePoint 2007 I did this with content deployment by pushing only the news site out to the other 3 farms.  However, from
    reading content deployment guidelines in SP13 I feel this is no longer a supported configuration.
    I am trying to use the search query web part to accomplish this now.  I have a search query web part that I am using to roll up articles from SharePoint at farm 1.  So far it is mostly working, the articles are pulled in and I can see
    them.  When I click the link it takes me from the current farm (farm 2) to farm 1 to read the article.  The only problem I am having is that the rollup image does not display at farm 2, 3, or 4.  I believe this is happening because the image
    URL at the source is getting saved as a relative URL.  Even if I try to override the relative URL to the image with an absolute URL then it just forces the URL back to a relative URL because clearly SharePoint is smarter than I am and there is no reason
    I should ever want an absolute URL.
    I should add that to get this working, in my search settings, I had to configure an extra content source (to farm 1).
    So my question is what is the best way to handle this?  Is there an option in my search configurations on farm 2 to override URL's for a particular content source?  Am I even headed down the right path trying to do this with the content search
    web part?
    Thanks,

    Hi Tom,
    I have been trying to figure out what you mean when you say I am using 'Page item' instead of 'Picture'.  I don't understand what you mean.
    When I set up a page that will be published I have actually been using an 'Article Page' content type for the news item I want to share on all of the farms.  After creating the page there is a section at the bottom for a 'Rollup Image'  I specify
    the URL in this rollup image but the actual image is stored in an 'Assets' Library.  I have no problem with the article page itself showing up on Farm 2, just not the image.  The "Rollup Image" data type is Publishing Image - "Rollup
    Image is a site column created by the Publishing feature. It is used on the Page Content Type as the image for the page shown in content roll-ups such as the Content By Search web part." 
    Question 1: Are you saying that I need to somehow replace that rollup image field with a custom site column field?
    Question 2: If I set up a new column then do I need to worry about connecting catalogs?
    In your post from December 9th it sounded like you had this working in your test environment. 
    Question 3: Did you have it working using a different configuration there? 
    Question 4: If so, did it require having a separate web application just for Assets, or were you using a custom site column there?
    In Farm 2, after I connected my catalog from Farm 1, I found that a Pages library at the top level of my site collection contained some strange entries. I have files in that library called
    CatalogItem--1684387697
    CatalogItem-364050575
    Category-
    Category-1211-4576
    The first CatalogItem gives me an error "Sorry, something went wrong".  The rest seem to contain images from Farm 1.  However, news articles still are not finding those images.  I suppose that is because the 'Rollup image' link is
    still pointing to a different path than that connected catalog.  Anyway, those items were checked out to me and were not published.  I checked them in and published those Category/CatalogItem connections hoping that would work, but
    that didn't help either.  
    When I set up my catalog in farm 1 I only checked 'Enable this library as a catalog'.  None of the other fields seemed to apply since I am not publishing to a public site (Anonymous access) and also since I am not trying to tie identifiers to catalog
    items (Catalog Item URL fields).  Additionally when I connected to my catalog I tried "<label for="ctl00_PlaceHolderMain_connectionTypeSection_fullConnection">Integrate the catalog into my site" with the setting "</label><label
    for="ctl00_PlaceHolderMain_rewriteDecisionSection_noURLRewriteRadioButton">Make URLs point to source catalog".  I also tried "</label><label for="ctl00_PlaceHolderMain_connectionTypeSection_manualConnection">Connect,
    but do not integrate the catalog".  Both of those settings sounded like they might force catalog items to look to the source (Farm 1).  Neither worked.  There are a lot of other settings but none of them seem to apply to my situation. 
    I'm not trying to configure Navigation Hierarchy, Category Pages, or Item Pages.  Maybe I need to do something with "Catalog Item URL Format", but I'm not sure what settings I should try.</label>
    Questions 5,6: Do you have recommendations for my catalog/catalog connections to get this working?  Obviously my current configuration is not right or else it would work, but am I even close?

  • Blue box around image link

    I seem to get this obnoxious blue box around all image links
    I create in Dreamweaver cs3. Has anyone experienced this and if so
    how do I get rid of that bugger

    >I am very new to this, but the way I got round this
    problem was to add
    >border="0" after the height="xx" for that image.
    That'll work but it requires border="0" to be individually
    added to every
    single <img> which is a link in every single page on
    your site.
    The method suggested by Alec is created just the once and
    applies
    automatically to every single <img> which is a link on
    every page both now
    and into the future i.e. nil maintenance.
    I know which I prefer :-)
    Regards
    John Waller

  • Image Links To Emails

    Hi designed my site in photoshop, moved it into
    dreamweaver....i need to make a image link into outlook(contact us
    button). is this possible? i'm not using css, just dreamweaver
    straight up importing from photoshop.
    Thanks

    Makes sense, but what about exposing the client's email to
    the spambots via
    the mailto:?
    Walt
    "Michael Fesser" <[email protected]> wrote in message
    news:[email protected]..
    > .oO(JoeyD1978)
    >
    >>You would just enter the address as:
    >>
    >> mailto:[email protected]
    >>
    >> This is a horrible idea though. What if they use
    Gmail, Yahoo Mail, etc?
    >> Then
    >>they open up Outlook and have to escape out of a
    bunch of setup messages
    >>which
    >>is extremely annoying. Use a contact form instead.
    >
    > The most userfriendly idea is to use both. The form for
    people who use
    > webmailers for example, and the direct link for people
    who prefer their
    > local mail app.
    >
    > Micha

  • Image links aren't updating from template

    If I create a page from template, not all the image links are updating, more specifically, mouse over event links are not updating. Is there anything I need to change to get these links to change from the template? I'm using Dreamweaver CS6

    <img src="../images/robin_tour_n.png"                            
    onmouseover="this.src='../images/robin_tour_o.png'"
    onmouseout="this.src='../images/robin_tour_n.png'" />
    This part updates: <img src="../images/robin_tour_n.png"
    But this part doesn't:
    onmouseover="this.src='../images/robin_tour_o.png'"
    onmouseout="this.src='../images/robin_tour_n.png'" />

  • Getting Rid of Standard Colored Links Around Image Links

    I have included several images on my CS4 Dreamweaver site
    that link to other pages, sites, etc. when clicked. An unexpected
    and annoying standard blue (active), purple (visited), etc. link
    border appears around the image when viewed in IE and AOL browsers.
    These do not appear in Live View in CS4. How do I get rid of this
    annoyance?

    .oO(DWFAQ.info)
    >Who's to say what's correct and much easier?
    The W3C and the HTML/CSS experts here and elsewhere.
    >Not simple if you want some image links with border, some
    without.
    Still simple.
    >To each their own.
    The 'border' attribute is deprecated for a reason. It's not
    only old
    style, but also bloats the code, because you have to apply it
    to each
    and every image. A hundred images, a hundred 'border'
    attributes. Quite
    a waste of resources, which also makes the markup harder to
    maintain.
    With CSS you just need a single rule to give every image link
    on every
    page on the entire site the same default style, usually
    borderless. If
    you then want some links differently - nothing easier than
    that. Either
    apply a class or ID to them for individual styling or to
    their parent
    element to access an entire group of links at once, for
    example all the
    buttons in a nav bar:
    a img {border: 0}
    #nav a {border: 2px outset #F00}
    That's it. Easy, flexible, efficient. Once you've learned
    about the
    power of CSS, you don't want to miss it anymore. Deprecated
    and
    inefficient markup was yesterday (or better last century).
    Micha

  • Border on image links

    DW CS3
    How can I get DWCS3 to stop automatically placing a border on
    image links?
    DWMX automatically assigned a border=0 to each image link but
    CS3 leaves it
    blank so that I have to manually add the zero.
    Bobby Baxter
    Daylilies, Videos, & Web Design
    http://happymoosegardens.com
    http://thegardensite.com

    Thank you, that resolved the issue.
    Bobby Baxter
    Daylilies, Videos, & Web Design
    http://happymoosegardens.com
    http://thegardensite.com
    "David Powers" <[email protected]> wrote in message
    news:gqnub8$30a$[email protected]..
    > Bobby Baxter wrote:
    >> How can I get DWCS3 to stop automatically placing a
    border on image
    >> links?
    >
    > Create the following style rule:
    >
    > a img { border: none; }
    >
    >> DWMX automatically assigned a border=0 to each image
    link but CS3 leaves
    >> it blank so that I have to manually add the zero.
    >
    > It was dropped in CS3 because the border attribute on
    images is
    > deprecated, and also because the CSS rule is much more
    efficient. It
    > automatically applies to every image inside a link, as
    long as the style
    > sheet is attached to the page.
    >
    > --
    > David Powers
    > Adobe Community Expert, Dreamweaver
    >
    http://foundationphp.com

  • Pathing for Image Links - CS5.5

    Hi, we currently have out InDesign file in a folder which the name can change but within that folder we have a subfolder called images under we always have our images so our image links which get populated from XML data always point to file://images/imagename.eps so normally no problem finding links.  What we are looking to do is have other subfolders with different InDesign files at same level as images subfolder but be able to utilize same images.  Is there a way to point to these somehow without knowing the entire path, just being able to go back to the images subfolder which would be be up one level from actual InDesign file.  I know on websites, we are able to do some ../ type of stuff which would handle that but never tried to do in InDesign.  Thanks, Joe

    Hi MissJB,
    Please try downloading Dreamweaver CS5.5 from the Direct Download Links available at : http://prodesigntools.com/adobe-cs5-5-direct-download-links.html
    But make sure you follow the important instructions on the page before initiating the download.

  • In an eMail message, when I attempt to save two photos by clicking the 'Save 2 Images' link, not the 'Save Image' link, the images are not saved. (I use I I apologize for the late notice, butOS7 on IPhone5). Is this feature broken?

    In an eMail message, when I attempt to save two photos by clicking the 'Save 2 Images' link, not the 'Save Image' link, the images are not saved. (I use I I apologize for the late notice, butOS7 on IPhone5). Is this feature broken?

    Please don't post the same question multiple times!

  • One more reason to put my iMAC at the curb. I can open and view Picasa photo links when I sign in via Google, but if I'm in Mail and click on the Picasa image link (my own or one someone esle sends me I can't view the images. Thye are all blank white squa

    One more reason to put my iMAC at the curb. I can open and view Picasa photo links when I sign in via Google, but if I'm in Mail and click on the Picasa image link (my own or one someone else sends me) I can't view the images. They are all blank white squares. This started a few weeks ago. Why can't I view Picasa link images through Mail?

    What you are experiencing is 100% related to Malware.
    Sometimes a problem with Firefox may be a result of malware installed on your computer, that you may not be aware of.
    You can try these free programs to scan for malware, which work with your existing antivirus software:
    * [http://www.microsoft.com/security/scanner/default.aspx Microsoft Safety Scanner]
    * [http://www.malwarebytes.org/products/malwarebytes_free/ MalwareBytes' Anti-Malware]
    * [http://support.kaspersky.com/faq/?qid=208283363 TDSSKiller - AntiRootkit Utility]
    * [http://www.surfright.nl/en/hitmanpro/ Hitman Pro]
    * [http://www.eset.com/us/online-scanner/ ESET Online Scanner]
    [http://windows.microsoft.com/MSE Microsoft Security Essentials] is a good permanent antivirus for Windows 7/Vista/XP if you don't already have one.
    Further information can be found in the [[Troubleshoot Firefox issues caused by malware]] article.
    Did this fix your problems? Please report back to us!

  • Image Links "Page" is OV or and I can't delete them

    I'm using InDesign CS4 on Windows XP Pro. We have several documents within a book file in which some of the image links have page numbers OV and < >. I know the OV means overset text, but I'm not sure what the < > means. I know it has something to do with XML. That's not the problem.
    The problem is: How do I delete these links (images)? Obviously, the images are no longer in the document but I can't figure out how to delete them from the links palette and, therefore, from the document. I've looked in the Structure panel, but I can't see a corelation.The document still prints fine, and I can create a PDF without a problem, but I'd like to clean-up the files.
    Any suggestions?
    Thanks,
    Lloyd Lathrop

    I find this is a problem often occurs when using xml (if the document has ever been populated using a data publishing tool such as XMPie/EasyCat/Stibo etc you can get residue xml lingering).
    To get rid of it open the Structure View: View/Structure/Show Structure or Alt-Apple-1 (sometimes the menu option isn't there depending on which menu set you have selected).
    You will see the xml panel open on the left with something akin to a folder structure. Open these up until you find a reference to the offending image link and delete it (it will give you an option to untag or delete - i think either will do in this instance).

Maybe you are looking for