Version Notes
* Compatibility with SUPEE-6788 patch
Download this release
Release Info
Developer | Apptrian |
Extension | Apptrian_Image_Optimizer |
Version | 1.2.1 |
Comparing to | |
See all releases |
Code changes from version 1.2.0 to 1.2.1
- app/code/community/Apptrian/ImageOptimizer/Block/Adminhtml/Button/Optimize.php +1 -1
- app/code/community/Apptrian/ImageOptimizer/Block/Adminhtml/Button/Scan.php +1 -1
- app/code/community/Apptrian/ImageOptimizer/controllers/Adminhtml/{OptimizerController.php → Apptrian/Imageoptimizer/OptimizerController.php} +1 -1
- app/code/community/Apptrian/ImageOptimizer/etc/config.xml +7 -7
- package.xml +5 -11
app/code/community/Apptrian/ImageOptimizer/Block/Adminhtml/Button/Optimize.php
CHANGED
@@ -26,7 +26,7 @@ class Apptrian_ImageOptimizer_Block_Adminhtml_Button_Optimize extends Mage_Admin
|
|
26 |
}
|
27 |
|
28 |
$url = Mage::helper('adminhtml')->getUrl(
|
29 |
-
'
|
30 |
|
31 |
$html = $this->getLayout()->createBlock('adminhtml/widget_button')
|
32 |
->setType('button')
|
26 |
}
|
27 |
|
28 |
$url = Mage::helper('adminhtml')->getUrl(
|
29 |
+
'adminhtml/apptrian_imageoptimizer_optimizer/optimize');
|
30 |
|
31 |
$html = $this->getLayout()->createBlock('adminhtml/widget_button')
|
32 |
->setType('button')
|
app/code/community/Apptrian/ImageOptimizer/Block/Adminhtml/Button/Scan.php
CHANGED
@@ -26,7 +26,7 @@ class Apptrian_ImageOptimizer_Block_Adminhtml_Button_Scan extends Mage_Adminhtml
|
|
26 |
}
|
27 |
|
28 |
$url = Mage::helper('adminhtml')->getUrl(
|
29 |
-
'
|
30 |
|
31 |
$html = $this->getLayout()->createBlock('adminhtml/widget_button')
|
32 |
->setType('button')
|
26 |
}
|
27 |
|
28 |
$url = Mage::helper('adminhtml')->getUrl(
|
29 |
+
'adminhtml/apptrian_imageoptimizer_optimizer/scan');
|
30 |
|
31 |
$html = $this->getLayout()->createBlock('adminhtml/widget_button')
|
32 |
->setType('button')
|
app/code/community/Apptrian/ImageOptimizer/controllers/Adminhtml/{OptimizerController.php → Apptrian/Imageoptimizer/OptimizerController.php}
RENAMED
@@ -6,7 +6,7 @@
|
|
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
|
10 |
{
|
11 |
|
12 |
public function scanAction()
|
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_Adminhtml_Apptrian_Imageoptimizer_OptimizerController extends Mage_Adminhtml_Controller_Action
|
10 |
{
|
11 |
|
12 |
public function scanAction()
|
app/code/community/Apptrian/ImageOptimizer/etc/config.xml
CHANGED
@@ -11,7 +11,7 @@
|
|
11 |
<config>
|
12 |
<modules>
|
13 |
<Apptrian_ImageOptimizer>
|
14 |
-
<version>1.2.
|
15 |
</Apptrian_ImageOptimizer>
|
16 |
</modules>
|
17 |
<global>
|
@@ -80,19 +80,19 @@
|
|
80 |
<jpg_options>-copy none -optimize -progressive -outfile %filepath% %filepath%</jpg_options>
|
81 |
<png>optipng</png>
|
82 |
<png_path></png_path>
|
83 |
-
<png_options>-
|
84 |
</utility>
|
85 |
</apptrian_imageoptimizer>
|
86 |
</default>
|
87 |
<admin>
|
88 |
<routers>
|
89 |
-
<
|
90 |
-
<use>admin</use>
|
91 |
<args>
|
92 |
-
<
|
93 |
-
|
|
|
94 |
</args>
|
95 |
-
</
|
96 |
</routers>
|
97 |
</admin>
|
98 |
<adminhtml>
|
11 |
<config>
|
12 |
<modules>
|
13 |
<Apptrian_ImageOptimizer>
|
14 |
+
<version>1.2.1</version>
|
15 |
</Apptrian_ImageOptimizer>
|
16 |
</modules>
|
17 |
<global>
|
80 |
<jpg_options>-copy none -optimize -progressive -outfile %filepath% %filepath%</jpg_options>
|
81 |
<png>optipng</png>
|
82 |
<png_path></png_path>
|
83 |
+
<png_options>-o7 -strip all %filepath%</png_options>
|
84 |
</utility>
|
85 |
</apptrian_imageoptimizer>
|
86 |
</default>
|
87 |
<admin>
|
88 |
<routers>
|
89 |
+
<adminhtml>
|
|
|
90 |
<args>
|
91 |
+
<modules>
|
92 |
+
<apptrian_imageoptimizer after="Mage_Adminhtml">Apptrian_ImageOptimizer_Adminhtml</apptrian_imageoptimizer>
|
93 |
+
</modules>
|
94 |
</args>
|
95 |
+
</adminhtml>
|
96 |
</routers>
|
97 |
</admin>
|
98 |
<adminhtml>
|
package.xml
CHANGED
@@ -1,24 +1,18 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Apptrian_Image_Optimizer</name>
|
4 |
-
<version>1.2.
|
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
|
12 |
-
+ Improved generation of commands
|
13 |
-
If you are upgrading from any previous version after you install new version go to extension configuration and for 
|
14 |
-
"GIF Utility Options" type "-b -O3 %filepath%" 
|
15 |
-
"JPG Utility Options" type "-copy none -optimize -progressive -outfile %filepath% %filepath%" 
|
16 |
-
"PNG Utility Options" type "-o5 %filepath%" 
|
17 |
-
(Without quotes)</notes>
|
18 |
<authors><author><name>Apptrian</name><user>apptrian</user><email>apptrian@yahoo.com</email></author></authors>
|
19 |
-
<date>2015-
|
20 |
-
<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="
|
22 |
<compatible/>
|
23 |
<dependencies><required><php><min>5.1.0</min><max>6.0.0</max></php></required></dependencies>
|
24 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Apptrian_Image_Optimizer</name>
|
4 |
+
<version>1.2.1</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>* Compatibility with SUPEE-6788 patch</notes>
|
|
|
|
|
|
|
|
|
|
|
|
|
12 |
<authors><author><name>Apptrian</name><user>apptrian</user><email>apptrian@yahoo.com</email></author></authors>
|
13 |
+
<date>2015-11-09</date>
|
14 |
+
<time>14:35:59</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="0224b1477eb693cb9db0105898fe29f6"/><file name="Scan.php" hash="430486bcbc4a08eac655d1fd733ef11b"/></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"><dir name="Apptrian"><dir name="Imageoptimizer"><file name="OptimizerController.php" hash="d5dc45f5f3e83b9ccf6b15dba00bfec8"/></dir></dir></dir></dir><dir name="etc"><file name="config.xml" hash="407ae43ce3a39fe7401212603f2c54e4"/><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>
|
16 |
<compatible/>
|
17 |
<dependencies><required><php><min>5.1.0</min><max>6.0.0</max></php></required></dependencies>
|
18 |
</package>
|