1

I'am working on a site, and I'd like to give users the option to choose their own background.
So is it possible to browse the client's computer for an image, and without uploading it to the server, setting it as background?

Szabolcs
  • 1,463
  • 2
  • 12
  • 20

1 Answers1

1

Yes, localStorage is your friend. It will ensure that whenever your site is accessed from this person's computer on that particular browser, the image will show up. See this answer: How to save an image to localStorage and display it on the next page?

Community
  • 1
  • 1
sg.cc
  • 1,726
  • 19
  • 41