upload image profile

Forum rules
Please note that response time for technical support is within 3-5 business days.
Post Reply
lucarg76
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.

mert.sincan
Posts: 5281
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 4 guests