Gatsby Lazy Loading and trace svg

Hi Anton,

You can do a similar effect with our Imgix integration and the lazysizes plugin.

But essentially to set this up you just need to

  1. Install the plugin
  2. Use srcsets for your images
  3. Add the lazyload class

There’s also the react-imgix plugin to make this process even easier.

Although tracing the image in an svg option doesn’t seem to be available at the minute, hopefully they or a plugin will support this in the future, most likely a plugin that would extend potrace.

Let me know if you have any further questions.

Thanks.

1 Like