mpaiva / nolatin-plugin

1 stars 0 forks source link

image preview #8

Open mpaiva opened 1 month ago

gursewak-sohi commented 1 month ago

Done.

Time taken - 30 mins

mpaiva commented 1 month ago

Is there a way to render the image in the preview from the source URL?

Have a look at this: https://www.figma.com/widget-docs/api/type-ImagePaint/

mpaiva commented 1 month ago

I moved the preview just below the url source. Pushed the code .

gursewak-sohi commented 1 month ago

ImagePaint: Applies an image as a fill or background to a shape or frame, but does not directly render the image as a standalone element like Image.

So do we need Image or ImagePaint? So basically there will be no difference in our scenario.

mpaiva commented 1 month ago

The json will need the image. The Figma frame preview will the ImagePaint.

On Wed, Aug 14, 2024 at 11:50 AM Gursewak @.***> wrote:

ImagePaint: Applies an image as a fill or background to a shape or frame, but does not directly render the image as a standalone element like Image.

So do we need Image or ImagePaint? So basically there will be no difference in our scenario.

— Reply to this email directly, view it on GitHub https://github.com/mpaiva/nolatin-plugin/issues/8#issuecomment-2289161144, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAF62ZW6PV7AQV6KETR33W3ZRN4ELAVCNFSM6AAAAABMLNIFP2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEOBZGE3DCMJUGQ . You are receiving this because you authored the thread.Message ID: @.***>

gursewak-sohi commented 1 month ago

Please check now - time taken 20 mins