Copied to clipboard

Flag this post as spam?

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


  • Khaled Elmahdi 2 posts 22 karma points
    Sep 19, 2012 @ 18:48
    Khaled Elmahdi
    0

    Images not appearing in 4.9

    Hello,

    I have a freshly installed umbraco 4.9, and I have an issue showing images from media picker in a template.

    My code in the template like this:

    <div class="grid_4">
    <a href='#'>
    <umbraco:Item runat="server" field="image2" />
    <umbraco:Item runat="server" field="image2" xslt="umbraco.library:GetMedia({0}, true())/@nodeName" />
    <umbraco:Item runat="server" field="image2" xslt="concat('&lt;img src=&quot;',umbraco.library:GetMedia({0}, true())/umbracoFile, '&quot; /&gt;')" xsltDisableEscaping="true"/>
    </a>
    </div>

    and result when i run the page is:

    <div class="grid_4">
        <a href='#'>
            1100
    
    
        </a>
    </div>

    Any idea what I am doing wrong?

    Thank you.

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Sep 19, 2012 @ 19:01
    Jan Skovgaard
    1

    Hi Khaled

    Are you sure that there has actually been chosen an image for the image node with the name of 1100? Could you perhaps show a screendump from the backoffice?

    If the image has been mapped correctly then try having a look at this issue: http://issues.umbraco.org/issue/U4-776 - Seems like inline editing is perhaps broken in some scenarios.

    Hope this helps.

    /Jan

  • Khaled Elmahdi 2 posts 22 karma points
    Sep 20, 2012 @ 10:35
    Khaled Elmahdi
    0

    Hi,

    I downloaded the bin file and it solved my issue.

    Thanks,

    Khaled

  • RolandWolters 42 posts 63 karma points
    Oct 18, 2012 @ 22:02
    RolandWolters
    0

    hey I think u have the same issue.....

    Freshly downloaded 4.9 setup.

  • RolandWolters 42 posts 63 karma points
    Oct 18, 2012 @ 22:14
    RolandWolters
    0

    yup, it's fixed with the patched umbraco.dll. 

    tnxs Sebastiaan! #h5yr

Please Sign in or register to post replies

Write your reply to:

Draft