Skip to content

feat: add plugin parameters (includes and excludes) #26

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

zhouhua
Copy link

@zhouhua zhouhua commented Feb 28, 2024

Add the includes and excludes parameters to the plugin to specify more precisely which images require extracting EXIF information. In most scenarios, images do not need EXIF information, and some images may not even contain EXIF data (such as icons, article illustrations, etc.). Extracting EXIF information for all images can lead to many error messages during gatsby develop or gatsby build processes.

@Anahkiasen
Copy link

Would love for this to be in, I have the same issue where half my images don't have any and I haven't found a way to silence the hundreds of warnings :/

@zhouhua
Copy link
Author

zhouhua commented May 1, 2025

You can try @zhouhua-dev/gatsby-plugin-sharp-exif. I forked this repo and add the code of this pr, but it was only for my personal use before, so I didn't update the document.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants