Is it possible to use the HTML embed to generate code imported from a spreadsheet?
Looking to display logo’s with clearbit’s company logo API.
An example call “<img src="https://logo.clearbit.com/https://sendtask.io/">
”
It works in an environment as you can see here: https://codepen.io/nogoodusernames/pen/YLxKVx
But does anyone know how this can be done in webflow?
Here is my site Read-Only: LINK
(how to share your site Read-Only link)
Hi @tohmasch, have you tried to past the img tag in the custom html embed widget? Custom code | Webflow University
Place embed on page, paste code into embed, publish site.
I hope this helps!
Hi @cyberdave,
Yes, this way works. But I’m wondering if there is a way to do it dynamically?
hi @tohmasch, well, you can change the url by using an collection field in the embed: Overview dynamic content | Webflow University
You can replace the url in source code with a field of the logo you wish to show on the page.
You can place an embed into a collection list, then add your source code and replace the domain name you are looking for with the cms field value.
Here is how to import items into a cms collection: Import collection items | Webflow University, this will let you create a collection from your spreadsheet, to use as values in your embed.
1 Like
Hey dave,
That was a great suggestion. Solved my problem. Thanks so much!
1 Like