View Uploaded Image in popup

I have a requirement, where you can attach an image in a section using attach action and below it I have a preview button on click it shows the uploaded image in popup.

The image should be visible in a section popup i.e. Local Action modal dialogue section.

I have checked that attached images stores in Data-Content-Image or Link-Attachment so Iam looking for a way to fetch them and preview them in my section.

if there are any alternate process to do this, please suggest them.

Thank You.

I have found a solution where you can use pyThumbnailReferance property form Case related content (pyWorkPage.pyCaseRelatedContent) in a property. you have to use a DT to set the value to other property and call that property in Image control. If you want a popup put that section in Flow action and call that on a button local action.