Copied to clipboard

Flag this post as spam?

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


  • Neil Campbell 58 posts 182 karma points
    Jul 01, 2010 @ 09:29
    Neil Campbell
    0

    Issue with media after 4.5 upgrade in legacy xml mode

    Hi all,
    Has anyone had any issues with getting media after a 4.5 upgrade running the legacy xml mode.

    Basically the code looks like this:

    <img src="{umbraco.library:GetMedia($mediaId, 'false')/data [@alias = 'umbracoFile']}" />

    I know the new xml schema will store data differently, but I am running legacy mode, so the old style should still work.

    The issue is that nothing is coming back. If I print umbraco.library:GetMedia($mediaId, 'false') to screen I see all the properties set on the image, but as soon as I try access a property, I get nothing back.

    Any ideas?

    Cheers,
    Neil

  • 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.

    Continue discussion

Please Sign in or register to post replies