Internalize file image in Human UI

Hi,
I’m trying to internalize different images in a gh definition with Human UI, because when I share my definition the images are lost. Is it possibile to embody images in a gh definition with Human UI components (for e.g. image for pick button)?


Thank you

Use metahopper’s Relative Path component and put your image in a “/img” subfolder to your definition, and then when you share those files with your colleagues, they will have the image. Alternatively, you can internalize images using Metahopper’s B64 image components, but I don’t recommend that as working with b64 text in GH is less than ideal and can crash the GDI+ display if you try to inspect the b64 text in a Panel or on mouseover.

1 Like