An image can be added by POST the image data to /api/settings/logo.
The image may be transmitted as binary data in the body stream or by actual file upload.
Identity Panel first validates that the posted data is less than 100KB then attempts to parse it using System.Drawing.Image.
If the image parses successfully the image is converted to a Base64 string and added to Theme settings and saved.
Comments
0 comments
Please sign in to leave a comment.