graysonhicks / gatsby-plugin-remote-images

:floppy_disk: A Gatsby.js plugin for downloading and linking remote images from another node's field for the benefits of gatsby-image.
155 stars 39 forks source link

feat(silent): option to silence image load errors #80

Closed stevensacks closed 2 years ago

stevensacks commented 2 years ago

Added a silent option so that image load errors can be silenced.

This is something I needed in my project since hundreds among the thousands of images my site do not load because they've been removed, etc. The team in charge of managing the images and urls doesn't always properly clean things up.

Without this option, the console gets flooded with errors.

This change is very small and does not affect the functionality of the plugin, just the console.error() inside of catch().

Please consider merging this in. If you want to change the name of the option, that's cool. It's the functionality that I care about.

graysonhicks commented 2 years ago

Looks good, thanks! Will get it merged and released asap.

stevensacks commented 2 years ago

Thanks!

stevensacks commented 2 years ago

@graysonhicks Just a quick reminder about this PR.

stevensacks commented 2 years ago

@graysonhicks My weekly reminder to please merge this in.

graysonhicks commented 2 years ago

@stevensacks Sorry for the delay, just released with 3.3.0!