ignatandrei / AspNetCoreImageTagHelper

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 "

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

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 "

License:MIT License


Languages

Language:C# 68.2%Language:HTML 26.1%Language:CSS 3.7%Language:JavaScript 2.0%