Skip to content
This repository was archived by the owner on Oct 14, 2025. It is now read-only.

Conversation

divinity76
Copy link

… available

generate error logs when blur is enabled but the required function imagefilter is not available.
likewise if imageFormat="png" but imagepng is not available.

in development environments, this should catch the developer's attention immediately (display_errors=1 and broken images), whilst on production servers, should at generate some error logs so sysadmins can notice :p

IMO, it's even debatable whether or not image generation should continue, with reduced security, if blur is enabled but imagefilter is not, or if we should just outright cast an exception, because... reduced security! / presumably easier captcha

… available

generate error logs when blur is enabled but the required function imagefilter is not available.
likewise if imageFormat="png" but imagepng is not available. 

in development environments, this should catch the developer's attention immediately (display_errors=1 and broken images), whilst on production servers, should at generate some error logs so sysadmins can notice :p

IMO, it's even debatable whether or not image generation should continue, with reduced security, if blur is enabled but imagefilter is not, or if we should just outright cast an exception, because... reduced security! / presumably easier captcha
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant