So I am not super familiar with html helpers or Razor syntax. Im sure there is a way to do what I am trying to do with those two, but im not entirely sure. Could be easier to do it via Controller, but I wanted to give it a go in the View. Here's some code:

```
<img src="@Url.Content(Model.Photo)" alt="@Model.AlternateText" />

```

So this displays my images perfectly as I'd like them to e displayed. Now I wanted to add a box that the user could check or uncheck, which would basically make the image visible or not. Is there a way to somehow integrate the html checkbox helper into my img? Something along these lines I suppose...

```
@Html.CheckBox("Photos", "Show Image")
<img src="@Url.Content(Model.Photo)" alt="@Model.AlternateText" />

```

Thanks!