Users should provide data type, otherwise… url will opened in iframe.
It's useful function to display images, that are programmatically generated (eg. in JavaScript while exporting canvas, to image, got from APIs in Base64 format, etc.)
In future releases an option to detect type, by Data URL mime type can be added.
Users should provide data type, otherwise… url will opened in iframe.
It's useful function to display images, that are programmatically generated (eg. in JavaScript while exporting canvas, to image, got from APIs in Base64 format, etc.)
In future releases an option to detect type, by Data URL mime type can be added.