This is part of the #1905 meta...
Describe your issue or idea
This idea has been mentioned in the past by @wesruv while building Basis, and also in an unrelated context in https://github.com/backdrop/backdrop-issues/issues/1224#issuecomment-141...
There are php libraries that could help with this:
- https://github.com/pedrosancao/php-color-extractor
- https://github.com/thephpleague/color-extractor
- https://github.com/bachors/PHP-Extract-Image-Color-Class
- ...moar??
Expected behavior (if reporting a bug)
When users visit the settings page of a theme that has color.module support, they are presented with a button to upload their favourite image or their company logo. Once uploaded, we extract a color scheme and apply it to the theme. The user can now preview and tweak.
Recent comments
This is good enough, but maybe the module maintainer would like to add such a feature.
specific webform permissions
This should be allowed atleast on private files directory. Accepted your answer though.
How to upload js and gz files
This is a security precaution. It's not recommended and it's not documented in the settings.php file, but you can set allow_insecure_uploads to be TRUE if you wish to allow uploading files like...
How to upload js and gz files