Uploading profile pictures on portal

Abbottronix
Tera Guru

Users are unable to upload profile pictures to their profiles on the portal. 

Abbottronix_0-1736313897047.png

At first I thought it might be due to restrictions on the size and type of attachments allowed, but the maximum attachment size in security properties is 200MB and all sorts of image types are allowed, so I don't think that is the problem.

1 ACCEPTED SOLUTION

Abbottronix
Tera Guru

Turns out that the problem was caused by an edit someone had done to line 24 of the HTML body of User Profile widget on the portal page. 

 

Abbottronix_0-1736489181885.png

 

View solution in original post

16 REPLIES 16

@Abbottronix 

Was it working fine earlier?

Did you recently upgrade?

when they select the image any error in browser console?

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Runjay Patel
Giga Sage

Hi @Abbottronix ,

 

try uploading .png it will take.

.jpg is not taking.

RunjayPatel_0-1736315115388.png

 

-------------------------------------------------------------------------

If you found my response helpful, please consider selecting "Accept as Solution" and marking it as "Helpful." This not only supports me but also benefits the community.


Regards
Runjay Patel - ServiceNow Solution Architect
YouTube: https://www.youtube.com/@RunjayP
LinkedIn: https://www.linkedin.com/in/runjay

-------------------------------------------------------------------------

 

I've tried PNG and it's the same

Hi @Abbottronix ,

 

I tried with multi pics, event jpg is take but not all 🙂

Try multiple pics with different size and dimensions.

 

-------------------------------------------------------------------------

If you found my response helpful, please consider selecting "Accept as Solution" and marking it as "Helpful." This not only supports me but also benefits the community.


Regards
Runjay Patel - ServiceNow Solution Architect
YouTube: https://www.youtube.com/@RunjayP
LinkedIn: https://www.linkedin.com/in/runjay

-------------------------------------------------------------------------

Anand Kumar P
Giga Patron
Giga Patron

Hi @Abbottronix ,

 

Profile pictures are stored with the user record in the live_profile table:

  1. Navigate to live_profile.list
  2. Search for the User whose photo you want to remove or edit.
  3. Go into the record and click the Delete button under the photo.
  4. Save the record. 

cache.do in non prod instance sometimes it will take some time to upload.

 

If my response helped, please mark it as the accepted solution and give a thumbs up👍.
Thanks,
Anand