First Release for rendering base 64 images in ASP.NET Core. See https://en.wikipedia.org/wiki/Data_URI_scheme for more details.In the _ViewImports @addTagHelper *, AspNetCore.Mvc.ImageBase64 "
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src
.gitignore
AspNetCore.Mvc.ImageBase64.sln
LICENSE
README.md
appveyor.yml

README.md

AspNetCoreImageTagHelper

Build status NuGet License: MIT

First Release for rendering base 64 images in ASP.NET Core.

See https://en.wikipedia.org/wiki/Data_URI_scheme for more details.

Instructions for AspNetCore:

In the _ViewImports.cshtml put

@addTagHelper *, AspNetCore.Mvc.ImageBase64

In the Razor page just put

<img src='~/ relative path to the image ' asp-render-base64='true' />

NuGet Package at https://www.nuget.org/packages/AspNetCore.Mvc.ImageBase64/

( to generate the nuget package run\

dotnet pack -c Release

in the folder )

Support this software

This software is available for free and all of its source code is public domain. If you want further modifications, or just to show that you appreciate this, money are always welcome.

Donate

  • $5 for a cup of coffee
  • $10 for pizza
  • $25 for a lunch or two
  • $100+ for upgrading my development environment