Giter Site home page Giter Site logo

kraken-magento's Introduction

Kraken.io Magento Extension

Advanced optimization for your Magento JPEG, PNG, GIF and SVG images

Established in 2012, Kraken.io is an industry-leading image optimizer like no other capable of significantly reducing the file size of popular image formats using tried-and-tested optimization techniques developed with a single goal in mind: To reduce their file size by as much as possible while retaining the image quality.

Kraken.io is trusted by thousands of customers worldwide, from individuals to small/medium sized businesses and even Fortune 500 companies.

How does it work?

When a product is viewed for the first time, Magento will create different image sizes and put those sizes into its cache. With the Kraken.io extension installed, those images first get optimized by our API before being pushed into the cache folder.

Other than enabling the Kraken.io extension, entering your API credentials and verifying your settings, no further action is required. The optimization will happen on demand, and in the background, each time new image cache entries are generated.

Kraken.io supports both lossless and intelligent lossy optimization modes. Both sRGB and CMYK colorspaces are supported. All JPEG images are re-encoded as progressive. Alpha transparency is maintained for PNG images, and animated GIFs remain animated after optimization.

Other features include:

  • The ability to optimize your Skins and Media folders in a single click.
  • The ability to define a discreet quality (1-100) for your JPEG images (when using the Advanced mode).

Quick Start

You can register for your FREE Kraken.io account here. Once you have verified your account, you may log in and obtain your API credentials by choosing the API Credentials menu item found on the left of your Account Overview. Your FREE account comes with 50MB of testing quota to allow you to test our extension with your platform, prior to upgrading to one of our affordable, transparently priced paid plans.

Installation

  1. Use Magento Connect Manager to install the Kraken.io Image Optimizer extension. Alternatively you can copy files from this repository to your Magento root folder.
  2. Find the Kraken.io menu option in the top menu and choose "Kraken API configuration".
  3. Enter your Kraken.io API key and secret. As soon as that is done, be sure to click on "Save Config" at the top right of the screen.

Usage

  1. Once your credentials have been saved, the extension is ready to be used. You can specify whether or not to keep backups of your original images, the compression mode setting and other available options. We recommend sticking with the default settings.
  2. From now on, every newly uploaded image will have cache entries which are optimized by Kraken.io, when the product page is viewed for the first time.
  3. To optimize the already-existing images on your platform, first choose "Image Optimizer" from the Kraken.io menu. From there, click on "Flush Catalog Images Cache". You should only have to perform this once upon initial installation of the Kraken.io Image Optimizer extension.
  4. From the same screen, you may also optimize your Skins and Media folders, by clicking on their respective buttons.
  5. You can view your statistics by choosing "Optimization Statistics" from the Kraken.io menu at the top.

Benefits of image optimization

In nutshell, faster loading sites are viewed more favourably than slower loading sites by both users and search engines. Getting your site to load faster can go a long way to improving your business's bottom line. For more information, visit our Support Centre

Got a question? Need some help? Get in touch with Kraken.io support, which is easily visible when logged in to Kraken.io.

License

Kraken.io Magento Extension is distributed under the GNU GENERAL PUBLIC LICENSE V2. Please read the full license here.

kraken-magento's People

Contributors

avoelkl avatar hookblaze avatar karim79 avatar markus-moegel avatar matylla avatar puntable avatar vseager avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

kraken-magento's Issues

Missing quota_used in userStatus response

Hello,

I got a notice when quota_used is missing from API response.
This is the original response

{"success":true,"active":true,"plan_name":"Free","quota_total":52428800,"quota_remaining":null}

And notices

Notice: Undefined property: stdClass::$quota_used in .../app/code/local/Welance/Kraken/controllers/KrakenController.php on line 18
Notice: Undefined property: stdClass::$quota_used in .../app/design/adminhtml/default/default/template/kraken/statistics.phtml on line 25

Magento 2.3

Would love a magento 2 extension :) any chance?

List on Packagist

Please can you list this extension on packagist so it can be installed with composer without needed to add the repository URL.

Thanks!

Error when saving configuration

Cannot send headers; headers already sent in /var/www/app/code/community/Welance/Kraken/Model/Observer.php, line 1

#0 /var/www/lib/Zend/Controller/Response/Abstract.php(148): Zend_Controller_Response_Abstract->canSendHeaders(true)
#1 /var/www/app/code/core/Mage/Core/Controller/Response/Http.php(107): Zend_Controller_Response_Abstract->setRedirect('http://test.v...', 302)
#2 /var/www/app/code/core/Mage/Adminhtml/Controller/Action.php(358): Mage_Core_Controller_Response_Http->setRedirect('http://test.v...')
#3 /var/www/app/code/core/Mage/Adminhtml/controllers/System/ConfigController.php(195): Mage_Adminhtml_Controller_Action->_redirect('*/*/edit', Array)
#4 /var/www/app/code/core/Mage/Core/Controller/Varien/Action.php(418): Mage_Adminhtml_System_ConfigController->saveAction()
#5 /var/www/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(254): Mage_Core_Controller_Varien_Action->dispatch('save')
#6 /var/www/app/code/core/Mage/Core/Controller/Varien/Front.php(172): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http))
#7 /var/www/app/code/core/Mage/Core/Model/App.php(365): Mage_Core_Controller_Varien_Front->dispatch()
#8 /var/www/app/Mage.php(691): Mage_Core_Model_App->run(Array)
#9 /var/www/index.php(84): Mage::run('', 'store')
#10 {main}

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.