how to pass image source from model property.

I have a razor view index that gets  @model IEnumerable<Test.Models.Pet> collection from the controller.  The model has 2 properties, ImageUrl and Name.
I build the view this way:
@for (int cnt=0;cnt<Model.Count();cnt++)
        //string imageUrl = @Model.ElementAt(cnt).ImageUrl;
        if (cnt == 0)
            <div class="col span-1-of-4 box">
                <h4>@Html.DisplayFor(model => model.ElementAt(cnt).Name)</h4>
                <img src="WHAT GOES HERE" alt="@Html.DisplayFor(model => model.ElementAt(cnt).ImageUrl)" width="100" height="100" />

I can get the imageurl value in the alt attribute(just to see what I've returned), but can't figure out what to put in the src="" attribute.  Please help.
dan hendersonAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Try this code:
<img src="~/Content/img/@Html.DisplayFor(model => model.ElementAt(cnt).ImageUrl)"/>

Open in new window

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
dan hendersonAuthor Commented:
I thought I had tried this, but maybe not.  Thanks for the help!!
Glad to help you!
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.