In this lesson, learn how to display a preview of an uploaded image. There are a couple different approaches for this:
src
attribute on an img
elementURL.createObjectURL
function on the image File
objects to get a string for use on the src
attribute of an img
element. (This approach can be done BEFORE upload)Links