ImageRecycle_image_pdf_optimize - Version 1.0.3

Version Notes

Fix api url not set

Download this release

Release Info

Developer ImageRecycle
Extension ImageRecycle_image_pdf_optimize
Version 1.0.3
Comparing to
See all releases


Code changes from version 1.0.2 to 1.0.3

app/code/community/Imagerecycle/Imagerecycle/Block/Images.php CHANGED
@@ -18,23 +18,22 @@ Class Imagerecycle_Imagerecycle_Block_Images extends Mage_Page_Block_Html {
18
//Include ioaphp class once
19
include_once(Mage::getModuleDir('', 'Imagerecycle_Imagerecycle') . '/classes/ioa.class.php');
20
//Get settings
21
- $this->settings = array(
22
- 'mageio_api_api_url' => Mage::getStoreConfig('mageio_api_api_url'),
23
- 'mageio_api_api_key' => Mage::getStoreConfig('mageio_api_api_key'),
24
- 'mageio_api_api_secret' => Mage::getStoreConfig('mageio_api_api_secret'),
25
- 'installed_time' => Mage::getStoreConfig('installed_time'),
26
- 'exclude_folders' => Mage::getStoreConfig('exclude_folders'),
27
- 'resize_auto' => Mage::getStoreConfig('resize_auto'),
28
- 'resize_image' => Mage::getStoreConfig('resize_image'),
29
- 'min_size' => Mage::getStoreConfig('min_size'),
30
- 'max_size' => Mage::getStoreConfig('max_size'),
31
- 'compression_type_pdf' => Mage::getStoreConfig('compression_type_pdf'),
32
- 'compression_type_png' => Mage::getStoreConfig('compression_type_png'),
33
- 'compression_type_jpg' => Mage::getStoreConfig('compression_type_jpg'),
34
- 'compression_type_gif' => Mage::getStoreConfig('compression_type_gif'),
35
- 'compression_type' => Mage::getStoreConfig('compression_type'),
36
);
37
- if(empty($this->settings['mageio_api_api_url']) ) { $this->settings['mageio_api_api_url'] = 'http://api.imagerecycle.com/v1/'; }
38
if(empty($this->settings['compression_type']) ) { $this->settings['compression_type'] = 'lossy'; }
39
if (!empty($this->settings['exclude_folders'])) {
40
$this->ignoredPath = explode(',',$this->settings['exclude_folders']);
@@ -110,8 +109,8 @@ Class Imagerecycle_Imagerecycle_Block_Images extends Mage_Page_Block_Html {
110
$optimizedFiles = $resourceR->fetchAssoc($sql);
111
112
$this->totalOptimizedImages = count($optimizedFiles);
113
- $min_size = isset($this->settings['min_size']) ? (int)$this->settings['min_size']*1024 : '0';
114
- $max_size = !empty($this->settings['max_size']) ? (int)$this->settings['max_size'] * 1024 : 1024*1024*1024; //1GB
115
$images = array();
116
117
$base_dir = Mage::getBaseDir();
18
//Include ioaphp class once
19
include_once(Mage::getModuleDir('', 'Imagerecycle_Imagerecycle') . '/classes/ioa.class.php');
20
//Get settings
21
+ $this->settings = array(
22
+ 'api_key' => Mage::getStoreConfig('mageio_api_key'),
23
+ 'api_secret' => Mage::getStoreConfig('mageio_api_secret'),
24
+ 'installed_time' => Mage::getStoreConfig('mageio_installed_time'),
25
+ 'exclude_folders' => Mage::getStoreConfig('mageio_exclude_folders'),
26
+ 'resize_auto' => Mage::getStoreConfig('mageio_resize_auto'),
27
+ 'resize_image' => Mage::getStoreConfig('mageio_resize_image'),
28
+ 'min_size' => Mage::getStoreConfig('mageio_min_size'),
29
+ 'max_size' => Mage::getStoreConfig('mageio_max_size'),
30
+ 'compression_type_pdf' => Mage::getStoreConfig('mageio_compression_type_pdf'),
31
+ 'compression_type_png' => Mage::getStoreConfig('mageio_compression_type_png'),
32
+ 'compression_type_jpg' => Mage::getStoreConfig('mageio_compression_type_jpg'),
33
+ 'compression_type_gif' => Mage::getStoreConfig('mageio_compression_type_gif'),
34
+ 'compression_type' => Mage::getStoreConfig('mageio_compression_type'),
35
);
36
+
37
if(empty($this->settings['compression_type']) ) { $this->settings['compression_type'] = 'lossy'; }
38
if (!empty($this->settings['exclude_folders'])) {
39
$this->ignoredPath = explode(',',$this->settings['exclude_folders']);
109
$optimizedFiles = $resourceR->fetchAssoc($sql);
110
111
$this->totalOptimizedImages = count($optimizedFiles);
112
+ $min_size = isset($this->settings['min_size']) ? (int)$this->settings['min_size']*1024 : 1* 1024;
113
+ $max_size = !empty($this->settings['max_size']) ? (int)$this->settings['max_size'] * 1024 : 10000 * 1024;
114
$images = array();
115
116
$base_dir = Mage::getBaseDir();
app/code/community/Imagerecycle/Imagerecycle/Helper/Data.php CHANGED
@@ -5,21 +5,20 @@ Class Imagerecycle_Imagerecycle_Helper_Data extends Mage_Core_Helper_Abstract{
5
public $settings = null;
6
7
public function getSettings() {
8
- return array(
9
- 'mageio_api_api_url' => Mage::getStoreConfig('mageio_api_api_url') ,
10
- 'mageio_api_api_key' => Mage::getStoreConfig('mageio_api_api_key'),
11
- 'mageio_api_api_secret' => Mage::getStoreConfig('mageio_api_api_secret'),
12
- 'installed_time' => Mage::getStoreConfig('installed_time'),
13
- 'exclude_folders' => Mage::getStoreConfig('exclude_folders'),
14
- 'resize_auto' => Mage::getStoreConfig('resize_auto'),
15
- 'resize_image' => Mage::getStoreConfig('resize_image'),
16
- 'min_size' => Mage::getStoreConfig('min_size'),
17
- 'max_size' => Mage::getStoreConfig('max_size'),
18
- 'compression_type_pdf' => Mage::getStoreConfig('compression_type_pdf'),
19
- 'compression_type_png' => Mage::getStoreConfig('compression_type_png'),
20
- 'compression_type_jpg' => Mage::getStoreConfig('compression_type_jpg'),
21
- 'compression_type_gif' => Mage::getStoreConfig('compression_type_gif'),
22
- 'compression_type' => Mage::getStoreConfig('compression_type'),
23
);
24
}
25
public function optimize($image, $savePath='') {
@@ -47,8 +46,8 @@ Class Imagerecycle_Imagerecycle_Helper_Data extends Mage_Core_Helper_Abstract{
47
$compressionType= $this->settings['compression_type_'.$ext];
48
if($compressionType=='none') return $response;
49
50
- if (!$this->settings['mageio_api_api_key'] || !$this->settings['mageio_api_api_secret'] || !$this->settings['mageio_api_api_url']
51
- ) {
52
53
$response->msg = Mage::helper('imagerecycle')->__("You haven't configured Image recycle setting correctly yet.");
54
return $response;
@@ -72,9 +71,7 @@ Class Imagerecycle_Imagerecycle_Helper_Data extends Mage_Core_Helper_Abstract{
72
}
73
74
include_once(Mage::getModuleDir('', 'Imagerecycle_Imagerecycle') . '/classes/ioa.class.php');
75
- $ioa = new ioaphp($this->settings['mageio_api_api_key'], $this->settings['mageio_api_api_secret']);
76
- $ioa->setAPIUrl($this->settings['mageio_api_api_url']);
77
-
78
$return = $ioa->uploadFile($file,$fparams);
79
Mage::log($return);
80
5
public $settings = null;
6
7
public function getSettings() {
8
+ return array(
9
+ 'api_key' => Mage::getStoreConfig('mageio_api_key'),
10
+ 'api_secret' => Mage::getStoreConfig('mageio_api_secret'),
11
+ 'installed_time' => Mage::getStoreConfig('mageio_installed_time'),
12
+ 'exclude_folders' => Mage::getStoreConfig('mageio_exclude_folders'),
13
+ 'resize_auto' => Mage::getStoreConfig('mageio_resize_auto'),
14
+ 'resize_image' => Mage::getStoreConfig('mageio_resize_image'),
15
+ 'min_size' => Mage::getStoreConfig('mageio_min_size'),
16
+ 'max_size' => Mage::getStoreConfig('mageio_max_size'),
17
+ 'compression_type_pdf' => Mage::getStoreConfig('mageio_compression_type_pdf'),
18
+ 'compression_type_png' => Mage::getStoreConfig('mageio_compression_type_png'),
19
+ 'compression_type_jpg' => Mage::getStoreConfig('mageio_compression_type_jpg'),
20
+ 'compression_type_gif' => Mage::getStoreConfig('mageio_compression_type_gif'),
21
+ 'compression_type' => Mage::getStoreConfig('mageio_compression_type'),
22
);
23
}
24
public function optimize($image, $savePath='') {
46
$compressionType= $this->settings['compression_type_'.$ext];
47
if($compressionType=='none') return $response;
48
49
+ if (!$this->settings['api_key'] || !$this->settings['api_secret'] )
50
+ {
51
52
$response->msg = Mage::helper('imagerecycle')->__("You haven't configured Image recycle setting correctly yet.");
53
return $response;
71
}
72
73
include_once(Mage::getModuleDir('', 'Imagerecycle_Imagerecycle') . '/classes/ioa.class.php');
74
+ $ioa = new ioaphp($this->settings['api_key'], $this->settings['api_secret']);
75
$return = $ioa->uploadFile($file,$fparams);
76
Mage::log($return);
77
app/code/community/Imagerecycle/Imagerecycle/classes/ioa.class.php CHANGED
@@ -10,7 +10,7 @@ class ioaphp {
10
* Image Optimize API Url
11
* @var string api url
12
*/
13
- protected $apiUrl = 'http://imageoptim/api/v1/';
14
15
/**
16
* Last Error message
10
* Image Optimize API Url
11
* @var string api url
12
*/
13
+ protected $apiUrl = 'https://api.imagerecycle.com/v1/';
14
15
/**
16
* Last Error message
app/code/community/Imagerecycle/Imagerecycle/controllers/IndexController.php CHANGED
@@ -24,18 +24,19 @@ Class Imagerecycle_Imagerecycle_IndexController extends Mage_Adminhtml_Controlle
24
25
$response = new stdClass();
26
$response->success = false;
27
- $configKey = array('mageio_api_api_url', 'mageio_api_api_key', 'mageio_api_api_secret','exclude_folders','resize_auto',
28
'resize_image','min_size','max_size','compression_type_pdf','compression_type_png','compression_type_jpg','compression_type_gif');
29
$coreConfig = Mage::getConfig();
30
$post = $this->getRequest()->getPost();
31
-
32
foreach ($configKey as $key) {
33
if (isset($post[$key])) {
34
- $coreConfig->saveConfig($key, Mage::helper('core')->escapeHtml($post[$key]));
35
$response->success = true;
36
}
37
}
38
-
39
$response->msg = "All modifications were saved!";
40
exit(json_encode($response));
41
}
@@ -69,8 +70,7 @@ Class Imagerecycle_Imagerecycle_IndexController extends Mage_Adminhtml_Controlle
69
$api_id = $resourceR->fetchOne("SELECT api_id FROM {$resourceR->tableName} WHERE `file` = " . $resourceR->quote($image));
70
if ($api_id) {
71
72
- $ioa = new ioaphp($this->blockImages->settings['mageio_api_api_key'], $this->blockImages->settings['mageio_api_api_secret']);
73
- $ioa->setAPIUrl($this->blockImages->settings['mageio_api_api_url']);
74
$return = $ioa->getImage($api_id);
75
76
if (!isset($return->id)) {
24
25
$response = new stdClass();
26
$response->success = false;
27
+ $configKey = array('api_key', 'api_secret','exclude_folders','resize_auto',
28
'resize_image','min_size','max_size','compression_type_pdf','compression_type_png','compression_type_jpg','compression_type_gif');
29
$coreConfig = Mage::getConfig();
30
$post = $this->getRequest()->getPost();
31
+ // var_dump($post);
32
foreach ($configKey as $key) {
33
if (isset($post[$key])) {
34
+ $coreConfig->saveConfig("mageio_".$key, Mage::helper('core')->escapeHtml($post[$key]));
35
$response->success = true;
36
}
37
}
38
+ $cache = Mage::getSingleton('core/cache');
39
+ $cache->flush();
40
$response->msg = "All modifications were saved!";
41
exit(json_encode($response));
42
}
70
$api_id = $resourceR->fetchOne("SELECT api_id FROM {$resourceR->tableName} WHERE `file` = " . $resourceR->quote($image));
71
if ($api_id) {
72
73
+ $ioa = new ioaphp($this->blockImages->settings['api_key'], $this->blockImages->settings['api_secret']);
74
$return = $ioa->getImage($api_id);
75
76
if (!isset($return->id)) {
app/code/community/Imagerecycle/Imagerecycle/etc/config.xml CHANGED
@@ -2,7 +2,7 @@
2
<config>
3
<modules>
4
<Imagerecycle_Imagerecycle>
5
- <version>1.0.2</version>
6
</Imagerecycle_Imagerecycle>
7
</modules>
8
2
<config>
3
<modules>
4
<Imagerecycle_Imagerecycle>
5
+ <version>1.0.3</version>
6
</Imagerecycle_Imagerecycle>
7
</modules>
8
app/design/adminhtml/default/default/template/imagerecycle/imagerecycle/images.phtml CHANGED
@@ -26,25 +26,30 @@ if($order_by != '') {
26
27
?>
28
29
- <div class="content-header">
30
- <div style="float:right; margin-top: 3px; position: relative">
31
<a id="ir-setting" href="javascript:void(0)">Setting<i class="icon-setting"></i></a>
32
<div class="ir-setting hidden">
33
<p style="margin-top: 8px; color: #6565cb; font-weight: bold"><?php echo Mage::helper('imagerecycle')->__('Image recycle setttings') ?></p>
34
<table class="form-table">
35
<tbody>
36
- <input id="installed_time" class="formData" name="_mageio_settings[installed_time]" type="hidden" value="<?php echo $this->settings['installed_time'] ; ?>" size="50"/>
37
- <input id="mageio_api_api_url" class="formData" name="_mageio_settings[mageio_api_api_url]" type="hidden" value="<?php echo $this->settings['mageio_api_api_url'] ; ?>" size="50"/>
38
<tr>
39
<th scope="row"><?php echo Mage::helper('imagerecycle')->__('API key : ') ?></th>
40
<td colspan="2">
41
- <input id="mageio_api_api_key" class="formData" name="_mageio_settings[mageio_api_api_key]" type="text" value="<?php echo $this->escapeHtml($this->settings['mageio_api_api_key']) ; ?>" size="50"/>
42
</td>
43
</tr>
44
<tr>
45
<th scope="row"><?php echo Mage::helper('imagerecycle')->__('API secret : ') ?></th>
46
<td colspan="2">
47
- <input id="mageio_api_api_secret" class="formData" name="_mageio_settings[mageio_api_api_secret]" type="text" value="<?php echo $this->escapeHtml($this->settings['mageio_api_api_secret']) ; ?>" size="50"/>
48
</td>
49
</tr>
50
<tr>
@@ -74,7 +79,8 @@ if($order_by != '') {
74
<tr>
75
<th scope="row" colspan="2"><?php echo Mage::helper('imagerecycle')->__('Image resize, max size (px)') ?></th>
76
<td>
77
- <input id="resize_image" class="formData" name="_mageio_settings[resize_image]" type="text" value="<?php echo $this->escapeHtml($this->settings['resize_image']) ; ?>" size="10"/>
78
</td>
79
</tr>
80
<tr>
@@ -90,7 +96,8 @@ if($order_by != '') {
90
<th scope="row" colspan="2">
91
<?php echo Mage::helper('imagerecycle')->__('Max file size to optimize (Kb)') ?></th>
92
<td>
93
- <input id="max_size" class="formData" name="_mageio_settings[max_size]" type="text" value="<?php echo $this->escapeHtml($this->settings['max_size']) ; ?>" size="10"/>
94
</td>
95
</th>
96
</tr>
@@ -158,13 +165,7 @@ if($order_by != '') {
158
</tbody>
159
</table>
160
</div>
161
- </div>
162
- <h3 class="icon-head" style="color: #009999">
163
- <?php echo Mage::helper('imagerecycle')->__('Images Recycle Manager') ?>
164
- </h3>
165
- </div>
166
- <div>
167
-
168
<div class="scan-msg-box" style="display: none">
169
<div>
170
<p><?php echo Mage::helper('imagerecycle')->__("It may takes a few minutes for the first time of using Mage Image Recycle.") ?></p>
26
27
?>
28
29
+ <div class="content-header">
30
+ <h3 class="icon-head" style="color: #009999">
31
+ <?php echo Mage::helper('imagerecycle')->__('Images Recycle Manager') ?>
32
+ </h3>
33
+ </div>
34
+
35
+ <div>
36
+ <div style="float:right; margin-top: -45px; position: relative">
37
<a id="ir-setting" href="javascript:void(0)">Setting<i class="icon-setting"></i></a>
38
<div class="ir-setting hidden">
39
<p style="margin-top: 8px; color: #6565cb; font-weight: bold"><?php echo Mage::helper('imagerecycle')->__('Image recycle setttings') ?></p>
40
<table class="form-table">
41
<tbody>
42
+ <input id="installed_time" class="formData" name="_mageio_settings[installed_time]" type="hidden" value="<?php echo $this->settings['installed_time'] ; ?>" size="50"/>
43
<tr>
44
<th scope="row"><?php echo Mage::helper('imagerecycle')->__('API key : ') ?></th>
45
<td colspan="2">
46
+ <input id="api_key" class="formData" name="_mageio_settings[api_key]" type="text" value="<?php echo $this->escapeHtml($this->settings['api_key']) ; ?>" size="50"/>
47
</td>
48
</tr>
49
<tr>
50
<th scope="row"><?php echo Mage::helper('imagerecycle')->__('API secret : ') ?></th>
51
<td colspan="2">
52
+ <input id="api_secret" class="formData" name="_mageio_settings[api_secret]" type="text" value="<?php echo $this->escapeHtml($this->settings['api_secret']) ; ?>" size="50"/>
53
</td>
54
</tr>
55
<tr>
79
<tr>
80
<th scope="row" colspan="2"><?php echo Mage::helper('imagerecycle')->__('Image resize, max size (px)') ?></th>
81
<td>
82
+ <?php $resize_image = !is_null($this->settings['resize_image'])?$this->settings['resize_image'] : 1600; ?>
83
+ <input id="resize_image" class="formData" name="_mageio_settings[resize_image]" type="text" value="<?php echo $this->escapeHtml($resize_image) ; ?>" size="10"/>
84
</td>
85
</tr>
86
<tr>
96
<th scope="row" colspan="2">
97
<?php echo Mage::helper('imagerecycle')->__('Max file size to optimize (Kb)') ?></th>
98
<td>
99
+ <?php $maxSize = !is_null($this->settings['max_size'])?$this->settings['max_size'] : 10000; ?>
100
+ <input id="max_size" class="formData" name="_mageio_settings[max_size]" type="text" value="<?php echo $this->escapeHtml($maxSize) ; ?>" size="10"/>
101
</td>
102
</th>
103
</tr>
165
</tbody>
166
</table>
167
</div>
168
+ </div>
169
<div class="scan-msg-box" style="display: none">
170
<div>
171
<p><?php echo Mage::helper('imagerecycle')->__("It may takes a few minutes for the first time of using Mage Image Recycle.") ?></p>
js/imagerecycle/imagerecycle/script.js CHANGED
@@ -100,13 +100,11 @@ $j(document).ready(function() {
100
//Change the setting
101
$j('#ir-setting-save').bind('click', function(e) {
102
e.preventDefault();
103
-
104
var data = {
105
- form_key: window.FORM_KEY,
106
- mageio_api_api_url: $j('#mageio_api_api_url').val(),
107
- mageio_api_api_key: $j('#mageio_api_api_key').val(),
108
- mageio_api_api_secret: $j('#mageio_api_api_secret').val(),
109
- mageio_api_min_size: $j('#mageio_api_min_size').val(),
110
exclude_folders : $j('#exclude_folders').val(),
111
resize_auto : $j('#resize_auto').val(),
112
resize_image : $j('#resize_image').val(),
100
//Change the setting
101
$j('#ir-setting-save').bind('click', function(e) {
102
e.preventDefault();
103
var data = {
104
+ form_key: window.FORM_KEY,
105
+ api_key: $j('#api_key').val(),
106
+ api_secret: $j('#api_secret').val(),
107
+ min_size: $j('#min_size').val(),
108
exclude_folders : $j('#exclude_folders').val(),
109
resize_auto : $j('#resize_auto').val(),
110
resize_image : $j('#resize_image').val(),
package.xml CHANGED
@@ -1,7 +1,7 @@
1
<?xml version="1.0"?>
2
<package>
3
<name>ImageRecycle_image_pdf_optimize</name>
4
- <version>1.0.2</version>
5
<stability>stable</stability>
6
<license>GPL</license>
7
<channel>community</channel>
@@ -32,11 +32,11 @@ The jpg, png, gif optimization algorithm is capable of reducing the image size b
32
- Define a min-max size to optimize&#xD;
33
- Optimize png, jpg, gif&#xD;
34
- Define optimization quality per file type, jpg, png, gif</description>
35
- <notes>First stable release</notes>
36
<authors><author><name>ImageRecycle</name><user>ImageRecycle</user><email>contact@imagerecycle.com</email></author></authors>
37
- <date>2015-07-22</date>
38
- <time>10:02:19</time>
39
- <contents><target name="magecommunity"><dir name="Imagerecycle"><dir name="Imagerecycle"><dir name="Block"><file name="Images.php" hash="b9b9fe9c0d0a177fc4b68267a88b0e9e"/></dir><dir name="Helper"><file name="Data.php" hash="0c20c4a7fab920f9e05f3eb9dcd087e5"/></dir><dir name="Model"><file name="Observer.php" hash="ecd7abe292e072f6c02badfb8815ba4b"/><dir name="Resource"><dir name="Images"><file name="Collection.php" hash="a8f7aba5403f8469959053630e509898"/></dir><file name="Images.php" hash="82c27d80a05aa3af8329100ad1ca2762"/><file name="Setup.php" hash="7950a28c598f21168a319fcbf7946583"/></dir></dir><dir name="classes"><file name="ioa.class.php" hash="fe94031507a893481a7db8dd2b5dfdde"/></dir><dir name="controllers"><file name="IndexController.php" hash="0a20b9a53bdf7f76705c33b46f4f6c30"/></dir><dir name="etc"><file name="adminhtml.xml" hash="66cb48702ff1456d6ca9fbff533f3ee4"/><file name="config.xml" hash="ea8e4923ea079cd5d6ea2b4b8801e125"/></dir><dir name="sql"><dir name="imagerecycle_setup"><file name="mysql4-install-1.0.0.php" hash="e9113b9c19d91ed6cebd34180c90ff76"/></dir></dir></dir></dir></target><target name="mageweb"><dir name="js"><dir name="imagerecycle"><dir name="imagerecycle"><file name="bluebox.js" hash="36304b24f301b11d5abc23d6b5c1ef45"/><file name="jquery.min.js" hash="8101d596b2b8fa35fe3a634ea342d7c3"/><file name="script.js" hash="1f324e0446a2667ef8784b4213908790"/></dir></dir></dir></target><target name="mageskin"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="imagerecycle"><dir name="imagerecycle"><file name="imagerecycle.css" hash="5c70db79a6e7ac29b0b1e9927ae6f31f"/><dir name="images"><file name="ajax-loader-tr.gif" hash="1ae32bc8232ff2527c627e5b38eb319a"/><file name="gift-message-collapse.gif" hash="5b710f5faa9c7352a39c10e3ebbee6fc"/><file name="gift-message-expand.gif" hash="fd53a70cbb1ea048754657a63787e9cb"/><file name="grouped_to_order_icon.png" hash="4bdae9a6199655027b8b8aeee8f80ce4"/><file name="i_question-mark.png" hash="23201b7ac207eebd9be0776ea44098a4"/><file name="pdf.png" hash="9c819141f3537f9f3ea181369332be85"/></dir></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Imagerecycle_ImageRecycle.xml" hash="a20d14dfe71ec27c3f048cbb2eb03d1d"/></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="imagerecycle_imagerecycle.xml" hash="f26968bc8644e3e3d7c412a73d7f3ba0"/></dir></dir></dir></dir><dir><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="template"><dir name="imagerecycle"><dir name="imagerecycle"><file name="images.phtml" hash="bc8903cf82eb2c98040eba5c6f51e6b1"/></dir></dir></dir></dir></dir></dir></dir></target></contents>
40
<compatible/>
41
<dependencies><required><php><min>5.3.0</min><max>5.6.0</max></php><extension><name>curl</name><min></min><max></max></extension></required></dependencies>
42
</package>
1
<?xml version="1.0"?>
2
<package>
3
<name>ImageRecycle_image_pdf_optimize</name>
4
+ <version>1.0.3</version>
5
<stability>stable</stability>
6
<license>GPL</license>
7
<channel>community</channel>
32
- Define a min-max size to optimize&#xD;
33
- Optimize png, jpg, gif&#xD;
34
- Define optimization quality per file type, jpg, png, gif</description>
35
+ <notes>Fix api url not set</notes>
36
<authors><author><name>ImageRecycle</name><user>ImageRecycle</user><email>contact@imagerecycle.com</email></author></authors>
37
+ <date>2015-07-27</date>
38
+ <time>13:08:36</time>
39
+ <contents><target name="magecommunity"><dir name="Imagerecycle"><dir name="Imagerecycle"><dir name="Block"><file name="Images.php" hash="e87aada5017900e066c031a73f41c096"/></dir><dir name="Helper"><file name="Data.php" hash="a5c0bf8b494dde9fe32626c896690e32"/></dir><dir name="Model"><file name="Observer.php" hash="ecd7abe292e072f6c02badfb8815ba4b"/><dir name="Resource"><dir name="Images"><file name="Collection.php" hash="a8f7aba5403f8469959053630e509898"/></dir><file name="Images.php" hash="82c27d80a05aa3af8329100ad1ca2762"/><file name="Setup.php" hash="7950a28c598f21168a319fcbf7946583"/></dir></dir><dir name="classes"><file name="ioa.class.php" hash="a8f04430a71d4e91bbaff179f4cd6856"/></dir><dir name="controllers"><file name="IndexController.php" hash="9e798b42d9c1057dd0153fac84e200fa"/></dir><dir name="etc"><file name="adminhtml.xml" hash="66cb48702ff1456d6ca9fbff533f3ee4"/><file name="config.xml" hash="0f5dbc44cb0b62d2a5428a54136692c9"/></dir><dir name="sql"><dir name="imagerecycle_setup"><file name="mysql4-install-1.0.0.php" hash="e9113b9c19d91ed6cebd34180c90ff76"/></dir></dir></dir></dir></target><target name="mageweb"><dir name="js"><dir name="imagerecycle"><dir name="imagerecycle"><file name="bluebox.js" hash="36304b24f301b11d5abc23d6b5c1ef45"/><file name="jquery.min.js" hash="8101d596b2b8fa35fe3a634ea342d7c3"/><file name="script.js" hash="4a3fe3225f3bfc8c54ed591d19e970de"/></dir></dir></dir></target><target name="mageskin"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="imagerecycle"><dir name="imagerecycle"><file name="imagerecycle.css" hash="5c70db79a6e7ac29b0b1e9927ae6f31f"/><dir name="images"><file name="ajax-loader-tr.gif" hash="1ae32bc8232ff2527c627e5b38eb319a"/><file name="gift-message-collapse.gif" hash="5b710f5faa9c7352a39c10e3ebbee6fc"/><file name="gift-message-expand.gif" hash="fd53a70cbb1ea048754657a63787e9cb"/><file name="grouped_to_order_icon.png" hash="4bdae9a6199655027b8b8aeee8f80ce4"/><file name="i_question-mark.png" hash="23201b7ac207eebd9be0776ea44098a4"/><file name="pdf.png" hash="9c819141f3537f9f3ea181369332be85"/></dir></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Imagerecycle_ImageRecycle.xml" hash="a20d14dfe71ec27c3f048cbb2eb03d1d"/></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="imagerecycle_imagerecycle.xml" hash="f26968bc8644e3e3d7c412a73d7f3ba0"/></dir></dir></dir></dir><dir><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="template"><dir name="imagerecycle"><dir name="imagerecycle"><file name="images.phtml" hash="5bfc9e839c069388560292abb074cfd6"/></dir></dir></dir></dir></dir></dir></dir></target></contents>
40
<compatible/>
41
<dependencies><required><php><min>5.3.0</min><max>5.6.0</max></php><extension><name>curl</name><min></min><max></max></extension></required></dependencies>
42
</package>