Base solution for your next web application
Open Closed

Logo file types and size to include SVGs #5505


User avatar
0
kiandra created

Hey guys,

I'm new to ASP.NETZERO and i'm jumping on as a Front End Developer supporting our dev team.

How do I update the accepted file types and maximum resolution for the applicaiton logo which gets configured through the settings screen?

I want to use an SVG file, as it's a smaller file size and will also support retina displays which the current restrictions don't cater for.

Is this something that can be configured within the application codebase?


2 Answer(s)
  • User Avatar
    0
    alper created
    Support Team

    hi

    Is it MVC or Angular?

    PS: If your project is a multi-tenant project, tenants can upload their own logos from their Settings > Appearance tab.

    See these for the logo related code lines

    • <a class="postlink" href="https://github.com/aspnetzero/aspnet-zero-core/blob/145953b17fc3342fc4217e3bca2f89607fc69818/aspnet-core/src/MyCompanyName.AbpZeroTemplate.Web.Public/Views/Shared/Components/Header/Default.cshtml">https://github.com/aspnetzero/aspnet-ze ... ult.cshtml</a>
    • <a class="postlink" href="https://github.com/aspnetzero/aspnet-zero-core/blob/23521b98127e908af7f45c615ecb88af5adf3491/angular/src/account/account.component.html#L9">https://github.com/aspnetzero/aspnet-ze ... nt.html#L9</a>
    • <a class="postlink" href="https://github.com/aspnetzero/aspnet-zero-core/blob/145953b17fc3342fc4217e3bca2f89607fc69818/aspnet-core/src/MyCompanyName.AbpZeroTemplate.Web.Mvc/Areas/AppAreaName/Views/Shared/Components/AppAreaNameHeader/Default.cshtml#L28">https://github.com/aspnetzero/aspnet-ze ... cshtml#L28</a>
  • User Avatar
    0
    kiandra created

    Hi,

    Thanks for getting back to me.

    It's an Angular app. It's a single tenant application, so just looking to override the default logo with an SVG file.

    I'll take a look through your referenced links, and if you can think of anything else that might be useful it would be greatly appreciated.

    Thanks again :)