private static string GetImageUrl_Content(int id, Color imageBackColorValue, PictureTrimmerImageBackColorApplyMode imageBackColorApplyMode) { // Add a timestamp parameter to the query URL to ensure that the image is reloaded by the browser) string result = "ImageFromDB_Content.ashx?id=" + id.ToString() + "&imageBackColorValue=" + HttpUtility.UrlEncode(CodeCarvings.Piczard.Helpers.StringConversionHelper.ColorToString(imageBackColorValue, true)); result += "&imageBackColorApplyMode=" + HttpUtility.UrlEncode(((int)imageBackColorApplyMode).ToString()) + "×tamp=" + DateTime.UtcNow.Ticks.ToString(); return(result); }
private static string GetImageUrl_Content(int id, Color imageBackColorValue, PictureTrimmerImageBackColorApplyMode imageBackColorApplyMode) { // Add a timestamp parameter to the query URL to ensure that the image is reloaded by the browser) string result = "ImageFromDB_Content.ashx?id=" + id.ToString() + "&imageBackColorValue=" + HttpUtility.UrlEncode(CodeCarvings.Piczard.Helpers.StringConversionHelper.ColorToString(imageBackColorValue, true)); result += "&imageBackColorApplyMode=" + HttpUtility.UrlEncode(((int)imageBackColorApplyMode).ToString()) + "×tamp=" + DateTime.UtcNow.Ticks.ToString(); return result; }