0

Does jasny upload the image onto my server? Or is it a local file? If it is a local file, does it mean that our browser can access our private files?

Knut Holm
  • 3,988
  • 4
  • 32
  • 54
Adam
  • 1,684
  • 1
  • 19
  • 39

1 Answers1

0

The preview is generated client side using a FileReader object.

reader.readAsDataURL(file)

You can take a look at the source code of the Fileinput.change function.

Arnold Daniels
  • 16,516
  • 4
  • 53
  • 82