Use image pipeline on external images?

I have a partial getting an RSS feed and presenting the results in a partial. I’d like to use the image processing to grab the images and make smaller versions that are hosted locally to reduce page load speeds. I haven’t done much with the image pipelines and would appreciate any guidance!

{{ $hubspotBlog := getJSON "" }}
<section id="blog" class="section blog-front">
{{ range $post := $hubspotBlog.objects }}
<img class="img-fluid lozad" data-src="{{ $post.post_rss_summary_featured_image }}">
{{ end }}

Hugo Pipes work only for local images.

1 Like

Ah so no way to fetch images like we do with JSON etc

Time to think up a pre-hugo step then. Cheers :+1:

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.