Home Ask Login Register

Developers Planet

Your answer is one click away!

Zahema February 2016

How to use blob URL in img tag src?

I have a generated blob url with the following format :


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?


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


Leave an answer

Quote of the day: live life