Module Description
This module allows image files to be optimised using the Kraken.io webservice. After the initial configuration of a Kraken.io account, an administrator of your site can then configure image styles with the Kraken optimize effect.

Requirements
* Libraries module https://drupal.org/project/libraries

Installation
* Install as you would normally install a contributed drupal module. See Installing modules (Drupal 7) for further information.
* Install the kraken-php library. The easiest method is to use the Drush command provided with this module (drush kraken). If you don't have access to Drush then you need to get the kraken-php library from Github. Copying the whole of the kraken-php library into /sites/all/libraries is sufficient. The absolute requirement is that the file called 'Kraken.php' is available at /sites/all/libraries/kraken-php/lib/.

Configuration
* Go to /admin/config/media/image-toolkit to enter your Kraken.io api key and secret.
* Create a new style at /admin/config/media/image-styles/add.
* Choose 'Kraken optimize' in the 'Select new effect' list and add it as an effect.
* Set up an image field via a content type or use an existing image field which is intended to be used for krak'd images. Preview images may/may not be set to the image style you configured in step 3, above.
* Choose 'manage display' tab in from the content type's configuration pages and select and the image style as mentioned in step 3 above.

Steps 4 and 5 are merely guidelines. Themers may choose to do their own thing using 'theme_image_style', for example. See function theme_image_style.

Read more about Working with images in Drupal 7 and 8.

Upgrading If you are upgrading from 7.x-1.x-alpha1, please run update.php to create the logging table.

TODO
* Set up tests.
* Display brief instructions on /admin/config/media/image-toolkit to explain where/how to set up an account on kraken.io
* Provide checkboxes for collecting kraken data in watchdog and the kraken table.
* Log kraken operations against the managed files
* Provide info on the status and version of the kraken-php library on the status page.

Project Usage
177
Creation Date
Changed Date
Security Covered
Covered By Security Advisory
Version Available
Production
Module Summary
This module aims to solve the optimization of image files using the Kraken.io webservice by allowing administrators to configure image styles with the Kraken optimize effect after setting up a Kraken.io account.
Data Name
kraken

OPENAI CHATBOT

OPENAI CHATBOT

14:33:52
Generic Chatbot
Hi, I'm a Drupal module expert powered by OpenAI, answering your questions about the Drupal module ecosystem. How can I be helpful today? Please note that we will log your question.