add transparency support on image resizing

This commit is contained in:
sbwalker
2023-08-04 16:07:37 -04:00
parent 92a4a1b210
commit f7bd03d051
4 changed files with 20 additions and 7 deletions

View File

@ -210,7 +210,7 @@
private string GetLogo(int fileid)
{
var url = ImageUrl(fileid, 100, 100, "", "", "ffffff", 0, false);
var url = ImageUrl(fileid, 100, 100);
url = (!string.IsNullOrEmpty(PageState.Alias.Path)) ? url.Substring(PageState.Alias.Path.Length + 1) : url;
return Constants.PackageRegistryUrl + url;
}