Apptrian_Image_Optimizer - Version 1.2.0

Version Notes

+ Added Utility Exact Path options
+ Improved generation of commands
If you are upgrading from any previous version after you install new version go to extension configuration and for
"GIF Utility Options" type "-b -O3 %filepath%"
"JPG Utility Options" type "-copy none -optimize -progressive -outfile %filepath% %filepath%"
"PNG Utility Options" type "-o5 %filepath%"
(Without quotes)

Download this release

Release Info

Developer Apptrian
Extension Apptrian_Image_Optimizer
Version 1.2.0
Comparing to
See all releases


Code changes from version 1.1.0 to 1.2.0

app/code/community/Apptrian/ImageOptimizer/Helper/Utility.php CHANGED
@@ -79,13 +79,24 @@ class Apptrian_ImageOptimizer_Helper_Utility extends Mage_Core_Helper_Abstract {
79
protected function getUtil($type, $filePath)
80
{
81
82
- $cmd = $this->getUtilPath() . DS . Mage::getConfig()->getNode('apptrian_imageoptimizer/utility/' . $type, 'default') . $this->getUtilExt() . ' ' . Mage::getConfig()->getNode('apptrian_imageoptimizer/utility/' . $type . '_options', 'default') . ' ' . $filePath;
83
84
- if (Mage::getConfig()->getNode('apptrian_imageoptimizer/utility/' . $type, 'default') == 'jpegtran') {
85
- $cmd .= ' ' . $filePath;
86
- }
87
-
88
- return $cmd;
89
}
90
91
/**
79
protected function getUtil($type, $filePath)
80
{
81
82
+ $exactPath = Mage::getConfig()->getNode('apptrian_imageoptimizer/utility/' . $type . '_path', 'default');
83
+
84
+ // If utility exact path is set use it
85
+ if ($exactPath != '') {
86
+
87
+ $cmd = $exactPath;
88
+
89
+ // Use path to extension's local utilities
90
+ } else {
91
+
92
+ $cmd = $this->getUtilPath() . DS . Mage::getConfig()->getNode('apptrian_imageoptimizer/utility/' . $type, 'default') . $this->getUtilExt();
93
+
94
+ }
95
+
96
+ $cmd .= ' ' . Mage::getConfig()->getNode('apptrian_imageoptimizer/utility/' . $type . '_options', 'default');
97
+
98
+ return str_replace('%filepath%', $filePath, $cmd);
99
100
}
101
102
/**
app/code/community/Apptrian/ImageOptimizer/Model/Config/Exactpath.php ADDED
@@ -0,0 +1,46 @@
1
+ <?php
2
+ /**
3
+ * @category Apptrian
4
+ * @package Apptrian_ImageOptimizer
5
+ * @author Apptrian
6
+ * @copyright Copyright (c) 2015 Apptrian (http://www.apptrian.com)
7
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
8
+ */
9
+ class Apptrian_ImageOptimizer_Model_Config_Exactpath extends Mage_Core_Model_Config_Data
10
+ {
11
+
12
+ public function _beforeSave()
13
+ {
14
+
15
+ $result = $this->validate();
16
+
17
+ if ($result !== true) {
18
+
19
+ Mage::throwException(implode("\n", $result));
20
+
21
+ }
22
+
23
+ return parent::_beforeSave();
24
+
25
+ }
26
+
27
+ public function validate()
28
+ {
29
+
30
+ $errors = array();
31
+ $helper = Mage::helper('apptrian_imageoptimizer');
32
+ $value = $this->getValue();
33
+
34
+ if (!Zend_Validate::is($value, 'Regex', array('pattern' => '/^[\p{L}\p{N}_,;:!&#\+\*\$\?\|\'\.\-\ \/\\\\]*#x2F;iu'))) {
35
+ $errors[] = $helper->__('One or more of Utility Exact Path fields are invalid.');
36
+ }
37
+
38
+ if (empty($errors)) {
39
+ return true;
40
+ }
41
+
42
+ return $errors;
43
+
44
+ }
45
+
46
+ }
app/code/community/Apptrian/ImageOptimizer/Model/Config/Options.php CHANGED
@@ -31,7 +31,7 @@ class Apptrian_ImageOptimizer_Model_Config_Options extends Mage_Core_Model_Confi
31
$helper = Mage::helper('apptrian_imageoptimizer');
32
$value = $this->getValue();
33
34
- if (!Zend_Validate::is($value, 'Regex', array('pattern' => '/^[\p{L}\p{N}_,;:!&#\+\*\$\?\|\'\.\-\ \/]+#x2F;iu'))) {
35
$errors[] = $helper->__('One or more of Utility Option fields are invalid.');
36
}
37
31
$helper = Mage::helper('apptrian_imageoptimizer');
32
$value = $this->getValue();
33
34
+ if (!Zend_Validate::is($value, 'Regex', array('pattern' => '/^[\p{L}\p{N}_,;:!%&#\+\*\$\?\|\'\.\-\ \/]+#x2F;iu'))) {
35
$errors[] = $helper->__('One or more of Utility Option fields are invalid.');
36
}
37
app/code/community/Apptrian/ImageOptimizer/etc/config.xml CHANGED
@@ -11,7 +11,7 @@
11
<config>
12
<modules>
13
<Apptrian_ImageOptimizer>
14
- <version>1.1.0</version>
15
</Apptrian_ImageOptimizer>
16
</modules>
17
<global>
@@ -73,11 +73,14 @@
73
<log_output>0</log_output>
74
<path>lib/apptrian/imageoptimizer</path>
75
<gif>gifsicle</gif>
76
- <gif_options>-b -O3</gif_options>
77
<jpg>jpegtran</jpg>
78
- <jpg_options>-copy none -optimize -progressive -outfile</jpg_options>
79
<png>optipng</png>
80
- <png_options>-o5</png_options>
81
</utility>
82
</apptrian_imageoptimizer>
83
</default>
11
<config>
12
<modules>
13
<Apptrian_ImageOptimizer>
14
+ <version>1.2.0</version>
15
</Apptrian_ImageOptimizer>
16
</modules>
17
<global>
73
<log_output>0</log_output>
74
<path>lib/apptrian/imageoptimizer</path>
75
<gif>gifsicle</gif>
76
+ <gif_path></gif_path>
77
+ <gif_options>-b -O3 %filepath%</gif_options>
78
<jpg>jpegtran</jpg>
79
+ <jpg_path></jpg_path>
80
+ <jpg_options>-copy none -optimize -progressive -outfile %filepath% %filepath%</jpg_options>
81
<png>optipng</png>
82
+ <png_path></png_path>
83
+ <png_options>-o5 %filepath%</png_options>
84
</utility>
85
</apptrian_imageoptimizer>
86
</default>
app/code/community/Apptrian/ImageOptimizer/etc/system.xml CHANGED
@@ -260,57 +260,93 @@
260
<comment>Optimization utility for .gif files.</comment>
261
<tooltip><![CDATA[Do not include the .exe extension for Windows binaries.<br /><strong>Command line binaries only!</strong>]]></tooltip>
262
</gif>
263
- <gif_options translate="label comment">
264
<label>GIF Utility Options</label>
265
<frontend_type>text</frontend_type>
266
<backend_model>apptrian_imageoptimizer/config_options</backend_model>
267
- <sort_order>6</sort_order>
268
<show_in_default>1</show_in_default>
269
<show_in_website>0</show_in_website>
270
<show_in_store>0</show_in_store>
271
<comment>Options for optimization of .gif files.</comment>
272
</gif_options>
273
<jpg translate="label comment tooltip">
274
<label>JPG Utility</label>
275
<frontend_type>text</frontend_type>
276
<backend_model>apptrian_imageoptimizer/config_utility</backend_model>
277
- <sort_order>7</sort_order>
278
<show_in_default>1</show_in_default>
279
<show_in_website>0</show_in_website>
280
<show_in_store>0</show_in_store>
281
<comment>Optimization utility for .jpg files.</comment>
282
<tooltip><![CDATA[Do not include the .exe extension for Windows binaries.<br /><strong>Command line binaries only!</strong>]]></tooltip>
283
</jpg>
284
- <jpg_options translate="label comment">
285
<label>JPG Utility Options</label>
286
<frontend_type>text</frontend_type>
287
<backend_model>apptrian_imageoptimizer/config_options</backend_model>
288
- <sort_order>8</sort_order>
289
<show_in_default>1</show_in_default>
290
<show_in_website>0</show_in_website>
291
<show_in_store>0</show_in_store>
292
<comment>Options for optimization of .jpg files.</comment>
293
</jpg_options>
294
<png translate="label comment tooltip">
295
<label>PNG Utility</label>
296
<frontend_type>text</frontend_type>
297
<backend_model>apptrian_imageoptimizer/config_utility</backend_model>
298
- <sort_order>9</sort_order>
299
<show_in_default>1</show_in_default>
300
<show_in_website>0</show_in_website>
301
<show_in_store>0</show_in_store>
302
<comment>Optimization utility for .png files.</comment>
303
<tooltip><![CDATA[Do not include the .exe extension for Windows binaries.<br /><strong>Command line binaries only!</strong>]]></tooltip>
304
</png>
305
- <png_options translate="label comment">
306
<label>PNG Utility Options</label>
307
<frontend_type>text</frontend_type>
308
<backend_model>apptrian_imageoptimizer/config_options</backend_model>
309
- <sort_order>10</sort_order>
310
<show_in_default>1</show_in_default>
311
<show_in_website>0</show_in_website>
312
<show_in_store>0</show_in_store>
313
<comment>Options for optimization of .png files.</comment>
314
</png_options>
315
</fields>
316
</utility>
260
<comment>Optimization utility for .gif files.</comment>
261
<tooltip><![CDATA[Do not include the .exe extension for Windows binaries.<br /><strong>Command line binaries only!</strong>]]></tooltip>
262
</gif>
263
+ <gif_path translate="label comment tooltip">
264
+ <label>GIF Utility Exact Path</label>
265
+ <frontend_type>text</frontend_type>
266
+ <backend_model>apptrian_imageoptimizer/config_exactpath</backend_model>
267
+ <sort_order>6</sort_order>
268
+ <show_in_default>1</show_in_default>
269
+ <show_in_website>0</show_in_website>
270
+ <show_in_store>0</show_in_store>
271
+ <comment>WARNING! Read the tooltip for more information.</comment>
272
+ <tooltip><![CDATA[If utility you want to use is already installed on your server, you can specify exact path to it. When generating command this exact path to utility will be used and then "Utility Options" will be appended to it. Example:<br/>/usr/bin/gifsicle<br/>If your utility is added to your system path (which means it is accessible from every directory) then type only utility executable filename. If you do not want to use this option leave this field empty. (Do not leave any white space characters.)]]></tooltip>
273
+ </gif_path>
274
+ <gif_options translate="label comment tooltip">
275
<label>GIF Utility Options</label>
276
<frontend_type>text</frontend_type>
277
<backend_model>apptrian_imageoptimizer/config_options</backend_model>
278
+ <sort_order>7</sort_order>
279
<show_in_default>1</show_in_default>
280
<show_in_website>0</show_in_website>
281
<show_in_store>0</show_in_store>
282
<comment>Options for optimization of .gif files.</comment>
283
+ <tooltip><![CDATA[The <strong>%filepath%</strong> will be substituted with image file path by the extension.]]></tooltip>
284
</gif_options>
285
<jpg translate="label comment tooltip">
286
<label>JPG Utility</label>
287
<frontend_type>text</frontend_type>
288
<backend_model>apptrian_imageoptimizer/config_utility</backend_model>
289
+ <sort_order>8</sort_order>
290
<show_in_default>1</show_in_default>
291
<show_in_website>0</show_in_website>
292
<show_in_store>0</show_in_store>
293
<comment>Optimization utility for .jpg files.</comment>
294
<tooltip><![CDATA[Do not include the .exe extension for Windows binaries.<br /><strong>Command line binaries only!</strong>]]></tooltip>
295
</jpg>
296
+ <jpg_path translate="label comment tooltip">
297
+ <label>JPG Utility Exact Path</label>
298
+ <frontend_type>text</frontend_type>
299
+ <backend_model>apptrian_imageoptimizer/config_exactpath</backend_model>
300
+ <sort_order>9</sort_order>
301
+ <show_in_default>1</show_in_default>
302
+ <show_in_website>0</show_in_website>
303
+ <show_in_store>0</show_in_store>
304
+ <comment>WARNING! Read the tooltip for more information.</comment>
305
+ <tooltip><![CDATA[If utility you want to use is already installed on your server, you can specify exact path to it. When generating command this exact path to utility will be used and then "Utility Options" will be appended to it. Example:<br/>/usr/bin/jpegtran<br/>If your utility is added to your system path (which means it is accessible from every directory) then type only utility executable filename. If you do not want to use this option leave this field empty. (Do not leave any white space characters.)]]></tooltip>
306
+ </jpg_path>
307
+ <jpg_options translate="label comment tooltip">
308
<label>JPG Utility Options</label>
309
<frontend_type>text</frontend_type>
310
<backend_model>apptrian_imageoptimizer/config_options</backend_model>
311
+ <sort_order>10</sort_order>
312
<show_in_default>1</show_in_default>
313
<show_in_website>0</show_in_website>
314
<show_in_store>0</show_in_store>
315
<comment>Options for optimization of .jpg files.</comment>
316
+ <tooltip><![CDATA[The <strong>%filepath%</strong> will be substituted with image file path by the extension.]]></tooltip>
317
</jpg_options>
318
<png translate="label comment tooltip">
319
<label>PNG Utility</label>
320
<frontend_type>text</frontend_type>
321
<backend_model>apptrian_imageoptimizer/config_utility</backend_model>
322
+ <sort_order>11</sort_order>
323
<show_in_default>1</show_in_default>
324
<show_in_website>0</show_in_website>
325
<show_in_store>0</show_in_store>
326
<comment>Optimization utility for .png files.</comment>
327
<tooltip><![CDATA[Do not include the .exe extension for Windows binaries.<br /><strong>Command line binaries only!</strong>]]></tooltip>
328
</png>
329
+ <png_path translate="label comment tooltip">
330
+ <label>PNG Utility Exact Path</label>
331
+ <frontend_type>text</frontend_type>
332
+ <backend_model>apptrian_imageoptimizer/config_exactpath</backend_model>
333
+ <sort_order>12</sort_order>
334
+ <show_in_default>1</show_in_default>
335
+ <show_in_website>0</show_in_website>
336
+ <show_in_store>0</show_in_store>
337
+ <comment>WARNING! Read the tooltip for more information.</comment>
338
+ <tooltip><![CDATA[If utility you want to use is already installed on your server, you can specify exact path to it. When generating command this exact path to utility will be used and then "Utility Options" will be appended to it. Example:<br/>/usr/bin/optipng<br/>If your utility is added to your system path (which means it is accessible from every directory) then type only utility executable filename. If you do not want to use this option leave this field empty. (Do not leave any white space characters.)]]></tooltip>
339
+ </png_path>
340
+ <png_options translate="label comment tooltip">
341
<label>PNG Utility Options</label>
342
<frontend_type>text</frontend_type>
343
<backend_model>apptrian_imageoptimizer/config_options</backend_model>
344
+ <sort_order>13</sort_order>
345
<show_in_default>1</show_in_default>
346
<show_in_website>0</show_in_website>
347
<show_in_store>0</show_in_store>
348
<comment>Options for optimization of .png files.</comment>
349
+ <tooltip><![CDATA[The <strong>%filepath%</strong> will be substituted with image file path by the extension.]]></tooltip>
350
</png_options>
351
</fields>
352
</utility>
app/locale/en_US/Apptrian_ImageOptimizer.csv CHANGED
@@ -3,6 +3,7 @@
3
"Batch size must be greater than 0.","Batch size must be greater than 0."
4
"Unable to save the cron expression.","Unable to save the cron expression."
5
"Cron expression is invalid.","Cron expression is invalid."
6
"One or more of Utility Option fields are invalid.","One or more of Utility Option fields are invalid."
7
"Utility Path is invalid.","Utility Path is invalid."
8
"Paths field is invalid.","Paths field is invalid."
@@ -47,13 +48,21 @@
47
"GIF Utility","GIF Utility"
48
"Optimization utility for .gif files.","Optimization utility for .gif files."
49
"Do not include the .exe extension for Windows binaries.<br /><strong>Command line binaries only!</strong>","Do not include the .exe extension for Windows binaries.<br /><strong>Command line binaries only!</strong>"
50
"GIF Utility Options","GIF Utility Options"
51
"Options for optimization of .gif files.","Options for optimization of .gif files."
52
"JPG Utility","JPG Utility"
53
"Optimization utility for .jpg files.","Optimization utility for .jpg files."
54
"JPG Utility Options","JPG Utility Options"
55
"Options for optimization of .jpg files.","Options for optimization of .jpg files."
56
"PNG Utility","PNG Utility"
57
"Optimization utility for .png files.","Optimization utility for .png files."
58
"PNG Utility Options","PNG Utility Options"
59
"Options for optimization of .png files.","Options for optimization of .png files."
3
"Batch size must be greater than 0.","Batch size must be greater than 0."
4
"Unable to save the cron expression.","Unable to save the cron expression."
5
"Cron expression is invalid.","Cron expression is invalid."
6
+ "One or more of Utility Exact Path fields are invalid.","One or more of Utility Exact Path fields are invalid."
7
"One or more of Utility Option fields are invalid.","One or more of Utility Option fields are invalid."
8
"Utility Path is invalid.","Utility Path is invalid."
9
"Paths field is invalid.","Paths field is invalid."
48
"GIF Utility","GIF Utility"
49
"Optimization utility for .gif files.","Optimization utility for .gif files."
50
"Do not include the .exe extension for Windows binaries.<br /><strong>Command line binaries only!</strong>","Do not include the .exe extension for Windows binaries.<br /><strong>Command line binaries only!</strong>"
51
+ "GIF Utility Exact Path","GIF Utility Exact Path"
52
+ "WARNING! Read the tooltip for more information.","WARNING! Read the tooltip for more information."
53
+ "If utility you want to use is already installed on your server, you can specify exact path to it. When generating command this exact path to utility will be used and then ""Utility Options"" will be appended to it. Example:<br/>/usr/bin/gifsicle<br/>If your utility is added to your system path (which means it is accessible from every directory) then type only utility executable filename. If you do not want to use this option leave this field empty. (Do not leave any white space characters.)","If utility you want to use is already installed on your server, you can specify exact path to it. When generating command this exact path to utility will be used and then ""Utility Options"" will be appended to it. Example:<br/>/usr/bin/gifsicle<br/>If your utility is added to your system path (which means it is accessible from every directory) then type only utility executable filename. If you do not want to use this option leave this field empty. (Do not leave any white space characters.)"
54
"GIF Utility Options","GIF Utility Options"
55
"Options for optimization of .gif files.","Options for optimization of .gif files."
56
+ "The <strong>%filepath%</strong> will be substituted with image file path by the extension.","The <strong>%filepath%</strong> will be substituted with image file path by the extension."
57
"JPG Utility","JPG Utility"
58
"Optimization utility for .jpg files.","Optimization utility for .jpg files."
59
+ "JPG Utility Exact Path","JPG Utility Exact Path"
60
+ "If utility you want to use is already installed on your server, you can specify exact path to it. When generating command this exact path to utility will be used and then ""Utility Options"" will be appended to it. Example:<br/>/usr/bin/jpegtran<br/>If your utility is added to your system path (which means it is accessible from every directory) then type only utility executable filename. If you do not want to use this option leave this field empty. (Do not leave any white space characters.)","If utility you want to use is already installed on your server, you can specify exact path to it. When generating command this exact path to utility will be used and then ""Utility Options"" will be appended to it. Example:<br/>/usr/bin/jpegtran<br/>If your utility is added to your system path (which means it is accessible from every directory) then type only utility executable filename. If you do not want to use this option leave this field empty. (Do not leave any white space characters.)"
61
"JPG Utility Options","JPG Utility Options"
62
"Options for optimization of .jpg files.","Options for optimization of .jpg files."
63
"PNG Utility","PNG Utility"
64
"Optimization utility for .png files.","Optimization utility for .png files."
65
+ "PNG Utility Exact Path","PNG Utility Exact Path"
66
+ "If utility you want to use is already installed on your server, you can specify exact path to it. When generating command this exact path to utility will be used and then ""Utility Options"" will be appended to it. Example:<br/>/usr/bin/optipng<br/>If your utility is added to your system path (which means it is accessible from every directory) then type only utility executable filename. If you do not want to use this option leave this field empty. (Do not leave any white space characters.)","If utility you want to use is already installed on your server, you can specify exact path to it. When generating command this exact path to utility will be used and then ""Utility Options"" will be appended to it. Example:<br/>/usr/bin/optipng<br/>If your utility is added to your system path (which means it is accessible from every directory) then type only utility executable filename. If you do not want to use this option leave this field empty. (Do not leave any white space characters.)"
67
"PNG Utility Options","PNG Utility Options"
68
"Options for optimization of .png files.","Options for optimization of .png files."
package.xml CHANGED
@@ -1,18 +1,24 @@
1
<?xml version="1.0"?>
2
<package>
3
<name>Apptrian_Image_Optimizer</name>
4
- <version>1.1.0</version>
5
<stability>stable</stability>
6
<license uri="http://opensource.org/licenses/osl-3.0.php">Open Software License (OSL 3.0)</license>
7
<channel>community</channel>
8
<extends/>
9
<summary>Optimize your images, reduce their file size without losing image quality and speed up your site.</summary>
10
<description>Apptrian Image Optimizer will optimize your images (GIF, JPG, PNG) reduce their file size without losing image quality and speed up your site. Extension is very easy to install and use. You can optimize images by clicking a button in Magento Admin or automatically by a configurable cron job. If you are an advanced user you will be pleased to know that extension is fully configurable. You can change optimization options even swap utilities used for optimization with the ones you like. (By default our extension is using optimization utilities recommended by Google.)</description>
11
- <notes>+ Added support for jpegtran and set as default JPG optimization utility</notes>
12
<authors><author><name>Apptrian</name><user>apptrian</user><email>apptrian@yahoo.com</email></author></authors>
13
- <date>2015-05-09</date>
14
- <time>14:37:38</time>
15
- <contents><target name="magecommunity"><dir name="Apptrian"><dir name="ImageOptimizer"><dir name="Block"><file name="About.php" hash="834da469edf8670760c18af77f818964"/><dir name="Adminhtml"><dir name="Button"><file name="Optimize.php" hash="c23d84e058178b2dae14e7d0840d2ca8"/><file name="Scan.php" hash="15f74acc0e0ccd3af620ca50ca873dc6"/></dir><file name="Stats.php" hash="7eadf213828ddad56a97d16ac018f586"/></dir><file name="Info.php" hash="ce3f500107f0522d663e5e5ca9ab6ae8"/></dir><dir name="Helper"><file name="Data.php" hash="ee204272ca8ffa3520047bf4f2284ffd"/><file name="Utility.php" hash="1a145b4ad5b3112624ac61fc4bcb24c0"/></dir><dir name="Model"><dir name="Config"><file name="Batchsize.php" hash="20ad8a6109396ab46dd6869729461c82"/><file name="Cron.php" hash="287ca20c0c2858bb084c1027d9db7df9"/><file name="Options.php" hash="149fed0c7d4ff5e3f5450fb508e54665"/><file name="Path.php" hash="3551ddc448355408a31f364f1d7e9c72"/><file name="Paths.php" hash="106f13dd1ac686b2ff114f7dea305f60"/><file name="Utility.php" hash="ee8f797047402554d15a03d5dffc7d6e"/></dir><file name="Cron.php" hash="7d32b6cfed67c0bc620ee488c0edc6c6"/><file name="File.php" hash="c9dfb79b4a69bee1e58e7653b73df162"/><dir name="Resource"><dir name="File"><file name="Collection.php" hash="28d975785edc53cb54402770ab5259d1"/></dir><file name="File.php" hash="fe4c2607d55d8407b4e7b36c0f250af8"/></dir></dir><dir name="controllers"><dir name="Adminhtml"><file name="OptimizerController.php" hash="dfb1347ebc3c85ce5dda4a7e4782291b"/></dir></dir><dir name="etc"><file name="config.xml" hash="14c8b57fce4c740210c411a5945394c3"/><file name="system.xml" hash="b197c5428f867227c18caa5a2535d3f3"/></dir><dir name="sql"><dir name="apptrian_imageoptimizer_setup"><file name="install-1.0.0.php" hash="d34e04d6467ec06481042445ccfea24b"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="apptrian_imageoptimizer.xml" hash="257c63a9c81f7d901dbf7668c9d0387a"/></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Apptrian_ImageOptimizer.xml" hash="784bdacc19fadc96f17ae7e82c962b4b"/></dir></target><target name="magelocale"><dir name="en_US"><file name="Apptrian_ImageOptimizer.csv" hash="1cd68289ca79e9948ac2dea635e063a2"/></dir></target><target name="mageskin"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="css"><file name="apptrian_imageoptimizer.css" hash="79907671228ae14227423cdfce413ecc"/></dir></dir></dir></dir></target><target name="magelib"><dir name="apptrian"><dir name="imageoptimizer"><dir name="elf32"><file name="gifsicle" hash="2583e5ceecf67a058fba2858986bb37f"/><file name="jpegoptim" hash="8a035613dd1a9467e5fe47c88a774104"/><file name="jpegtran" hash="fcef276e1f6b99d42d60abe373f37018"/><file name="optipng" hash="fb1334c73c7a91858a1816b05bfa3133"/></dir><dir name="elf64"><file name="gifsicle" hash="13adc57a621501a27a19443cb587ab2b"/><file name="jpegoptim" hash="8a035613dd1a9467e5fe47c88a774104"/><file name="jpegtran" hash="e6da2f02ac13237f7a8d91f0268ecf85"/><file name="optipng" hash="8fbf61c7e24f90128bbc138ddb671201"/></dir><dir name="win32"><file name="gifsicle.exe" hash="574a9274bbd4aec6a905b64b7da79617"/><file name="jpegoptim.exe" hash="cb4fa736e8b60aebfebff583d0ea6f34"/><file name="jpegtran.exe" hash="2ed29cb5dfb19ad21f3ba3d215f2453e"/><file name="libjpeg-62.dll" hash="48c64a6097bfbe8ca8eaa61ad7936aec"/><file name="optipng.exe" hash="e3d154829ea57a0bdd88b080f6851265"/></dir><dir name="win64"><file name="gifsicle.exe" hash="c7fe0fc6744a4e5303f8d924ee08a8d3"/><file name="jpegoptim.exe" hash="cb4fa736e8b60aebfebff583d0ea6f34"/><file name="jpegtran.exe" hash="dd709e653791c5a9ece818440f0ca089"/><file name="libjpeg-62.dll" hash="b4e05a1406a617e14b2ce7f6c28f382e"/><file name="optipng.exe" hash="e3d154829ea57a0bdd88b080f6851265"/></dir></dir></dir></target></contents>
16
<compatible/>
17
<dependencies><required><php><min>5.1.0</min><max>6.0.0</max></php></required></dependencies>
18
</package>
1
<?xml version="1.0"?>
2
<package>
3
<name>Apptrian_Image_Optimizer</name>
4
+ <version>1.2.0</version>
5
<stability>stable</stability>
6
<license uri="http://opensource.org/licenses/osl-3.0.php">Open Software License (OSL 3.0)</license>
7
<channel>community</channel>
8
<extends/>
9
<summary>Optimize your images, reduce their file size without losing image quality and speed up your site.</summary>
10
<description>Apptrian Image Optimizer will optimize your images (GIF, JPG, PNG) reduce their file size without losing image quality and speed up your site. Extension is very easy to install and use. You can optimize images by clicking a button in Magento Admin or automatically by a configurable cron job. If you are an advanced user you will be pleased to know that extension is fully configurable. You can change optimization options even swap utilities used for optimization with the ones you like. (By default our extension is using optimization utilities recommended by Google.)</description>
11
+ <notes>+ Added Utility Exact Path options&#xD;
12
+ + Improved generation of commands&#xD;
13
+ If you are upgrading from any previous version after you install new version go to extension configuration and for &#xD;
14
+ "GIF Utility Options" type "-b -O3 %filepath%" &#xD;
15
+ "JPG Utility Options" type "-copy none -optimize -progressive -outfile %filepath% %filepath%" &#xD;
16
+ "PNG Utility Options" type "-o5 %filepath%" &#xD;
17
+ (Without quotes)</notes>
18
<authors><author><name>Apptrian</name><user>apptrian</user><email>apptrian@yahoo.com</email></author></authors>
19
+ <date>2015-06-14</date>
20
+ <time>15:01:31</time>
21
+ <contents><target name="magecommunity"><dir name="Apptrian"><dir name="ImageOptimizer"><dir name="Block"><file name="About.php" hash="834da469edf8670760c18af77f818964"/><dir name="Adminhtml"><dir name="Button"><file name="Optimize.php" hash="c23d84e058178b2dae14e7d0840d2ca8"/><file name="Scan.php" hash="15f74acc0e0ccd3af620ca50ca873dc6"/></dir><file name="Stats.php" hash="7eadf213828ddad56a97d16ac018f586"/></dir><file name="Info.php" hash="ce3f500107f0522d663e5e5ca9ab6ae8"/></dir><dir name="Helper"><file name="Data.php" hash="ee204272ca8ffa3520047bf4f2284ffd"/><file name="Utility.php" hash="a7c7b6dba1b1dbb2cfa3ad439fffe7e8"/></dir><dir name="Model"><dir name="Config"><file name="Batchsize.php" hash="20ad8a6109396ab46dd6869729461c82"/><file name="Cron.php" hash="287ca20c0c2858bb084c1027d9db7df9"/><file name="Exactpath.php" hash="e192223dd99869f91b884f90fe653dc1"/><file name="Options.php" hash="cf8e9c497c23bb509b8933bb1b64d38c"/><file name="Path.php" hash="3551ddc448355408a31f364f1d7e9c72"/><file name="Paths.php" hash="106f13dd1ac686b2ff114f7dea305f60"/><file name="Utility.php" hash="ee8f797047402554d15a03d5dffc7d6e"/></dir><file name="Cron.php" hash="7d32b6cfed67c0bc620ee488c0edc6c6"/><file name="File.php" hash="c9dfb79b4a69bee1e58e7653b73df162"/><dir name="Resource"><dir name="File"><file name="Collection.php" hash="28d975785edc53cb54402770ab5259d1"/></dir><file name="File.php" hash="fe4c2607d55d8407b4e7b36c0f250af8"/></dir></dir><dir name="controllers"><dir name="Adminhtml"><file name="OptimizerController.php" hash="dfb1347ebc3c85ce5dda4a7e4782291b"/></dir></dir><dir name="etc"><file name="config.xml" hash="b56b824d9dee36c9645059631ec3840d"/><file name="system.xml" hash="d04d58f3bf453f8c19a1cfbb95e2be36"/></dir><dir name="sql"><dir name="apptrian_imageoptimizer_setup"><file name="install-1.0.0.php" hash="d34e04d6467ec06481042445ccfea24b"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="apptrian_imageoptimizer.xml" hash="257c63a9c81f7d901dbf7668c9d0387a"/></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Apptrian_ImageOptimizer.xml" hash="784bdacc19fadc96f17ae7e82c962b4b"/></dir></target><target name="magelocale"><dir name="en_US"><file name="Apptrian_ImageOptimizer.csv" hash="983cf769e514b358f76fb1d39fb03b53"/></dir></target><target name="mageskin"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="css"><file name="apptrian_imageoptimizer.css" hash="79907671228ae14227423cdfce413ecc"/></dir></dir></dir></dir></target><target name="magelib"><dir name="apptrian"><dir name="imageoptimizer"><dir name="elf32"><file name="gifsicle" hash="2583e5ceecf67a058fba2858986bb37f"/><file name="jpegoptim" hash="8a035613dd1a9467e5fe47c88a774104"/><file name="jpegtran" hash="fcef276e1f6b99d42d60abe373f37018"/><file name="optipng" hash="fb1334c73c7a91858a1816b05bfa3133"/></dir><dir name="elf64"><file name="gifsicle" hash="13adc57a621501a27a19443cb587ab2b"/><file name="jpegoptim" hash="8a035613dd1a9467e5fe47c88a774104"/><file name="jpegtran" hash="e6da2f02ac13237f7a8d91f0268ecf85"/><file name="optipng" hash="8fbf61c7e24f90128bbc138ddb671201"/></dir><dir name="win32"><file name="gifsicle.exe" hash="574a9274bbd4aec6a905b64b7da79617"/><file name="jpegoptim.exe" hash="cb4fa736e8b60aebfebff583d0ea6f34"/><file name="jpegtran.exe" hash="2ed29cb5dfb19ad21f3ba3d215f2453e"/><file name="libjpeg-62.dll" hash="48c64a6097bfbe8ca8eaa61ad7936aec"/><file name="optipng.exe" hash="e3d154829ea57a0bdd88b080f6851265"/></dir><dir name="win64"><file name="gifsicle.exe" hash="c7fe0fc6744a4e5303f8d924ee08a8d3"/><file name="jpegoptim.exe" hash="cb4fa736e8b60aebfebff583d0ea6f34"/><file name="jpegtran.exe" hash="dd709e653791c5a9ece818440f0ca089"/><file name="libjpeg-62.dll" hash="b4e05a1406a617e14b2ce7f6c28f382e"/><file name="optipng.exe" hash="e3d154829ea57a0bdd88b080f6851265"/></dir></dir></dir></target></contents>
22
<compatible/>
23
<dependencies><required><php><min>5.1.0</min><max>6.0.0</max></php></required></dependencies>
24
</package>