Zahema February 2016

How to use blob URL in img tag src?

I have a generated blob url with the following format :

blob:file%3A///2aade.....

I tried to use it directly:

src="blob:file%.... "

and tried it with"blob://" before the url. Which raised a 404 not found error!

what is the correct way to display an image through the blob url?

Answers


Zahema February 2016

The correct way is:

src= "blob:file....."

just set the src to the blob url

My mistake was not making sure it was an image blob in the first place!

Post Status

Asked in February 2016
Viewed 2,289 times
Voted 6
Answered 1 times

Search




Leave an answer