Symptom
Your requirement is to upload the image to the Employee Profile. But you are not able to upload some image formats in HTML5 or Silverlight clients.
Environment
SAP Hybris Cloud for Customer
Reproducing the Issue
- Login to the HTML5 client
- Go to Administrator workcenter
- Go to Users view
- Go to Employees subview
- Show Active Employees
- Choose any Employee XYZ (where XYZ represents the Employee)
- Select Edit
- In the Employee Image section, select the button Image->Add
- Browse and Upload the image
- Select Save and Close
- Refresh the screen
- Select the Employee XYZ
- At the bottom, in the Details of the Employee, the Employee Image is not available
- We see the message:
This image format is not supported by Silverlight.
Cause
Some image formats are not supported for upload in HTML5 and Silverlight clients.
Further, some of the images uploaded in HTML5 are not visible in Silverlight client. This is the system behaviour.
Resolution
Image formats supported in HTML5 are .jpg , .png , .bmp, .jpeg, .gif
Image formats which not supported in HTML5 are .exif , .jfif
The Image formats supported in Silverlight client are .jpg , .jpeg and .png
Keywords
Employee Profile, Image formats, .jpg , .jpeg , .exif , .jfif , .png , .bmp, .gif , KBA , employee profile , image , image formats , .jpg , .jpeg , .exif , .png , .jfif , .bmp , .gif , profile image , employee profile, image formats , AP-RC-UIF-XTS , UI Framework Cross Topics , How To