Hi all,
How can I display a preview of an uploaded image on the same screen when a user uploads an image?
Regards,
Upender
Hi all,
How can I display a preview of an uploaded image on the same screen when a user uploads an image?
Regards,
Upender
To display a preview of an uploaded image on the same screen, you can use the ‘Image Content’ data instances in Pega Platform. The ‘Image Preview’ field in the form contains a preview of the image and indicates the width and height of the image in pixels. After the user uploads an image into this data instance from their workstation or local area network, a message box confirms when the upload completes. Save the Image Content form to display the image preview on the same screen. Additionally, you can create a property in the case designer and select type as Attachment in the Fancy category to display the uploaded image in the section itself.
Please refer the below article:
Uploading image and displaying it to the user in UI | Support Center (pega.com)
To display a preview of an uploaded image on the same screen in Pega, follow these steps:
Use ‘Image Content’ Data Instances:
Upload and Confirmation:
Display Image Preview:
Create an Attachment Property:
Thanks.