Skip to content

How to use transformImgUrl on img upload? #669

Closed Answered by imzbf
CyberSekure asked this question in Q&A
Discussion options

You must be logged in to vote

If you need to display an image using base64, there seems to be no way to shorten it?
When uploading an image, you can directly convert the image content in the onUploadImg event; there's no need to set transformImgUrl. This method is used when pasting content similar to ![](./img.png).

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@CyberSekure
Comment options

Answer selected by CyberSekure
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants