Copied to clipboard

Flag this post as spam?

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


  • Mike Chambers 636 posts 1253 karma points c-trib
    Oct 01, 2010 @ 14:13
    Mike Chambers
    0

    Tokenised local links, but not local media?

    If I add a link to an internal url I get a href="/{locallink:1557}" ie the link is to the document id=1557 so any changes to the page name, sitemap location mean the link isn't broken.

    however, adding a local image from media gives src="/media/1812/message-impression-medium.gif"

    Seems a bit strange that this isn't "/{localMedia:1812}"

    As the scenario goes, I;ve added an image... create all my pages with a link to that media.

    I then realise it was the wrong image, so go to the media section and locate my item and change the image... the link is then something completely different (if I say remove the previous image then the id remains the same but the image name doesn't, if I don't say remove the previous image then I have an orphaned image (eg in the media folder as a file but no longer in the media section of umbraco))

    So for instance the url becomes

    .. "/media/1557/newimage.gif" and all my pages have broken image links.

    I thought the idea of the media area was so that the content has a reference to a media item, and not a static url to a point in time url of a media item...

    Have I got this completely wrong?????

  • Mike Chambers 636 posts 1253 karma points c-trib
    Oct 01, 2010 @ 14:14
    Mike Chambers
    0

    forgot again... (umb: 4.5.2, iis7, .net3.5sp1, iis7) -- and edit in the forum doesn't appear to work

  • Jonas Eriksson 930 posts 1825 karma points
    Oct 03, 2010 @ 04:57
    Jonas Eriksson
    0

    Hi Mike,

    I agree on that. I was almost certain I would find a issue on Codeplex for this, but I didnt. Someone? For a modern great cms like Umbraco media in TinyMce really should be handled gracefully imho. Will require some attention both in the Html rendering functions as in TinyMce-code I'm sure.

    I guess that the working alternative most people use is using a media picker instead. Uploading an image with the exact same filename wont work either as the new upload will create a new id-subfolder aswell.

    Regards

    Jonas

  • Mike Chambers 636 posts 1253 karma points c-trib
    Oct 08, 2010 @ 14:39
    Mike Chambers
    0

    I founf that if you check the remove previous image then it reuses the id-subfolder.

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies