Best practice for previewing an uploaded image in app admin

RobertDev
Tourist
9 1 0

Hello,

 

What is the best practice of visualizing an already uploaded image via DropZone React component.

The image is already uploaded as an asset to a users active theme, I need to store the public URL returned from the asset I think into a private metafield and show it in some kind of Thumbnail?

The problem is the Thumbnail component is a bit tiny (80px max). Can I use an image tag instead? I could not find any eligible component to do this in polaris (https://polaris.shopify.com/components/get-started/).

 

Regards,

Robert

0 Likes