Copied to clipboard

Flag this post as spam?

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


  • Matt 358 posts 841 karma points
    Jan 25, 2018 @ 10:14
    Matt
    0

    Image wont show but will show - Confused

    Hello all,

    I need some help in getting my image displaying, I just cant figure out whats going wrong.

    So I use the image picker and if I use the following code my image will display;

    <img src="@Umbraco.Media(Convert.ToString(@Umbraco.Field("logo"))).umbracoFile" alt="" />
    

    However now I add my own code so I use the following;

    <div class="right-section-div w-clearfix"><img src="@Umbraco.Media(Convert.ToString(@Umbraco.Field("logo"))).umbracoFile" width="117" class="image w-hidden-small w-hidden-tiny">
    

    Then my image stops working, I can see the image is suppose to be there but nothing displays?

    Thanks in advance, Matt

  • Matt 358 posts 841 karma points
    Jan 25, 2018 @ 10:18
    Matt
    0

    Strange, its now working....

    Thanks :)

  • Alex Skrypnyk 6163 posts 24143 karma points MVP 8x admin c-trib
    Jan 25, 2018 @ 10:27
    Alex Skrypnyk
    0

    Hi Matt

    What version of Umbraco are you using?

    /Alex

Please Sign in or register to post replies

Write your reply to:

Draft