upload image profile

Post Reply
Posts: 1
Joined: 02 Apr 2019, 09:18

18 Dec 2020, 13:25

I wanted to give users the possibility to upload their photo to be included in their profile but the image must be present in the folder src\main\webapp\resources\verona-layout\ images\
Come can I do?
Gianluca C.

Posts: 4569
Joined: 29 Jun 2013, 12:38

21 Dec 2020, 17:48

I think you need to upload the user's images to your server. After you upload the images, you can give the link on the server to the <img> tag.
Please see;
https://stackoverflow.com/questions/115 ... age-in-jsf
https://www.javaknowledge.info/upload-a ... rimefaces/

Best Regards,

Post Reply

Return to “Verona - PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 1 guest