Version Notes
Fix incompatibility before php 5.3 version
Download this release
Release Info
Developer | ImageRecycle |
Extension | ImageRecycle_image_pdf_optimize |
Version | 2.0.1 |
Comparing to | |
See all releases |
Code changes from version 2.0.0 to 2.0.1
app/design/adminhtml/default/default/template/imagerecycle/imagerecycle/connect.phtml
CHANGED
@@ -1,5 +1,7 @@
|
|
1 |
<?php
|
2 |
-
|
|
|
|
|
3 |
return;
|
4 |
}
|
5 |
$user = Mage::getSingleton('admin/session');
|
1 |
<?php
|
2 |
+
$secret = Mage::getStoreConfig('mageio_api_secret');
|
3 |
+
$key = Mage::getStoreConfig('mageio_api_key');
|
4 |
+
if (!empty($secret) && !empty($key)) {
|
5 |
return;
|
6 |
}
|
7 |
$user = Mage::getSingleton('admin/session');
|
app/design/adminhtml/default/default/template/imagerecycle/imagerecycle/images.phtml
CHANGED
@@ -1,6 +1,8 @@
|
|
1 |
<div class="imagerecycle-container">
|
2 |
<?php
|
3 |
-
|
|
|
|
|
4 |
return;
|
5 |
}
|
6 |
?>
|
1 |
<div class="imagerecycle-container">
|
2 |
<?php
|
3 |
+
$secret = Mage::getStoreConfig('mageio_api_secret');
|
4 |
+
$key = Mage::getStoreConfig('mageio_api_key');
|
5 |
+
if (empty($secret) || empty($key)) {
|
6 |
return;
|
7 |
}
|
8 |
?>
|
package.xml
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>ImageRecycle_image_pdf_optimize</name>
|
4 |
-
<version>2.0.
|
5 |
<stability>stable</stability>
|
6 |
<license>GPL</license>
|
7 |
<channel>community</channel>
|
@@ -33,12 +33,12 @@ The jpg, png, gif optimization algorithm is capable of reducing the image size b
|
|
33 |
- Optimize png, jpg, gif
|
34 |

|
35 |
- Define optimization quality per file type, jpg, png, gif</description>
|
36 |
-
<notes>
|
37 |
-
|
38 |
<authors><author><name>ImageRecycle</name><user>ImageRecycle</user><email>contact@imagerecycle.com</email></author></authors>
|
39 |
-
<date>2016-
|
40 |
-
<time>
|
41 |
-
<contents><target name="magecommunity"><dir name="Imagerecycle"><dir name="Imagerecycle"><dir name="Block"><file name="Images.php" hash="b5916489e428923cbefd494b07c2c0a9"/><file name="Notifications.php" hash="3ae0284429f2ddbcf63cfeea773a2c9f"/><file name="Settings.php" hash="b35eb42fcfa5252d5d5a07183bd3ff7f"/></dir><dir name="Helper"><file name="Data.php" hash="41b4f1948165518f84c1eb61ad8ecf66"/></dir><dir name="Model"><file name="Notification.php" hash="9d4ae12ea06ffe9ccde7ddfe64a1f479"/><file name="Observer.php" hash="2fb2b19fed27ca284a1512f7d6fe8b78"/><dir name="Resource"><file name="Images.php" hash="a6ebc0e96de89452cc683a17fe4e13f8"/><file name="Setup.php" hash="0040a20420dcb2c6c896d7bc56816de7"/></dir></dir><dir name="classes"><file name="ioa.class.php" hash="18f5a6b91ce6b7480b8645a74016a1b6"/></dir><dir name="controllers"><file name="ImageAllController.php" hash="92adafd3cd6f0a89d942935c7c4141c5"/><file name="IndexController.php" hash="7e54baa31d599b9563c171ad5f06b143"/></dir><dir name="etc"><file name="adminhtml.xml" hash="0776ce36332d75b99f558e885877f012"/><file name="config.xml" hash="f8cddfdfa94223c030d77169113d16da"/></dir><dir name="sql"><dir name="imagerecycle_setup"><file name="mysql4-install-1.0.0.php" hash="f6342691d651243edd4406f6ed7da5a0"/></dir></dir></dir></dir></target><target name="mageweb"><dir name="js"><dir name="imagerecycle"><dir name="imagerecycle"><file name="config.js" hash="922198a16d9f80b6f016fac1d8b7fe93"/><file name="jaofiletree.js" hash="e20f8412f596837681953a33d574db10"/><file name="jquery.min.js" hash="e1a1b01a12659ff6530a5b8f2dbb18f8"/><file name="jquery.reveal.js" hash="2e4b47ca455e3327414583a0c77f3e33"/><file name="script.js" hash="af1d346d99ff28b143bcd13e6ba96d9a"/><file name="thickbox.js" hash="5512dbf5f17748621fba6673cd02abff"/></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="0ff281c82cd1de54a2f8ab4abcd7fc04"/><dir name="images"><file name="ajax-loader-tr.gif" hash="1ae32bc8232ff2527c627e5b38eb319a"/><file name="application.png" hash="fc517da02d6a64a68e5fea9a5de472f1"/><file name="code.png" hash="c65fadae5a0fc27f401f1a00e66f518f"/><file name="css.png" hash="783f5b06082bf73e9d1eaf79d838162f"/><file name="db.png" hash="03e2b564224bfb58ff20904bda244043"/><file name="directory.png" hash="fbd3929a893b147ae0940d48d533e023"/><file name="doc.png" hash="38af291953d5b90b0aee30dd0d2126a4"/><file name="drive.png" hash="952051985214488bb370ecd21db44c74"/><file name="file.png" hash="a3112ba7e266938321394347e2a6e107"/><file name="film.png" hash="5ad12582e3ca901894737c3dd44a5eb2"/><file name="flash.png" hash="132a505684e7b7b91f50ea29c072112b"/><file name="folder_open.png" hash="bf30d89d69dddfbd8e5f805a199c407f"/><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="html.png" hash="12ace1a918403049a6d2fc152f53baec"/><file name="i_question-mark.png" hash="23201b7ac207eebd9be0776ea44098a4"/><file name="java.png" hash="ac467ef8defc620b6b5eb80d2047bcb7"/><file name="linux.png" hash="73c25b185fb78cc690675cd4a181ee0b"/><file name="loadingAnimation.gif" hash="ce2268030dd2151b63cdf4ffc2f626ba"/><file name="music.png" hash="bd2244ac282a5ada48b0d79cacc59426"/><file name="pdf.png" hash="9c819141f3537f9f3ea181369332be85"/><file name="php.png" hash="48cda2a2a54a31f7a666547c862c12e7"/><file name="picture.png" hash="d2040c34ba1ffd8fa5b72ab37be11eca"/><file name="ppt.png" hash="8c366c11adee3cf2988614df4c96782b"/><file name="psd.png" hash="787a96924e9b114e75f48b540ff480a2"/><file name="ruby.png" hash="661505d2efc05b2347492e4949f564d5"/><file name="script.png" hash="13ad2158a4889c26a851f99b261e4c5c"/><file name="spinner.gif" hash="9a8269421303631316be4ab5e34870e1"/><file name="txt.png" hash="0da66bdb013f9a9d12ce7219e642bc25"/><file name="xls.png" hash="7363cb7630d1d4b441183345fd15ae62"/><file name="zip.png" hash="2eba6780fc7d3663bc44808480c6bd8a"/></dir><file name="jaofiletree.css" hash="6092087d82ceb554b34d75be2ca8bf29"/><file name="reveal.css" hash="21171f730dcf9dc6d4377c88307503c5"/><file name="thickbox.css" hash="f07f045e5a10347a6665a0ac48fda4dc"/></dir></dir></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="imagerecycle_imagerecycle.xml" hash="01fca7a6d778a604cb009c603c633e13"/></dir><dir name="template"><dir name="imagerecycle"><dir name="imagerecycle"><file name="connect.phtml" hash="
|
42 |
<compatible/>
|
43 |
<dependencies><required><php><min>5.3.0</min><max>5.6.21</max></php><extension><name>curl</name><min/><max/></extension></required></dependencies>
|
44 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>ImageRecycle_image_pdf_optimize</name>
|
4 |
+
<version>2.0.1</version>
|
5 |
<stability>stable</stability>
|
6 |
<license>GPL</license>
|
7 |
<channel>community</channel>
|
33 |
- Optimize png, jpg, gif
|
34 |

|
35 |
- Define optimization quality per file type, jpg, png, gif</description>
|
36 |
+
<notes>Fix incompatibility before php 5.3 version
|
37 |
+
</notes>
|
38 |
<authors><author><name>ImageRecycle</name><user>ImageRecycle</user><email>contact@imagerecycle.com</email></author></authors>
|
39 |
+
<date>2016-07-05</date>
|
40 |
+
<time>15:12:31</time>
|
41 |
+
<contents><target name="magecommunity"><dir name="Imagerecycle"><dir name="Imagerecycle"><dir name="Block"><file name="Images.php" hash="b5916489e428923cbefd494b07c2c0a9"/><file name="Notifications.php" hash="3ae0284429f2ddbcf63cfeea773a2c9f"/><file name="Settings.php" hash="b35eb42fcfa5252d5d5a07183bd3ff7f"/></dir><dir name="Helper"><file name="Data.php" hash="41b4f1948165518f84c1eb61ad8ecf66"/></dir><dir name="Model"><file name="Notification.php" hash="9d4ae12ea06ffe9ccde7ddfe64a1f479"/><file name="Observer.php" hash="2fb2b19fed27ca284a1512f7d6fe8b78"/><dir name="Resource"><file name="Images.php" hash="a6ebc0e96de89452cc683a17fe4e13f8"/><file name="Setup.php" hash="0040a20420dcb2c6c896d7bc56816de7"/></dir></dir><dir name="classes"><file name="ioa.class.php" hash="18f5a6b91ce6b7480b8645a74016a1b6"/></dir><dir name="controllers"><file name="ImageAllController.php" hash="92adafd3cd6f0a89d942935c7c4141c5"/><file name="IndexController.php" hash="7e54baa31d599b9563c171ad5f06b143"/></dir><dir name="etc"><file name="adminhtml.xml" hash="0776ce36332d75b99f558e885877f012"/><file name="config.xml" hash="f8cddfdfa94223c030d77169113d16da"/></dir><dir name="sql"><dir name="imagerecycle_setup"><file name="mysql4-install-1.0.0.php" hash="f6342691d651243edd4406f6ed7da5a0"/></dir></dir></dir></dir></target><target name="mageweb"><dir name="js"><dir name="imagerecycle"><dir name="imagerecycle"><file name="config.js" hash="922198a16d9f80b6f016fac1d8b7fe93"/><file name="jaofiletree.js" hash="e20f8412f596837681953a33d574db10"/><file name="jquery.min.js" hash="e1a1b01a12659ff6530a5b8f2dbb18f8"/><file name="jquery.reveal.js" hash="2e4b47ca455e3327414583a0c77f3e33"/><file name="script.js" hash="af1d346d99ff28b143bcd13e6ba96d9a"/><file name="thickbox.js" hash="5512dbf5f17748621fba6673cd02abff"/></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="0ff281c82cd1de54a2f8ab4abcd7fc04"/><dir name="images"><file name="ajax-loader-tr.gif" hash="1ae32bc8232ff2527c627e5b38eb319a"/><file name="application.png" hash="fc517da02d6a64a68e5fea9a5de472f1"/><file name="code.png" hash="c65fadae5a0fc27f401f1a00e66f518f"/><file name="css.png" hash="783f5b06082bf73e9d1eaf79d838162f"/><file name="db.png" hash="03e2b564224bfb58ff20904bda244043"/><file name="directory.png" hash="fbd3929a893b147ae0940d48d533e023"/><file name="doc.png" hash="38af291953d5b90b0aee30dd0d2126a4"/><file name="drive.png" hash="952051985214488bb370ecd21db44c74"/><file name="file.png" hash="a3112ba7e266938321394347e2a6e107"/><file name="film.png" hash="5ad12582e3ca901894737c3dd44a5eb2"/><file name="flash.png" hash="132a505684e7b7b91f50ea29c072112b"/><file name="folder_open.png" hash="bf30d89d69dddfbd8e5f805a199c407f"/><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="html.png" hash="12ace1a918403049a6d2fc152f53baec"/><file name="i_question-mark.png" hash="23201b7ac207eebd9be0776ea44098a4"/><file name="java.png" hash="ac467ef8defc620b6b5eb80d2047bcb7"/><file name="linux.png" hash="73c25b185fb78cc690675cd4a181ee0b"/><file name="loadingAnimation.gif" hash="ce2268030dd2151b63cdf4ffc2f626ba"/><file name="music.png" hash="bd2244ac282a5ada48b0d79cacc59426"/><file name="pdf.png" hash="9c819141f3537f9f3ea181369332be85"/><file name="php.png" hash="48cda2a2a54a31f7a666547c862c12e7"/><file name="picture.png" hash="d2040c34ba1ffd8fa5b72ab37be11eca"/><file name="ppt.png" hash="8c366c11adee3cf2988614df4c96782b"/><file name="psd.png" hash="787a96924e9b114e75f48b540ff480a2"/><file name="ruby.png" hash="661505d2efc05b2347492e4949f564d5"/><file name="script.png" hash="13ad2158a4889c26a851f99b261e4c5c"/><file name="spinner.gif" hash="9a8269421303631316be4ab5e34870e1"/><file name="txt.png" hash="0da66bdb013f9a9d12ce7219e642bc25"/><file name="xls.png" hash="7363cb7630d1d4b441183345fd15ae62"/><file name="zip.png" hash="2eba6780fc7d3663bc44808480c6bd8a"/></dir><file name="jaofiletree.css" hash="6092087d82ceb554b34d75be2ca8bf29"/><file name="reveal.css" hash="21171f730dcf9dc6d4377c88307503c5"/><file name="thickbox.css" hash="f07f045e5a10347a6665a0ac48fda4dc"/></dir></dir></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="imagerecycle_imagerecycle.xml" hash="01fca7a6d778a604cb009c603c633e13"/></dir><dir name="template"><dir name="imagerecycle"><dir name="imagerecycle"><file name="connect.phtml" hash="f4a9b616d768bc161a37207c19aee718"/><file name="images.phtml" hash="ba2e3918c19515295c7dfeda6fa0392e"/><file name="listing.phtml" hash="693f22aa6aa7ba43acd69f3fd1b478ec"/><file name="settings.phtml" hash="ae716e4e9cdf3a952d660e94b12b291f"/></dir></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Imagerecycle_ImageRecycle.xml" hash="965f7990a669fff8ba5bc3fc06d48801"/></dir></target></contents>
|
42 |
<compatible/>
|
43 |
<dependencies><required><php><min>5.3.0</min><max>5.6.21</max></php><extension><name>curl</name><min/><max/></extension></required></dependencies>
|
44 |
</package>
|