How to allow users to upload or change images on one page and display them on another page?
P粉298305266
P粉298305266 2024-04-01 18:33:31
0
1
457

How to let users upload pictures on one page and then display them on another page? The user can change the image and it will change in other pages as well. Also, I'm talking about using php/js/jquery/mysqli whatever works best. (I'm just a beginner in this field, so I would appreciate it if you use some simple language :))

Edit: Yes, I said I'm a beginner, but that doesn't mean I know nothing about coding. Also, I have seen some solutions from youtube and other stackoverflows questions but all these solutions are about uploading and displaying in the same page or not being able to change the image.

P粉298305266
P粉298305266

reply all(1)
P粉311464935
  1. Format image as Base64 string
  2. Store it in local storage
  3. Get it from local storage in another page and assign it to ID or class.
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!