sid
December 18, 2020, 5:45am
10
Hi.
Hi.
Trying out the new Wappler Extensibility prowess - custom modules - I created and implemented a NodeJS module which accepts an image path and return is base64 encoded string.
This string can be used to store images in DB or just to render it on the client side as src for HTML image tag img.
Its a very simple use case which does not do much in terms of custom code. But this showcases how powerful this feature is.
Package link: https://www.npmjs.com/package/image-to-base64
You can downloa…
Take a look at this image to base64 custom module I created. You can probably use some library like this for your requirement to create image from base64.