XZImageProxy is a framework-agnostic web component to show image helper for layout.
npm install --save zx-image-proxy
Or just download the source and include it in your HTML.
<script type="module" src="./xz-image-proxy.js"></script>
<!-- preferably in <head> -->
<script
src="https://unpkg.com/xz-image-proxy@latest/dist/xz-image-proxy.min.js"
type="module"
></script>
Just include link from CDN and you are ready to go.
<!-- inside <body> -->
<xz-image-proxy width="320" height="240">Hello world!</xz-image-proxy>
Any help is appreciated. Found a bug, typo, inaccuracy, etc.? Please do not hesitate to make a pull request or file an issue.
MIT 2023