...
Adding query parameters
Code Block | ||
---|---|---|
| ||
@Html.PropertyFor(x => Model.CurrentPage.ContentReferenceOptimizely, new { QueryParameters = "format=webp&quality=80" }) |
Output
Code Block | ||
---|---|---|
| ||
<img alt="image01.jpg" src="/globalassets/fotoware/2024/6/image01.jpg?format=webp&quality=80"> |
...