How can I render Google image URLs?

It’s me again! haha

I’ve been playing around with Google’s APIs for fun. They return image URLs like this:

"smallThumbnail" : ""

When I reference this data point in the image URL field, it doesn’t render. I’m assuming it’s looking for a filename extension.

Is there a workaround for this?

Hey @ghanbak,

Yeah I’m able to replicate this with the same API.

I’ve determined that the reason here is because the thumbnail link is http and not https, where Judo only accepts https at this time.

Thankfully in this case, the workaround is a Judo feature called a “Helper”, where I was able to modify the image url to be this and it works:
{{replace data.volumeInfo.imageLinks.smallThumbnail "http" "https"}}

Here’s a full (new) article on Helpers here:

Might be a slightly different path for you but give it a shot and let me know.

1 Like

Awesome! Thanks for the tip. Didn’t realize it need https to work properly :slight_smile: