How to add Icons in the database for dynamic selection

Hie @vishsahu
I am trying to have icons added into datatypes like amenities, services, badges and features etc… So that I can then dynamically avail them for selection in forms when users add their various options. How can i do this because Icons are usually in incompatible formats and the drapcode icons are only available in the builder and not in the back end or preview mode. Fontawesome is only available as code. I have this look but it’s hard-coded…


Would be great if I could have such coming from the database.

Thanks

Hi @WillieMak,

You can store these icons as files/images in the collection field and then display them using the image component, like you display the dynamic text.

Thanks.

1 Like

Hie @vishsahu . This is what I thought as well, unfortunately the Icons seem to be available in formats not supported by Drapcode’s file/image options. Unless I am missing something or am approaching it from the wrong end.

Hi @WillieMak,

You can use some online tool to convert these icons into jpg/png formats supported by DrapCode.

Thanks.

1 Like

Hi @vishsahu Coincidentally I had thought of searching for options and found quite a few useful converters. Had come to inform you that the problem has been resolved. Thanks @vishsahu

1 Like