Skip to content
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

Add option property disableImageCheck #479

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

akoufa
Copy link
Contributor

@akoufa akoufa commented Jul 1, 2020

This PR allows to skip checking the dimensions of the images provided to the library. I had some issues especially around the logo which I think the library currently is too strict regarding the maximum width allowed. Nevertheless I expanded the options that can be provided to the library to include the property disableImageCheck so that a user of the library can decide if the image dimension validation should be skipped or not without altering the default behaviour if nothing is passed.

@sonarcloud
Copy link

sonarcloud bot commented Jul 1, 2020

Kudos, SonarCloud Quality Gate passed!

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities (and Security Hotspot 0 Security Hotspots to review)
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@davlis-tr
Copy link

Any update on this if it can be merged?

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