Coder Social home page Coder Social logo

helpfulrobot / rsmclaren-silverstripe-kraken Goto Github PK

View Code? Open in Web Editor NEW

This project forked from rsmclaren/silverstripe-kraken

0.0 2.0 0.0 12 KB

Adds Image optimization using the Kraken API to the SilverStripe CMS

PHP 72.24% CSS 3.02% JavaScript 13.84% Scheme 10.89%

rsmclaren-silverstripe-kraken's Introduction

Kraken Image Optimization Module

Maintainer Contact

  • Ryan McLaren <ryansm (at) outlook (dot) com>

Requirements

Installation

  • Extract all files into a folder called "kraken" under your SilverStripe root. Install the Kraken PHP API into a folder called "vendor" under your Silverstripe root, or use composer (recommended):
composer require rsmclaren/silverstripe-kraken
  • Run dev/build?flush=all

  • Sign up for the Kraken API and obtain your unique API Key and API Secret

  • Enter your API Key and API Secret in the Settings > Kraken Tab fields

Usage

After setting up your API keys, images will be automatically optimized using the Kraken API when uploaded through any UploadField in the CMS. You will likely notice that Uploading Images is slower after activating the module. This feature can be disable from the Settings > Kraken tab.

Images that have already been uploaded to the CMS can be optimized using the Optimize Images button located in the Files section of the CMS. Individual images can also be optimized by viewing their details page and clicking the Optimize button.

Notes

Please note that images optimized using this module are replaced. A backup of the original, unoptimized image will not be saved. Please consider creating a backup of your assets folder before using this module.

rsmclaren-silverstripe-kraken's People

Contributors

rsmclaren avatar

Watchers

James Cloos avatar helpfulrobot avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.