Get absolute root path
@HttpContext.Current.Request.Url.GetLeftPart(UriPartial.Authority)@Url.Content("~/" + img.Url + "?h=1000&q=90")