Copied to clipboard

Flag this post as spam?

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


  • illumi 10 posts 75 karma points
    Jan 30, 2019 @ 07:15
    illumi
    0

    Using images in xslt in 7.12.2

    I am tweaking an old xslt based rss feed macro in 7.12.2 but the media picker is returning "umb://media/a48a0fbdd97d4558b5fa52869cf8a4c8" which i haven't been able to use.

    How do i get an image from those parameteres using only xslt?

    (I would love to move the macro to razor but at the moment the client will not allow me)

  • Chriztian Steinmeier 2800 posts 8791 karma points MVP 8x admin c-trib
    Jan 30, 2019 @ 10:45
    Chriztian Steinmeier
    101

    Hi illumi,

    Have a look at this post: https://our.umbraco.com/forum/templates-partial-views-and-macros/92226-working-with-umbraco-udi-in-xslt

    Basically, I wrote a helper to get the media item from the UDI so everything just works as usual.

    Hope that helps,

    /Chriztian

  • illumi 10 posts 75 karma points
    Jan 30, 2019 @ 10:52
    illumi
    0

    Cheers Mr C. :)

  • 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