Copied to clipboard

Flag this post as spam?

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


  • Matt 308 posts 730 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 308 posts 730 karma points
    Jan 25, 2018 @ 10:18
    Matt
    0

    Strange, its now working....

    Thanks :)

  • Alex Skrypnyk 5908 posts 22603 karma points MVP 4x admin c-trib
    Jan 25, 2018 @ 10:27
    Alex Skrypnyk
    0

    Hi Matt

    What version of Umbraco are you using?

    /Alex

  • 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