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

Added additional checks for GD image library #17

Closed
wants to merge 2 commits into from

Conversation

marvinroman
Copy link

It is possible to have GD installed without JPEG support.
Without JPEG support in GD image manipulation of JPEG images will result in the fallback image being displayed. But no errors will propagate to the logs or debugger, even with all error reporting on.
In my case, I used the official PHP docker 7.2.9-cli-alpine3.8 and installed gd with their helper script docker-php-ext-install. However, this installs GD without jpeg support.
Since there were no errors it was a long rabbit hole I had to jump down before I found that jpeg image types weren't being supported.

It is possible to have GD installed without JPEG support. 
Without JPEG support in GD image manipulation of JPEG images will result in the fallback image being displayed. But no errors will propagate to the logs or debugger, even with all error reporting on.
In my case, I used the official PHP docker 7.2.9-cli-alpine3.8 and installed gd with their helper script docker-php-ext-install. However, this installs GD without jpeg support.
Since there were no errors it was a long rabbit hole I had to jump down before I found that jpeg image types weren't being supported.
Added warning notification class support for notifications that don't rise to errors, but could affect the functionality of the site.
@rhukster
Copy link
Member

mering this manually into new 2.0 feature branch

rhukster added a commit that referenced this pull request Sep 19, 2018
@rhukster rhukster closed this Sep 19, 2018
rhukster added a commit that referenced this pull request Sep 19, 2018
* rewrite!!!

* Better display support

* bolder styling

* Added SCSS and restyled for beauty :)

* more improvements

* footer

* smaller logo

* This should be working…

* Added a load() method

* Removed ‘test’ ::load()

* cleanup…

* Add event to support other plugins adding problems

* improvements

* fixes #17
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.

None yet

2 participants