Open Closed

How to access images from solution root/source folder in module blazor project #5519


User avatar
0
SGajjelli created

Hi Team , How to access images from solution root/source folder in module blazor project? We tried below code/path but it didnt work

  • ABP Framework version: ABP CLI 7.3.0
  • UI Type: Blazor Server
  • Database System: EF Core (SQL Server
  • Tiered (for MVC) or Auth Server Separated (for Angular): no
  • Exception message and full stack trace:NA
  • Steps to reproduce the issue:<div class="imageWrap"><img src="/wwwroot/images/favicon/android-chrome-192x192.png" height="75px" width="75px" /></div>

Thanks


3 Answer(s)
  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    Hi,

    I think it's _content/XXX.Blazor/images/favicon/xxxx.png

    See the document: https://learn.microsoft.com/en-us/aspnet/core/blazor/hybrid/static-files?view=aspnetcore-7.0#static-assets-limited-to-razor-components

  • User Avatar
    0
    SGajjelli created

    Hey, Could you please share the bundling code structure of how to configure the images folder from source folder to module blazor project?

  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    Hi,

    Sorry , I didn't get it, could you explain it in detail?

Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.0.0-preview. Updated on July 17, 2025, 06:22