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?
Asked
Active
Viewed 60 times
1

Szabolcs
- 1,463
- 2
- 12
- 20
-
if u don't upload it wil disappear ever time u refresh the page – Abhishek Pachal Apr 15 '15 at 04:22
1 Answers
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?