Kraken_Image_Optimizer - Version 2.0.3

Version Notes

Re-packaged the extension

Download this release

Release Info

Developer Nekkra UG
Extension Kraken_Image_Optimizer
Version 2.0.3
Comparing to
See all releases


Code changes from version 2.0.2 to 2.0.3

app/code/local/Welance/Kraken/Block/Product/Image.php CHANGED
@@ -27,21 +27,22 @@ class Welance_Kraken_Block_Product_Image extends Mage_Catalog_Block_Product_View
27
 
28
  $i++;
29
 
30
- if($i < $productImagesCount){
31
  $query .= " OR `file_name` LIKE ";
32
  } else {
33
  $query .= ")";
34
  }
35
-
36
-
37
  }
38
 
39
  $cacheImages = array();
40
- foreach($readConnection->fetchAll($query) as $cacheImage){
41
- $cacheImages[] = array(
42
- 'id' =>$cacheImage['id'],
43
- 'product_id' => $product->getId()
44
- );
 
 
 
45
  }
46
 
47
  return json_encode($cacheImages);
27
 
28
  $i++;
29
 
30
+ if ($i < $productImagesCount) {
31
  $query .= " OR `file_name` LIKE ";
32
  } else {
33
  $query .= ")";
34
  }
 
 
35
  }
36
 
37
  $cacheImages = array();
38
+
39
+ if ($productImagesCount > 0) {
40
+ foreach($readConnection->fetchAll($query) as $cacheImage){
41
+ $cacheImages[] = array(
42
+ 'id' =>$cacheImage['id'],
43
+ 'product_id' => $product->getId()
44
+ );
45
+ }
46
  }
47
 
48
  return json_encode($cacheImages);
app/code/local/Welance/Kraken/etc/config.xml CHANGED
@@ -2,7 +2,7 @@
2
  <config>
3
  <modules>
4
  <Welance_Kraken>
5
- <version>2.0.0</version>
6
  </Welance_Kraken>
7
  </modules>
8
  <global>
2
  <config>
3
  <modules>
4
  <Welance_Kraken>
5
+ <version>2.0.3</version>
6
  </Welance_Kraken>
7
  </modules>
8
  <global>
app/design/adminhtml/default/default/template/kraken/images.phtml ADDED
@@ -0,0 +1,83 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design
22
+ * @package default_default
23
+ * @copyright Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+
28
+ <?php
29
+ /**
30
+ * @see Mage_Adminhtml_Block_Catalog_Product
31
+ */
32
+ ?>
33
+
34
+ <div class="content-header">
35
+ <h3>Kraken.io Image Optimizer</h3>
36
+ </div>
37
+
38
+ <div id="kraken-optimizer">
39
+ <div class="kraken-small-box media">
40
+ <?php echo $this->getChildHtml('kraken.media') ?>
41
+ </div>
42
+ <div class="kraken-small-box skin">
43
+ <?php echo $this->getChildHtml('kraken.skin') ?>
44
+ </div>
45
+ <div class="kraken-product-box">
46
+ <h3>Product Images</h3>
47
+ <div class="kraken-box-inner cf">
48
+ <p><strong>Your product images are optimized automatically every time Magento generates new cache entries from your product images.</strong></p>
49
+ <p>If you have just installed this plugin, you should flush the cache now so that the newly generated entries are optimized. After this, no further action is required - your existing product images as well as newly added ones will be automatically compressed and optimized.</p>
50
+ <button onclick="confirmSetLocation('Are you sure?', '<?php echo Mage::helper('adminhtml')->getUrl('adminhtml/cache/cleanImages', array('kraken' => true))?>')"><?php echo Mage::helper('adminhtml')->__('Flush Catalog Images Cache') ?></button>
51
+ </div>
52
+ </div>
53
+ </div>
54
+
55
+ <div id="kraken-modal">
56
+ <div id="kraken-modal-close">&times;</div>
57
+ <div id="kraken-modal-content">
58
+ <p>
59
+ <strong id="kraken-modal-head">Now optimizing all your __type__ images...</strong>
60
+ </p>
61
+
62
+ <div id="kraken-progress">
63
+ <div id="kraken-progress-bar">
64
+ <div id="kraken-number-progress">0</div>
65
+ </div>
66
+ </div>
67
+
68
+ <div id="kraken-count">
69
+ <span id="kraken-current">0</span> of <span id="kraken-total">-</span> images optimized
70
+ </div>
71
+
72
+ <button id="kraken-success-close">Close this dialog</button>
73
+ </div>
74
+ <div id="kraken-modal-error"></div>
75
+ <div id="kraken-modal-footer">
76
+ Please do not close this dialog or reload the page until the optimization process has completed.
77
+ </div>
78
+ </div>
79
+
80
+ <script type="text/javascript">
81
+ var requestUrl = '<?php echo Mage::helper('adminhtml')->getUrl('adminhtml/kraken/optimize') ?>';
82
+ var concurrency = '<?php echo Mage::getStoreConfig('welance_kraken/kraken_config/concurrency') ?>';
83
+ </script>
app/design/adminhtml/default/default/template/kraken/images/media.phtml ADDED
@@ -0,0 +1,50 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ $imagesCount = (int) $this->getMediaImageCount();
3
+ $folderImagesCount = $this->getMediaImageFolderCount();
4
+ $percent = 0;
5
+
6
+ if ($imagesCount > 0) {
7
+ $percent = round(($imagesCount / $folderImagesCount) * 100, 2);
8
+ }
9
+
10
+ $imagesJson = $this->getNewImagesAsJson();
11
+ $total = count(json_decode($imagesJson));
12
+ $toBeOptimized = $folderImagesCount - $imagesCount;
13
+ ?>
14
+
15
+ <h3>Media Images</h3>
16
+
17
+ <div class="kraken-box-inner cf">
18
+ <?php if ($total == 0): ?>
19
+ <p class="success-msg"><?php echo $this->__('Great! All media images have been optimized.') ?></p>
20
+ <?php else: ?>
21
+ <p class="notice-msg"><?php echo $this->__('Heads up! There are <strong>%s</strong> media images that can be optimized.', $toBeOptimized) ?></p>
22
+ <?php endif; ?>
23
+
24
+ <div class="progress">
25
+ <div class="progress-number"><?php echo round($percent) ?>%</div>
26
+ <div class="progress-bar-wrap">
27
+ <div class="progress-bar" style="width: <?php echo $percent ?>%">&nbsp;</div>
28
+ </div>
29
+ </div>
30
+
31
+ <p class="images-count"><?php echo $this->__('%s of %s media images optimized', $imagesCount, $folderImagesCount) ?></p>
32
+ </div>
33
+
34
+ <div class="kraken-box-buttons">
35
+ <?php if ($folderImagesCount - $imagesCount > 0): ?>
36
+ <button onclick="optimizeImages.optimize('media', mediaImages, mediaTotal)"><?php echo $this->__('Optimize Media images') ?></button>
37
+ <?php endif; ?>
38
+
39
+ <?php if (Mage::helper('welance_kraken')->canShowBackupButton(Welance_Kraken_Model_Abstract::TYPE_MEDIA)): ?>
40
+ <a onclick="return confirm('<?php echo $this->__('Are you sure?') ?>');"
41
+ href="<?php echo Mage::helper("adminhtml")->getUrl('adminhtml/kraken/restore',array('type' => 'media')) ?>" class="button">
42
+ <?php echo $this->__('Restore Backup Images') ?>
43
+ </a>
44
+ <?php endif; ?>
45
+ </div>
46
+
47
+ <script type="text/javascript">
48
+ var mediaImages = <?php echo $imagesJson ?>;
49
+ var mediaTotal = <?php echo $total ?>;
50
+ </script>
app/design/adminhtml/default/default/template/kraken/images/skin.phtml ADDED
@@ -0,0 +1,50 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ $imagesCount = (int) $this->getSkinImageCount();
3
+ $folderImagesCount = $this->getSkinImageFolderCount();
4
+ $percent = 0;
5
+
6
+ if ($imagesCount > 0) {
7
+ $percent = round(($imagesCount / $folderImagesCount) * 100, 2);
8
+ }
9
+
10
+ $imagesJson = $this->getNewImagesAsJson();
11
+ $total = count(json_decode($imagesJson));
12
+ $toBeOptimized = $folderImagesCount - $imagesCount;
13
+ ?>
14
+
15
+ <h3>Skin Images</h3>
16
+
17
+ <div class="kraken-box-inner cf">
18
+ <?php if ($total == 0): ?>
19
+ <p class="success-msg"><?php echo $this->__('Great! All skin images optimized.') ?></p>
20
+ <?php else: ?>
21
+ <p class="notice-msg"><?php echo $this->__('Heads up! There are <strong>%s</strong> skin images that can be optimized.', $toBeOptimized) ?></p>
22
+ <?php endif; ?>
23
+
24
+ <div class="progress">
25
+ <div class="progress-number"><?php echo round($percent) ?>%</div>
26
+ <div class="progress-bar-wrap">
27
+ <div class="progress-bar" style="width: <?php echo $percent ?>%">&nbsp;</div>
28
+ </div>
29
+ </div>
30
+
31
+ <p class="images-count"><?php echo $this->__('%s of %s skin images optimized', $imagesCount, $folderImagesCount) ?></p>
32
+ </div>
33
+
34
+ <div class="kraken-box-buttons">
35
+ <?php if($folderImagesCount - $imagesCount > 0): ?>
36
+ <button onclick="optimizeImages.optimize('skin',skinImages,skinTotal)"><?php echo $this->__('Optimize Skin images') ?></button>
37
+ <?php endif; ?>
38
+
39
+ <?php if(Mage::helper('welance_kraken')->canShowBackupButton(Welance_Kraken_Model_Abstract::TYPE_SKIN)): ?>
40
+ <a onclick="return confirm('<?php echo $this->__('Are you sure?') ?>');"
41
+ href="<?php echo Mage::helper("adminhtml")->getUrl('adminhtml/kraken/restore',array('type' => 'skin')) ?>" class="button">
42
+ <?php echo $this->__('Restore Backup Images') ?>
43
+ </a>
44
+ <?php endif; ?>
45
+ </div>
46
+
47
+ <script type="text/javascript">
48
+ var skinImages = <?php echo $imagesJson ?>;
49
+ var skinTotal = <?php echo $total ?>;
50
+ </script>
app/design/adminhtml/default/default/template/kraken/statistics.phtml ADDED
@@ -0,0 +1,103 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ $helper = Mage::helper('welance_kraken');
3
+ $response = $this->getQuota();
4
+ ?>
5
+
6
+ <div class="content-header">
7
+ <h3>Optimization Statistics</h3>
8
+ </div>
9
+
10
+ <div id="kraken-stats">
11
+ <div class="kraken-row">
12
+ <h3>Kraken.io Account</h3>
13
+ <div class="kraken-inner">
14
+ <?php if ($response->success == true): ?>
15
+ <div class="kraken-box">
16
+ Plan level
17
+ <strong><?php echo $response->plan_name ?></strong>
18
+ </div>
19
+ <div class="kraken-box">
20
+ Monthly quota
21
+ <strong><?php echo $helper->getImageSizeConverted($response->quota_total) ?></strong>
22
+ </div>
23
+ <div class="kraken-box">
24
+ Current usage
25
+ <strong><?php echo $helper->getImageSizeConverted($response->quota_used) ?></strong>
26
+ </div>
27
+ <div class="kraken-box">
28
+ Remaining quota
29
+ <strong><?php echo $helper->getImageSizeConverted($response->quota_remaining) ?></strong>
30
+ </div>
31
+ <?php else: ?>
32
+ <ul class="messages">
33
+ <li class="notice-msg">
34
+ <ul>
35
+ <li>
36
+ <?php if ($response->errorMessage): ?>
37
+ <span><?php echo $response->errorMessage ?></span>
38
+ <?php else: ?>
39
+ <span><?php echo $helper->__('To get information about your Kraken.io Account, please provide your Kraken API Credentials <a href="%s">here</a>.',
40
+ $this->getUrl('adminhtml/system_config/edit/section/welance_kraken')) ?></span>
41
+ <?php endif; ?>
42
+ </li>
43
+ </ul>
44
+ </li>
45
+ </ul>
46
+ <?php endif; ?>
47
+ </div>
48
+ </div>
49
+
50
+ <div class="kraken-row">
51
+ <h3>Product Images</h3>
52
+ <div class="kraken-inner">
53
+ <div class="kraken-box">
54
+ Images optimized
55
+ <strong><?php echo $this->getOptimizedImagesCount(Welance_Kraken_Model_Abstract::TYPE_CACHE) ?></strong>
56
+ </div>
57
+ <div class="kraken-box">
58
+ Total uploads
59
+ <strong><?php echo $helper->getImageSizeConverted($this->getTransferedImageSize(Welance_Kraken_Model_Abstract::TYPE_CACHE)) ?></strong>
60
+ </div>
61
+ <div class="kraken-box">
62
+ Total savings
63
+ <strong><?php echo $helper->getImageSizeConverted($this->getSavedImageSize(Welance_Kraken_Model_Abstract::TYPE_CACHE)) ?></strong>
64
+ </div>
65
+ </div>
66
+ </div>
67
+
68
+ <div class="kraken-row">
69
+ <h3>Media Images</h3>
70
+ <div class="kraken-inner">
71
+ <div class="kraken-box">
72
+ Images optimized
73
+ <strong><?php echo $this->getOptimizedImagesCount(Welance_Kraken_Model_Abstract::TYPE_MEDIA) ?></strong>
74
+ </div>
75
+ <div class="kraken-box">
76
+ Total uploads
77
+ <strong><?php echo $helper->getImageSizeConverted($this->getTransferedImageSize(Welance_Kraken_Model_Abstract::TYPE_MEDIA)) ?></strong>
78
+ </div>
79
+ <div class="kraken-box">
80
+ Total savings
81
+ <strong><?php echo $helper->getImageSizeConverted($this->getSavedImageSize(Welance_Kraken_Model_Abstract::TYPE_MEDIA)) ?></strong>
82
+ </div>
83
+ </div>
84
+ </div>
85
+
86
+ <div class="kraken-row">
87
+ <h3>Skin Images</h3>
88
+ <div class="kraken-inner">
89
+ <div class="kraken-box">
90
+ Images optimized
91
+ <strong><?php echo $this->getOptimizedImagesCount(Welance_Kraken_Model_Abstract::TYPE_SKIN) ?></strong>
92
+ </div>
93
+ <div class="kraken-box">
94
+ Total uploads
95
+ <strong><?php echo $helper->getImageSizeConverted($this->getTransferedImageSize(Welance_Kraken_Model_Abstract::TYPE_SKIN)) ?></strong>
96
+ </div>
97
+ <div class="kraken-box">
98
+ Total savings
99
+ <strong><?php echo $helper->getImageSizeConverted($this->getSavedImageSize(Welance_Kraken_Model_Abstract::TYPE_SKIN)) ?></strong>
100
+ </div>
101
+ </div>
102
+ </div>
103
+ </div>
app/design/frontend/base/default/layout/kraken.xml DELETED
@@ -1,13 +0,0 @@
1
- <?xml version="1.0"?>
2
-
3
- <layout>
4
- <catalog_product_view>
5
- <reference name="head">
6
- <action method="addJs"><script>kraken/async.js</script></action>
7
- <action method="addJs"><script>kraken/optimize.js</script></action>
8
- </reference>
9
- <reference name="before_body_end">
10
- <block type="welance_kraken/product_image" name="welance.kraken.cache.optimizer" as="cacheOptimizer" template="kraken/product/image.phtml" />
11
- </reference>
12
- </catalog_product_view>
13
- </layout>
 
 
 
 
 
 
 
 
 
 
 
 
 
js/kraken/optimize.js CHANGED
@@ -133,6 +133,10 @@ window.optimizeImages = {
133
  });
134
  }, cacheConcurrency);
135
 
 
 
 
 
136
  for (var i = 0, ii = images.length; i < ii; i++) {
137
  queue.push({
138
  file: images[i]
133
  });
134
  }, cacheConcurrency);
135
 
136
+ if (!images.length) {
137
+ return;
138
+ }
139
+
140
  for (var i = 0, ii = images.length; i < ii; i++) {
141
  queue.push({
142
  file: images[i]
package.xml CHANGED
@@ -1,18 +1,18 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Kraken_Image_Optimizer</name>
4
- <version>2.0.2</version>
5
  <stability>stable</stability>
6
  <license uri="http://opensource.org/licenses/GPL-3.0">GNU General Public License (GPL)</license>
7
  <channel>community</channel>
8
  <extends/>
9
  <summary>This extension enables Magento users to optimize their product, skin and media images by consuming the Kraken.io image optimization API. (https://kraken.io)</summary>
10
  <description>This extension exists for the sole purpose of allowing Magento users to optimize their product, skin and media images by consuming the Kraken.io image optimization API. (https://kraken.io)</description>
11
- <notes>JS folder caused problems on some platforms. Re-packaged the extension.</notes>
12
  <authors><author><name>Nekkra UG</name><user>KrakenIO</user><email>support@kraken.io</email></author></authors>
13
- <date>2015-10-05</date>
14
- <time>09:09:09</time>
15
- <contents><target name="magelocal"><dir name="Welance"><dir name="Kraken"><dir name="Block"><dir name="Adminhtml"><dir name="Api"><file name="Signup.php" hash="56a9ee65c5d9fd769b7a5a0854b71a16"/><file name="Status.php" hash="99dd2cb6da9d62e4d8cab36ea29d13e5"/><dir name="User"><file name="Status.php" hash="f33827a151d7ccd76684dde79599c3a2"/></dir></dir><dir name="Images"><file name="Media.php" hash="9dd94a375ceaa004df26d314a935fa63"/><file name="Skin.php" hash="f0dc5623a3974e50ce94b71cae4cd7cd"/></dir><file name="Images.php" hash="77fe1a1c7a0fb28209a741266467db69"/><file name="Statistics.php" hash="6cdae1bc41185b93c49d97465ee75704"/></dir><dir name="Product"><file name="Image.php" hash="b364f7c7b20ee504de167fac52cb770d"/></dir></dir><dir name="Helper"><file name="Api.php" hash="bdad47443f357c6241005b76304d985e"/><file name="Data.php" hash="e1ab157c7e49420917380267577fe2f4"/></dir><dir name="Model"><file name="Abstract.php" hash="46ad69f601aa392e44fadf43dc8ff558"/><dir name="Adminhtml"><dir name="System"><dir name="Config"><dir name="Backend"><dir name="Validation"><file name="File.php" hash="03b116c93529a00f064c428519415b90"/><file name="Quality.php" hash="63919067f4576cc1a0c6ef663b1d1779"/></dir></dir><dir name="Source"><file name="Compression.php" hash="516d83f51e2216b45e51d20d6d1f8575"/><file name="Concurrency.php" hash="436d106916fae3d01bd7272e34d9771c"/></dir></dir></dir></dir><dir name="Image"><file name="Cache.php" hash="b1405ed2975e5b2fa0136f7722f03828"/></dir><dir name="Images"><file name="Media.php" hash="3d73a5ba9276744d92de042f4ca5d228"/><file name="Skin.php" hash="d6181c6772baa9a84d26e6adda5c87be"/></dir><file name="Observer.php" hash="8e27670e4c5ce3d62d0fcc5b27b6972a"/><dir name="Product"><file name="Image.php" hash="11c24a47125de4787bf082a2227c1e77"/></dir><dir name="Resource"><dir name="Image"><dir name="Cache"><file name="Collection.php" hash="4f29016539f9586ba707c1815f1e12b6"/></dir><file name="Cache.php" hash="7058d029a436aa3d0be1dc6f3c7fae57"/></dir><dir name="Images"><dir name="Media"><file name="Collection.php" hash="e77abb3c2122a0f5582bf14739935d85"/></dir><file name="Media.php" hash="c6aa05e4362b645b001854e9578ee5d1"/><dir name="Skin"><file name="Collection.php" hash="2e81919a1fa3014a9083b12382fc46e0"/></dir><file name="Skin.php" hash="420d0b85798bbd5eb52d40d96eff2868"/></dir></dir></dir><dir name="controllers"><file name="KrakenController.php" hash="d00de7431a787527e6b84b79dc5df547"/><file name="OptimizeController.php" hash="d4a7b8d09b951960c6afd93ea4a3bda9"/></dir><dir name="etc"><file name="adminhtml.xml" hash="71d3f77d2a29e267a1b3b172ac457ccc"/><file name="config.xml" hash="67cae4fb5a3e87dcef4887381ca14989"/><file name="system.xml" hash="083bab919a0a16a8ab546815d7526850"/></dir><dir name="sql"><dir name="welance_kraken_setup"><file name="mysql4-install-0.0.1.php" hash="c672010d8288677aea0d008a4ec49d0f"/><file name="mysql4-upgrade-0.0.1-0.0.2.php" hash="f6ec9a39c730faa436d29338b35a21b2"/><file name="mysql4-upgrade-0.0.2-0.0.3.php" hash="884f018b06073d09cd38094251316a12"/><file name="mysql4-upgrade-0.0.3-0.0.4.php" hash="21b4fed490c176909fc54d36f49b6caa"/><file name="mysql4-upgrade-0.0.4-0.0.5.php" hash="3399d922082321a9c9fdb3f4d8ddbbb0"/><file name="mysql4-upgrade-0.0.5-0.0.6.php" hash="8084b2f3b1fe2bad7bbbbd1136974289"/><file name="mysql4-upgrade-0.0.6-2.0.0.php" hash="a62483557a3d026e7c2b57999f8924a4"/><file name="mysql4-upgrade-1.0.0-2.0.0.php" hash="a62483557a3d026e7c2b57999f8924a4"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="kraken.xml" hash="835ecb50d3589a96a696221c59cb9827"/></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="kraken.xml" hash="2aba104d03acad3a4703a9b5c7d527b3"/></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Welance_Kraken.xml" hash="5924028abd4db847049907d0685fe928"/></dir></target><target name="mageweb"><dir name="js"><dir name="kraken"><file name="async.js" hash="69a9fc4244b4ed9465d9dc17bfec7e8e"/><file name="jquery.js" hash="895323ed2f7258af4fae2c738c8aea49"/><file name="optimize.js" hash="25610ab8c84a9f24b9982b96d95e6096"/></dir></dir></target><target name="mageskin"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="kraken"><file name="images.css" hash="4efcb99215e85cea9ef8904594b35d06"/><file name="kraken-tile.png" hash="f893c560e69916c5df3b4542659c0615"/></dir></dir></dir></dir></target></contents>
16
  <compatible/>
17
  <dependencies><required><php><min>5.3.0</min><max>6.0.0</max></php></required></dependencies>
18
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Kraken_Image_Optimizer</name>
4
+ <version>2.0.3</version>
5
  <stability>stable</stability>
6
  <license uri="http://opensource.org/licenses/GPL-3.0">GNU General Public License (GPL)</license>
7
  <channel>community</channel>
8
  <extends/>
9
  <summary>This extension enables Magento users to optimize their product, skin and media images by consuming the Kraken.io image optimization API. (https://kraken.io)</summary>
10
  <description>This extension exists for the sole purpose of allowing Magento users to optimize their product, skin and media images by consuming the Kraken.io image optimization API. (https://kraken.io)</description>
11
+ <notes>Re-packaged the extension</notes>
12
  <authors><author><name>Nekkra UG</name><user>KrakenIO</user><email>support@kraken.io</email></author></authors>
13
+ <date>2015-10-16</date>
14
+ <time>12:22:11</time>
15
+ <contents><target name="magelocal"><dir name="Welance"><dir name="Kraken"><dir name="Block"><dir name="Adminhtml"><dir name="Api"><file name="Signup.php" hash="56a9ee65c5d9fd769b7a5a0854b71a16"/><file name="Status.php" hash="99dd2cb6da9d62e4d8cab36ea29d13e5"/><dir name="User"><file name="Status.php" hash="f33827a151d7ccd76684dde79599c3a2"/></dir></dir><dir name="Images"><file name="Media.php" hash="9dd94a375ceaa004df26d314a935fa63"/><file name="Skin.php" hash="f0dc5623a3974e50ce94b71cae4cd7cd"/></dir><file name="Images.php" hash="77fe1a1c7a0fb28209a741266467db69"/><file name="Statistics.php" hash="6cdae1bc41185b93c49d97465ee75704"/></dir><dir name="Product"><file name="Image.php" hash="2243dae68917d4e49b7c8786d3dc173b"/></dir></dir><dir name="Helper"><file name="Api.php" hash="bdad47443f357c6241005b76304d985e"/><file name="Data.php" hash="e1ab157c7e49420917380267577fe2f4"/></dir><dir name="Model"><file name="Abstract.php" hash="46ad69f601aa392e44fadf43dc8ff558"/><dir name="Adminhtml"><dir name="System"><dir name="Config"><dir name="Backend"><dir name="Validation"><file name="File.php" hash="03b116c93529a00f064c428519415b90"/><file name="Quality.php" hash="63919067f4576cc1a0c6ef663b1d1779"/></dir></dir><dir name="Source"><file name="Compression.php" hash="516d83f51e2216b45e51d20d6d1f8575"/><file name="Concurrency.php" hash="436d106916fae3d01bd7272e34d9771c"/></dir></dir></dir></dir><dir name="Image"><file name="Cache.php" hash="b1405ed2975e5b2fa0136f7722f03828"/></dir><dir name="Images"><file name="Media.php" hash="3d73a5ba9276744d92de042f4ca5d228"/><file name="Skin.php" hash="d6181c6772baa9a84d26e6adda5c87be"/></dir><file name="Observer.php" hash="8e27670e4c5ce3d62d0fcc5b27b6972a"/><dir name="Product"><file name="Image.php" hash="11c24a47125de4787bf082a2227c1e77"/></dir><dir name="Resource"><dir name="Image"><dir name="Cache"><file name="Collection.php" hash="4f29016539f9586ba707c1815f1e12b6"/></dir><file name="Cache.php" hash="7058d029a436aa3d0be1dc6f3c7fae57"/></dir><dir name="Images"><dir name="Media"><file name="Collection.php" hash="e77abb3c2122a0f5582bf14739935d85"/></dir><file name="Media.php" hash="c6aa05e4362b645b001854e9578ee5d1"/><dir name="Skin"><file name="Collection.php" hash="2e81919a1fa3014a9083b12382fc46e0"/></dir><file name="Skin.php" hash="420d0b85798bbd5eb52d40d96eff2868"/></dir></dir></dir><dir name="controllers"><file name="KrakenController.php" hash="d00de7431a787527e6b84b79dc5df547"/><file name="OptimizeController.php" hash="d4a7b8d09b951960c6afd93ea4a3bda9"/></dir><dir name="etc"><file name="adminhtml.xml" hash="71d3f77d2a29e267a1b3b172ac457ccc"/><file name="config.xml" hash="ef19419d77c4b3608ab798116e6620b9"/><file name="system.xml" hash="083bab919a0a16a8ab546815d7526850"/></dir><dir name="sql"><dir name="welance_kraken_setup"><file name="mysql4-install-0.0.1.php" hash="c672010d8288677aea0d008a4ec49d0f"/><file name="mysql4-upgrade-0.0.1-0.0.2.php" hash="f6ec9a39c730faa436d29338b35a21b2"/><file name="mysql4-upgrade-0.0.2-0.0.3.php" hash="884f018b06073d09cd38094251316a12"/><file name="mysql4-upgrade-0.0.3-0.0.4.php" hash="21b4fed490c176909fc54d36f49b6caa"/><file name="mysql4-upgrade-0.0.4-0.0.5.php" hash="3399d922082321a9c9fdb3f4d8ddbbb0"/><file name="mysql4-upgrade-0.0.5-0.0.6.php" hash="8084b2f3b1fe2bad7bbbbd1136974289"/><file name="mysql4-upgrade-0.0.6-2.0.0.php" hash="a62483557a3d026e7c2b57999f8924a4"/><file name="mysql4-upgrade-1.0.0-2.0.0.php" hash="a62483557a3d026e7c2b57999f8924a4"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="kraken.xml" hash="835ecb50d3589a96a696221c59cb9827"/></dir><dir name="template"><dir name="kraken"><dir name="images"><file name="media.phtml" hash="662b54090542b27b1a4b150c0cf11af7"/><file name="skin.phtml" hash="6210665eeb18370b4afb942c72d84a21"/></dir><file name="images.phtml" hash="f4a3760c6340e2a83569a715975c0a88"/><file name="statistics.phtml" hash="f2ac7696fcdc49f3ce74970059ee486e"/></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Welance_Kraken.xml" hash="5924028abd4db847049907d0685fe928"/></dir></target><target name="mageweb"><dir name="js"><dir name="kraken"><file name="async.js" hash="69a9fc4244b4ed9465d9dc17bfec7e8e"/><file name="jquery.js" hash="895323ed2f7258af4fae2c738c8aea49"/><file name="optimize.js" hash="f346b64d35c52b1e0113014f0eb15685"/></dir></dir></target><target name="mageskin"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="kraken"><file name="images.css" hash="4efcb99215e85cea9ef8904594b35d06"/><file name="kraken-tile.png" hash="f893c560e69916c5df3b4542659c0615"/></dir></dir></dir></dir></target></contents>
16
  <compatible/>
17
  <dependencies><required><php><min>5.3.0</min><max>6.0.0</max></php></required></dependencies>
18
  </package>