Hi,
In the display "Custom Display Rows" of a "field group" field I added:
Code:
<a href="[cb_cv_company_url]" target="_blank"><img class="cb_cv_company_logo" src="https://logo.clearbit.com/[cb_cv_company_url]" onerror="this.src='/images/commercial-icon.png'"></a>
The onerror function should work: if clearbit sends no logo, an own image is shown. But I get an 404 error, onerror doesn't work. And all efforts to solve this didn't do it.
My question: is there something I have to do because the code is in "Custom Display Rows" of a "field group" field? Have you a hint, what I can do?
A test in my website on another page shows this code working!
Thanks a lot, best regards
Eric