Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Matthew Jarvis 129 posts 129 karma points
    Mar 17, 2011 @ 12:54
    Matthew Jarvis
    0

    Creating absolute paths in images

    Hi,

    I've got a small problem related to the images used within my RSS Feed (using CPalm's Umbraco Rss in Umbraco 3) in that the images used in the feed are provided via relative links.

    Everytime i create a new news story and update the RSS package i have to manually go into my xml file that contains my news feed to add my web domain before every instance of an image in order for images to be displayed correctly.

    Whenever i update my RSS the feed automatically reverts the paths of images to /media/Image111/jpg and i need to add my domain to the front SOMEDOMAIN/media/image111.jpg in order for the images to be displayed

    I upload all of my images via the media tab in Umbraco. The rss feed simplies collates any news stories created underneath a parent node.

    In the beginnning it was a small inconvinience having to manually edit the xml file with the correct image path but now as i have more news stories released more regularly its starting to get a bit frustating.

    Is there a global setting in Umbraco where I can add "SOME DOMAIN  to the start of an address for an image so that an absolute link is created instead of a relative.

    Thanking you in advance

  • Tim 1193 posts 2675 karma points MVP 4x c-trib
    Mar 18, 2011 @ 10:17
    Tim
    0

    Can you not just add the domain into the XSLT that generates the RSS feed?

Please Sign in or register to post replies

Write your reply to:

Draft