Mpycho_Jquery_Lightboxes - Version 1.1.0

Version Notes

Version 1.0.3 - 1.1.0
- Code refinement.
- Fixing of popup image size so that it could take the full size when no size is mentioned.
- Separated the jquery inclusion, lightbox inclusion

Download this release

Release Info

Developer Magento Core Team
Extension Mpycho_Jquery_Lightboxes
Version 1.1.0
Comparing to
See all releases


Code changes from version 1.0.3 to 1.1.0

Files changed (34) hide show
  1. app/code/local/MagentoPycho/Lightboxes/Block/Config/Fancybox/Info.php +7 -7
  2. app/code/local/MagentoPycho/Lightboxes/Block/Config/Lightboxclone/Info.php +6 -6
  3. app/code/local/MagentoPycho/Lightboxes/Block/Config/Lightboxes/Confliction.php +32 -0
  4. app/code/local/MagentoPycho/Lightboxes/Block/Config/Pirobox/Info.php +6 -6
  5. app/code/local/MagentoPycho/Lightboxes/Block/Lightboxes.php +8 -1
  6. app/code/local/MagentoPycho/Lightboxes/Block/Media.php +18 -8
  7. app/code/local/MagentoPycho/Lightboxes/Block/System/Config/Info.php +9 -7
  8. app/code/local/MagentoPycho/Lightboxes/Helper/Data.php +54 -23
  9. app/code/local/MagentoPycho/Lightboxes/Model/Config/Fancybox/Easings.php +7 -0
  10. app/code/local/MagentoPycho/Lightboxes/Model/Config/Fancybox/Opacities.php +7 -0
  11. app/code/local/MagentoPycho/Lightboxes/Model/Config/Fancybox/Scrollings.php +10 -3
  12. app/code/local/MagentoPycho/Lightboxes/Model/Config/Fancybox/Speeds.php +8 -1
  13. app/code/local/MagentoPycho/Lightboxes/Model/Config/Fancybox/Titlepositions.php +10 -3
  14. app/code/local/MagentoPycho/Lightboxes/Model/Config/Fancybox/Transitions.php +10 -3
  15. app/code/local/MagentoPycho/Lightboxes/Model/Config/Inclusiontypes.php +18 -0
  16. app/code/local/MagentoPycho/Lightboxes/Model/Config/Jquerytypes.php +18 -0
  17. app/code/local/MagentoPycho/Lightboxes/Model/Config/Lightboxclone/Opacities.php +7 -0
  18. app/code/local/MagentoPycho/Lightboxes/Model/Config/Lightboxtypes.php +9 -2
  19. app/code/local/MagentoPycho/Lightboxes/Model/Config/Pirobox/Bgalphas.php +7 -0
  20. app/code/local/MagentoPycho/Lightboxes/Model/Config/Pirobox/Themes.php +8 -1
  21. app/code/local/MagentoPycho/Lightboxes/Model/Lightboxes.php +8 -2
  22. app/code/local/MagentoPycho/Lightboxes/controllers/IndexController.php +8 -1
  23. app/code/local/MagentoPycho/Lightboxes/etc/adminhtml.xml +22 -22
  24. app/code/local/MagentoPycho/Lightboxes/etc/config.xml +39 -31
  25. app/code/local/MagentoPycho/Lightboxes/etc/system.xml +243 -169
  26. app/design/frontend/default/default/layout/lightboxes.xml +25 -6
  27. app/design/frontend/default/default/template/lightboxes/head.phtml +30 -50
  28. app/design/frontend/default/default/template/lightboxes/jquery_inclusion.phtml +9 -0
  29. app/design/frontend/default/default/template/lightboxes/lightboxes_inclusion.phtml +34 -0
  30. app/design/frontend/default/default/template/lightboxes/lightboxes_initialization.phtml +58 -0
  31. app/design/frontend/default/default/template/lightboxes/media.phtml +21 -62
  32. app/etc/modules/MagentoPycho_Lightboxes.xml +5 -5
  33. js/lightboxes/{jquery.min.js → jQuery/1.4.3/jquery.min.js} +0 -0
  34. package.xml +11 -12
app/code/local/MagentoPycho/Lightboxes/Block/Config/Fancybox/Info.php CHANGED
@@ -1,16 +1,16 @@
1
  <?php
2
  /**
3
- * @company GuruWebSoft-Guru In Web Solutions <www.guruwebsoft.com>
4
- * @author Rajendra K Bhatta <rajen_k_bhtt@hotmail.com>
5
- *
6
  * @category MagentoPycho
7
- * @package MagentoPycho_Lightboxes
 
 
 
8
  */
9
  class MagentoPycho_Lightboxes_Block_Config_Fancybox_Info
10
  extends Mage_Adminhtml_Block_Abstract
11
  implements Varien_Data_Form_Element_Renderer_Interface
12
  {
13
-
14
  /**
15
  * Render fieldset html
16
  *
@@ -22,12 +22,12 @@ class MagentoPycho_Lightboxes_Block_Config_Fancybox_Info
22
  $html = '<div style="border:1px solid #CCCCCC;margin-bottom:10px;padding:10px 10px 10px 10px;">
23
  <h4>About FancyBox</h4>
24
  <p>FancyBox is a tool for displaying images, html content and multi-media in a Mac-style "lightbox" that floats overtop of web page.<br />
25
- For more details visit the links: <a href="http://fancybox.net/home" target="_blank">Homepage</a> |
26
  <a href="http://fancybox.net/api" target="_blank">Configuration Options</a>
27
  </p>
28
  </div>
29
  ';
30
-
31
  return $html;
32
  }
33
  }
1
  <?php
2
  /**
 
 
 
3
  * @category MagentoPycho
4
+ * @package MagentoPycho_Lightboxes
5
+ * @author magepsycho@gmail.com
6
+ * @website http://www.magepsycho.com
7
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
8
  */
9
  class MagentoPycho_Lightboxes_Block_Config_Fancybox_Info
10
  extends Mage_Adminhtml_Block_Abstract
11
  implements Varien_Data_Form_Element_Renderer_Interface
12
  {
13
+
14
  /**
15
  * Render fieldset html
16
  *
22
  $html = '<div style="border:1px solid #CCCCCC;margin-bottom:10px;padding:10px 10px 10px 10px;">
23
  <h4>About FancyBox</h4>
24
  <p>FancyBox is a tool for displaying images, html content and multi-media in a Mac-style "lightbox" that floats overtop of web page.<br />
25
+ For more details visit the links: <a href="http://fancybox.net/home" target="_blank">Homepage</a> |
26
  <a href="http://fancybox.net/api" target="_blank">Configuration Options</a>
27
  </p>
28
  </div>
29
  ';
30
+
31
  return $html;
32
  }
33
  }
app/code/local/MagentoPycho/Lightboxes/Block/Config/Lightboxclone/Info.php CHANGED
@@ -1,16 +1,16 @@
1
  <?php
2
  /**
3
- * @company GuruWebSoft-Guru In Web Solutions <www.guruwebsoft.com>
4
- * @author Rajendra K Bhatta <rajen_k_bhtt@hotmail.com>
5
- *
6
  * @category MagentoPycho
7
- * @package MagentoPycho_Lightboxes
 
 
 
8
  */
9
  class MagentoPycho_Lightboxes_Block_Config_Lightboxclone_Info
10
  extends Mage_Adminhtml_Block_Abstract
11
  implements Varien_Data_Form_Element_Renderer_Interface
12
  {
13
-
14
  /**
15
  * Render fieldset html
16
  *
@@ -27,7 +27,7 @@ LightBox is a plugin for jQuery. It was inspired in Lightbox JS by Lokesh Dhakar
27
  </p>
28
  </div>
29
  ';
30
-
31
  return $html;
32
  }
33
  }
1
  <?php
2
  /**
 
 
 
3
  * @category MagentoPycho
4
+ * @package MagentoPycho_Lightboxes
5
+ * @author magepsycho@gmail.com
6
+ * @website http://www.magepsycho.com
7
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
8
  */
9
  class MagentoPycho_Lightboxes_Block_Config_Lightboxclone_Info
10
  extends Mage_Adminhtml_Block_Abstract
11
  implements Varien_Data_Form_Element_Renderer_Interface
12
  {
13
+
14
  /**
15
  * Render fieldset html
16
  *
27
  </p>
28
  </div>
29
  ';
30
+
31
  return $html;
32
  }
33
  }
app/code/local/MagentoPycho/Lightboxes/Block/Config/Lightboxes/Confliction.php ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * @category MagentoPycho
4
+ * @package MagentoPycho_Lightboxes
5
+ * @author magepsycho@gmail.com
6
+ * @website http://www.magepsycho.com
7
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
8
+ */
9
+ class MagentoPycho_Lightboxes_Block_Config_Lightboxes_Confliction
10
+ extends Mage_Adminhtml_Block_Abstract
11
+ implements Varien_Data_Form_Element_Renderer_Interface
12
+ {
13
+
14
+ /**
15
+ * Render fieldset html
16
+ *
17
+ * @param Varien_Data_Form_Element_Abstract $element
18
+ * @return string
19
+ */
20
+ public function render(Varien_Data_Form_Element_Abstract $element)
21
+ {
22
+ $html = '<div style="border:1px solid #CCCCCC;margin-bottom:10px;padding:10px 10px 10px 10px;">
23
+ <h4>Some notes on confliction with other jQuery plugins & it\'s fixing</h4>
24
+ <p>If you are not using any other jQuery plugins then you don\'t need to worry about conflicion issues.<br/> But if you are using one or more jQuery plugins, then there is possibility of confliction issue between other jQuery plugins and lighboxes plugin. As a result jQuery Lightboxes extension may fail to work. This section provides different options so as to fix such confliction issues in order to make jQuery Lightboxes extension work like a charm and provides other options like inclusion of jQuery lighboxes globally so that it can be used with other than media gallery pages. <br />If none of these options are helpful in fixing of confliction issue then you must deal with the other jQuery plugins individually.<br /><br />
25
+ Don\'t forgot to <a href="http://www.magepsycho.com/contacts" target="_blank">Contact Us</a> if you have any issues/suggestions/quotes etc.
26
+ </p>
27
+ </div>
28
+ ';
29
+
30
+ return $html;
31
+ }
32
+ }
app/code/local/MagentoPycho/Lightboxes/Block/Config/Pirobox/Info.php CHANGED
@@ -1,16 +1,16 @@
1
  <?php
2
  /**
3
- * @company GuruWebSoft-Guru In Web Solutions <www.guruwebsoft.com>
4
- * @author Rajendra K Bhatta <rajen_k_bhtt@hotmail.com>
5
- *
6
  * @category MagentoPycho
7
- * @package MagentoPycho_Lightboxes
 
 
 
8
  */
9
  class MagentoPycho_Lightboxes_Block_Config_Pirobox_Info
10
  extends Mage_Adminhtml_Block_Abstract
11
  implements Varien_Data_Form_Element_Renderer_Interface
12
  {
13
-
14
  /**
15
  * Render fieldset html
16
  *
@@ -26,7 +26,7 @@ class MagentoPycho_Lightboxes_Block_Config_Pirobox_Info
26
  </p>
27
  </div>
28
  ';
29
-
30
  return $html;
31
  }
32
  }
1
  <?php
2
  /**
 
 
 
3
  * @category MagentoPycho
4
+ * @package MagentoPycho_Lightboxes
5
+ * @author magepsycho@gmail.com
6
+ * @website http://www.magepsycho.com
7
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
8
  */
9
  class MagentoPycho_Lightboxes_Block_Config_Pirobox_Info
10
  extends Mage_Adminhtml_Block_Abstract
11
  implements Varien_Data_Form_Element_Renderer_Interface
12
  {
13
+
14
  /**
15
  * Render fieldset html
16
  *
26
  </p>
27
  </div>
28
  ';
29
+
30
  return $html;
31
  }
32
  }
app/code/local/MagentoPycho/Lightboxes/Block/Lightboxes.php CHANGED
@@ -1,5 +1,12 @@
1
  <?php
 
 
 
 
 
 
 
2
  class MagentoPycho_Lightboxes_Block_Lightboxes extends Mage_Core_Block_Template
3
  {
4
-
5
  }
1
  <?php
2
+ /**
3
+ * @category MagentoPycho
4
+ * @package MagentoPycho_Lightboxes
5
+ * @author magepsycho@gmail.com
6
+ * @website http://www.magepsycho.com
7
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
8
+ */
9
  class MagentoPycho_Lightboxes_Block_Lightboxes extends Mage_Core_Block_Template
10
  {
11
+
12
  }
app/code/local/MagentoPycho/Lightboxes/Block/Media.php CHANGED
@@ -1,35 +1,45 @@
1
  <?php
 
 
 
 
 
 
 
 
 
 
2
  class MagentoPycho_Lightboxes_Block_Media extends Mage_Catalog_Block_Product_View_Media
3
  {
4
  public function getConfig($field, $group = 'option', $default = null){
5
  return Mage::helper('lightboxes')->getConfig($field, $group, $default);
6
  }
7
-
8
  public function getMainImageSize()
9
  {
10
  return Mage::helper('lightboxes')->getMainImageSize();
11
  }
12
-
13
  public function getThumbnailImageSize()
14
  {
15
  return Mage::helper('lightboxes')->getThumbnailImageSize();
16
  }
17
-
18
  public function getPopupImageSize()
19
  {
20
  return Mage::helper('lightboxes')->getPopupImageSize();
21
  }
22
-
23
  public function getFancyboxJsConfig(){
24
- return Mage::helper('lightboxes')->getFancyboxJsConfig();
25
  }
26
-
27
  public function getLightboxcloneJsConfig(){
28
  return Mage::helper('lightboxes')->getLightboxcloneJsConfig();
29
  }
30
-
31
  public function getPiroboxJsConfig(){
32
  return Mage::helper('lightboxes')->getPiroboxJsConfig();
33
  }
34
-
35
  }
1
  <?php
2
+ /**
3
+ * @category MagentoPycho
4
+ * @package MagentoPycho_Lightboxes
5
+ * @author magepsycho@gmail.com
6
+ * @website http://www.magepsycho.com
7
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
8
+ */
9
+ /**
10
+ * @depracted from 1.0.4
11
+ */
12
  class MagentoPycho_Lightboxes_Block_Media extends Mage_Catalog_Block_Product_View_Media
13
  {
14
  public function getConfig($field, $group = 'option', $default = null){
15
  return Mage::helper('lightboxes')->getConfig($field, $group, $default);
16
  }
17
+
18
  public function getMainImageSize()
19
  {
20
  return Mage::helper('lightboxes')->getMainImageSize();
21
  }
22
+
23
  public function getThumbnailImageSize()
24
  {
25
  return Mage::helper('lightboxes')->getThumbnailImageSize();
26
  }
27
+
28
  public function getPopupImageSize()
29
  {
30
  return Mage::helper('lightboxes')->getPopupImageSize();
31
  }
32
+
33
  public function getFancyboxJsConfig(){
34
+ return Mage::helper('lightboxes')->getFancyboxJsConfig();
35
  }
36
+
37
  public function getLightboxcloneJsConfig(){
38
  return Mage::helper('lightboxes')->getLightboxcloneJsConfig();
39
  }
40
+
41
  public function getPiroboxJsConfig(){
42
  return Mage::helper('lightboxes')->getPiroboxJsConfig();
43
  }
44
+
45
  }
app/code/local/MagentoPycho/Lightboxes/Block/System/Config/Info.php CHANGED
@@ -1,16 +1,16 @@
1
  <?php
2
  /**
3
- * @company GuruWebSoft-Guru In Web Solutions <www.guruwebsoft.com>
4
- * @author Rajendra K Bhatta <rajen_k_bhtt@hotmail.com>
5
- *
6
  * @category MagentoPycho
7
- * @package MagentoPycho_Lightboxes
 
 
 
8
  */
9
  class MagentoPycho_Lightboxes_Block_System_Config_Info
10
  extends Mage_Adminhtml_Block_Abstract
11
  implements Varien_Data_Form_Element_Renderer_Interface
12
  {
13
-
14
  /**
15
  * Render fieldset html
16
  *
@@ -21,10 +21,12 @@ class MagentoPycho_Lightboxes_Block_System_Config_Info
21
  {
22
  $html = '<div style="background:url(\'http://www.magepsycho.com/_logo.png\') no-repeat scroll 15px center #EAF0EE;border:1px solid #CCCCCC;margin-bottom:10px;padding:10px 5px 5px 200px;">
23
  <h4>About MagePsycho</h4>
24
- <p>A Zend Certified Web Developer / Freelancer with specialization in CMS + E-Commerce Solutions.<br />
25
- View more extensions @ <a href="http://www.magentocommerce.com/magento-connect/developer/MagePsycho" target="_blank">MagentoConnect</a><br />
26
  <a href="http://www.magepsycho.com/contacts" target="_blank">Request a Quote / Contact Us</a><br />
27
  Skype me @ magentopycho<br />
 
 
28
  Visit my website: <a href="http://www.magepsycho.com" target="_blank">www.magespycho.com</a></p>
29
  </div>';
30
 
1
  <?php
2
  /**
 
 
 
3
  * @category MagentoPycho
4
+ * @package MagentoPycho_Lightboxes
5
+ * @author magepsycho@gmail.com
6
+ * @website http://www.magepsycho.com
7
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
8
  */
9
  class MagentoPycho_Lightboxes_Block_System_Config_Info
10
  extends Mage_Adminhtml_Block_Abstract
11
  implements Varien_Data_Form_Element_Renderer_Interface
12
  {
13
+
14
  /**
15
  * Render fieldset html
16
  *
21
  {
22
  $html = '<div style="background:url(\'http://www.magepsycho.com/_logo.png\') no-repeat scroll 15px center #EAF0EE;border:1px solid #CCCCCC;margin-bottom:10px;padding:10px 5px 5px 200px;">
23
  <h4>About MagePsycho</h4>
24
+ <p>A Professional Zend PHP5 Certified Developer / Freelancer with specialization in CMS + E-Commerce Solutions.<br />
25
+ View more extensions @ <a href="https://www.magentocommerce.com/magento-connect/developer/MagePsycho" target="_blank">MagentoConnect</a><br />
26
  <a href="http://www.magepsycho.com/contacts" target="_blank">Request a Quote / Contact Us</a><br />
27
  Skype me @ magentopycho<br />
28
+ Email me @ <a href="mailto:info@magepsycho.com">info@magepsycho.com</a><br />
29
+ Follow me on <a href="http://twitter.com/magepsycho" target="_blank">Twitter</a><br />
30
  Visit my website: <a href="http://www.magepsycho.com" target="_blank">www.magespycho.com</a></p>
31
  </div>';
32
 
app/code/local/MagentoPycho/Lightboxes/Helper/Data.php CHANGED
@@ -1,50 +1,81 @@
1
  <?php
2
-
 
 
 
 
 
 
3
  class MagentoPycho_Lightboxes_Helper_Data extends Mage_Core_Helper_Abstract
4
  {
5
  public function getConfig($field, $group = 'option', $default = null){
6
  $value = Mage::getStoreConfig('lightboxes/'.$group.'/'.$field);
7
  if(!isset($value) or trim($value) == ''){
8
- return $default;
9
  }else{
10
  return $value;
11
- }
12
  }
13
-
14
  public function getLightboxUrl(){
15
  return Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_JS) . 'lightboxes';
16
  }
17
-
18
  public function getMainImageSize()
19
  {
20
  list($main_width, $main_height) = explode('x', $this->getConfig('mainimage_size', 'option', '265x265'));
21
-
22
  $main_width = intval($main_width) > 0 ? intval($main_width) : 265;
23
  $main_height = intval($main_height) > 0 ? intval($main_height) : 265;
24
-
25
  return array($main_width, $main_height);
26
  }
27
-
28
  public function getThumbnailImageSize()
29
  {
30
  list($thu_width, $thu_height) = explode('x', $this->getConfig('thumbnail_size', 'option', '57x57'));
31
-
32
  $thu_width = intval($thu_width) > 0 ? intval($thu_width) : 57;
33
  $thu_height = intval($thu_height) > 0 ? intval($thu_height) : 57;
34
-
35
  return array($thu_width, $thu_height);
36
  }
37
-
38
  public function getPopupImageSize()
39
  {
40
- list($big_width, $big_height) = explode('x', $this->getConfig('popupimage_size', 'option', '800x600'));
41
-
42
- $big_width = intval($big_width) > 0 ? intval($big_width) : '';
43
- $big_height = intval($big_height) > 0 ? intval($big_height) : '';
44
-
 
 
 
45
  return array($big_width, $big_height);
46
  }
47
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
48
  public function getFancyboxJsConfig(){
49
  $js_string = '';
50
  if($this->getConfig('padding', 'fancybox')){
@@ -124,9 +155,9 @@ class MagentoPycho_Lightboxes_Helper_Data extends Mage_Core_Helper_Abstract
124
  $js_string .= "'enableEscapeButton' : " . $this->getConfig('enableEscapeButton', 'fancybox') . "," . PHP_EOL;
125
  }
126
  $js_string = rtrim($js_string, ",".PHP_EOL).PHP_EOL;
127
- return $js_string;
128
  }
129
-
130
  public function getLightboxcloneJsConfig(){
131
  $js_string = '';
132
  if($this->getConfig('overlayBgColor', 'lightboxclone')){
@@ -147,7 +178,7 @@ class MagentoPycho_Lightboxes_Helper_Data extends Mage_Core_Helper_Abstract
147
  if($this->getConfig('containerResizeSpeed', 'lightboxclone')){
148
  $js_string .= "'containerResizeSpeed' : " . $this->getConfig('containerResizeSpeed', 'lightboxclone') . "," . PHP_EOL;
149
  }
150
-
151
  $js_string .= "'imageBlank' : '" . Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_JS) . "lightboxes/jquery-lightbox-0.5/images/lightbox-blank.gif'," . PHP_EOL;
152
  $js_string .= "'imageLoading' : '" . Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_JS) . "lightboxes/jquery-lightbox-0.5/images/lightbox-ico-loading.gif'," . PHP_EOL;
153
  $js_string .= "'imageBtnClose' : '" . Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_JS) . "lightboxes/jquery-lightbox-0.5/images/lightbox-btn-close.gif'," . PHP_EOL;
@@ -156,7 +187,7 @@ class MagentoPycho_Lightboxes_Helper_Data extends Mage_Core_Helper_Abstract
156
  $js_string = rtrim($js_string, ",".PHP_EOL).PHP_EOL;
157
  return $js_string;
158
  }
159
-
160
  public function getPiroboxJsConfig(){
161
  $js_string = '';
162
  if($this->getConfig('my_speed', 'pirobox')){
@@ -171,10 +202,10 @@ class MagentoPycho_Lightboxes_Helper_Data extends Mage_Core_Helper_Abstract
171
  if($this->getConfig('slideSpeed', 'pirobox')){
172
  $js_string .= "'slideSpeed' : " . $this->getConfig('slideSpeed', 'pirobox') . "," . PHP_EOL;
173
  }
174
-
175
  $js_string .= "close_all : '.piro_close,.piro_overlay'" . PHP_EOL;
176
  $js_string = rtrim($js_string, ",".PHP_EOL).PHP_EOL;
177
-
178
  return $js_string;
179
  }
180
  }
1
  <?php
2
+ /**
3
+ * @category MagentoPycho
4
+ * @package MagentoPycho_Lightboxes
5
+ * @author magepsycho@gmail.com
6
+ * @website http://www.magepsycho.com
7
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
8
+ */
9
  class MagentoPycho_Lightboxes_Helper_Data extends Mage_Core_Helper_Abstract
10
  {
11
  public function getConfig($field, $group = 'option', $default = null){
12
  $value = Mage::getStoreConfig('lightboxes/'.$group.'/'.$field);
13
  if(!isset($value) or trim($value) == ''){
14
+ return $default;
15
  }else{
16
  return $value;
17
+ }
18
  }
19
+
20
  public function getLightboxUrl(){
21
  return Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_JS) . 'lightboxes';
22
  }
23
+
24
  public function getMainImageSize()
25
  {
26
  list($main_width, $main_height) = explode('x', $this->getConfig('mainimage_size', 'option', '265x265'));
27
+
28
  $main_width = intval($main_width) > 0 ? intval($main_width) : 265;
29
  $main_height = intval($main_height) > 0 ? intval($main_height) : 265;
30
+
31
  return array($main_width, $main_height);
32
  }
33
+
34
  public function getThumbnailImageSize()
35
  {
36
  list($thu_width, $thu_height) = explode('x', $this->getConfig('thumbnail_size', 'option', '57x57'));
37
+
38
  $thu_width = intval($thu_width) > 0 ? intval($thu_width) : 57;
39
  $thu_height = intval($thu_height) > 0 ? intval($thu_height) : 57;
40
+
41
  return array($thu_width, $thu_height);
42
  }
43
+
44
  public function getPopupImageSize()
45
  {
46
+ $sizes = explode('x', $this->getConfig('popupimage_size', 'option'));
47
+
48
+ $big_width = isset($sizes[0]) ? $sizes[0] : '';
49
+ $big_height = isset($sizes[1]) ? $sizes[1] : '';
50
+
51
+ $big_width = intval($big_width) > 0 ? intval($big_width) : '';
52
+ $big_height = intval($big_height) > 0 ? intval($big_height) : '';
53
+
54
  return array($big_width, $big_height);
55
  }
56
+
57
+ public function getLightboxRel($lightboxType, $default = ''){
58
+ $rel = '';
59
+ switch($lightboxType){
60
+ case 'fancybox':
61
+ $rel = 'fancybox';
62
+ break;
63
+ case 'lightboxclone':
64
+ $rel = 'lightboxclone';
65
+ break;
66
+ case 'pirobox':
67
+ $rel = 'pirobox';
68
+ break;
69
+ default:
70
+ $rel = '';
71
+ break;
72
+ }
73
+ if(!empty($default)){
74
+ $rel .= $default;
75
+ }
76
+ return $rel;
77
+ }
78
+
79
  public function getFancyboxJsConfig(){
80
  $js_string = '';
81
  if($this->getConfig('padding', 'fancybox')){
155
  $js_string .= "'enableEscapeButton' : " . $this->getConfig('enableEscapeButton', 'fancybox') . "," . PHP_EOL;
156
  }
157
  $js_string = rtrim($js_string, ",".PHP_EOL).PHP_EOL;
158
+ return $js_string;
159
  }
160
+
161
  public function getLightboxcloneJsConfig(){
162
  $js_string = '';
163
  if($this->getConfig('overlayBgColor', 'lightboxclone')){
178
  if($this->getConfig('containerResizeSpeed', 'lightboxclone')){
179
  $js_string .= "'containerResizeSpeed' : " . $this->getConfig('containerResizeSpeed', 'lightboxclone') . "," . PHP_EOL;
180
  }
181
+
182
  $js_string .= "'imageBlank' : '" . Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_JS) . "lightboxes/jquery-lightbox-0.5/images/lightbox-blank.gif'," . PHP_EOL;
183
  $js_string .= "'imageLoading' : '" . Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_JS) . "lightboxes/jquery-lightbox-0.5/images/lightbox-ico-loading.gif'," . PHP_EOL;
184
  $js_string .= "'imageBtnClose' : '" . Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_JS) . "lightboxes/jquery-lightbox-0.5/images/lightbox-btn-close.gif'," . PHP_EOL;
187
  $js_string = rtrim($js_string, ",".PHP_EOL).PHP_EOL;
188
  return $js_string;
189
  }
190
+
191
  public function getPiroboxJsConfig(){
192
  $js_string = '';
193
  if($this->getConfig('my_speed', 'pirobox')){
202
  if($this->getConfig('slideSpeed', 'pirobox')){
203
  $js_string .= "'slideSpeed' : " . $this->getConfig('slideSpeed', 'pirobox') . "," . PHP_EOL;
204
  }
205
+
206
  $js_string .= "close_all : '.piro_close,.piro_overlay'" . PHP_EOL;
207
  $js_string = rtrim($js_string, ",".PHP_EOL).PHP_EOL;
208
+
209
  return $js_string;
210
  }
211
  }
app/code/local/MagentoPycho/Lightboxes/Model/Config/Fancybox/Easings.php CHANGED
@@ -1,4 +1,11 @@
1
  <?php
 
 
 
 
 
 
 
2
  class MagentoPycho_Lightboxes_Model_Config_Fancybox_Easings
3
  {
4
  public function toOptionArray()
1
  <?php
2
+ /**
3
+ * @category MagentoPycho
4
+ * @package MagentoPycho_Lightboxes
5
+ * @author magepsycho@gmail.com
6
+ * @website http://www.magepsycho.com
7
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
8
+ */
9
  class MagentoPycho_Lightboxes_Model_Config_Fancybox_Easings
10
  {
11
  public function toOptionArray()
app/code/local/MagentoPycho/Lightboxes/Model/Config/Fancybox/Opacities.php CHANGED
@@ -1,4 +1,11 @@
1
  <?php
 
 
 
 
 
 
 
2
  class MagentoPycho_Lightboxes_Model_Config_Fancybox_Opacities
3
  {
4
  public function toOptionArray()
1
  <?php
2
+ /**
3
+ * @category MagentoPycho
4
+ * @package MagentoPycho_Lightboxes
5
+ * @author magepsycho@gmail.com
6
+ * @website http://www.magepsycho.com
7
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
8
+ */
9
  class MagentoPycho_Lightboxes_Model_Config_Fancybox_Opacities
10
  {
11
  public function toOptionArray()
app/code/local/MagentoPycho/Lightboxes/Model/Config/Fancybox/Scrollings.php CHANGED
@@ -1,12 +1,19 @@
1
  <?php
 
 
 
 
 
 
 
2
  class MagentoPycho_Lightboxes_Model_Config_Fancybox_Scrollings
3
  {
4
  public function toOptionArray()
5
  {
6
  return array(
7
- 'auto' => Mage::helper('lightboxes')->__('auto'),
8
- 'yes' => Mage::helper('lightboxes')->__('yes'),
9
- 'no' => Mage::helper('lightboxes')->__('no'),
10
  );
11
  }
12
  }
1
  <?php
2
+ /**
3
+ * @category MagentoPycho
4
+ * @package MagentoPycho_Lightboxes
5
+ * @author magepsycho@gmail.com
6
+ * @website http://www.magepsycho.com
7
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
8
+ */
9
  class MagentoPycho_Lightboxes_Model_Config_Fancybox_Scrollings
10
  {
11
  public function toOptionArray()
12
  {
13
  return array(
14
+ 'auto' => Mage::helper('lightboxes')->__('auto'),
15
+ 'yes' => Mage::helper('lightboxes')->__('yes'),
16
+ 'no' => Mage::helper('lightboxes')->__('no'),
17
  );
18
  }
19
  }
app/code/local/MagentoPycho/Lightboxes/Model/Config/Fancybox/Speeds.php CHANGED
@@ -1,10 +1,17 @@
1
  <?php
 
 
 
 
 
 
 
2
  class MagentoPycho_Lightboxes_Model_Config_Fancybox_Speeds
3
  {
4
  public function toOptionArray()
5
  {
6
  return array(
7
- 'fast' => Mage::helper('lightboxes')->__('fast'),
8
  );
9
  }
10
  }
1
  <?php
2
+ /**
3
+ * @category MagentoPycho
4
+ * @package MagentoPycho_Lightboxes
5
+ * @author magepsycho@gmail.com
6
+ * @website http://www.magepsycho.com
7
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
8
+ */
9
  class MagentoPycho_Lightboxes_Model_Config_Fancybox_Speeds
10
  {
11
  public function toOptionArray()
12
  {
13
  return array(
14
+ 'fast' => Mage::helper('lightboxes')->__('fast'),
15
  );
16
  }
17
  }
app/code/local/MagentoPycho/Lightboxes/Model/Config/Fancybox/Titlepositions.php CHANGED
@@ -1,12 +1,19 @@
1
  <?php
 
 
 
 
 
 
 
2
  class MagentoPycho_Lightboxes_Model_Config_Fancybox_Titlepositions
3
  {
4
  public function toOptionArray()
5
  {
6
  return array(
7
- 'outside' => Mage::helper('lightboxes')->__('outside'),
8
- 'inside' => Mage::helper('lightboxes')->__('inside'),
9
- 'over' => Mage::helper('lightboxes')->__('over'),
10
  );
11
  }
12
  }
1
  <?php
2
+ /**
3
+ * @category MagentoPycho
4
+ * @package MagentoPycho_Lightboxes
5
+ * @author magepsycho@gmail.com
6
+ * @website http://www.magepsycho.com
7
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
8
+ */
9
  class MagentoPycho_Lightboxes_Model_Config_Fancybox_Titlepositions
10
  {
11
  public function toOptionArray()
12
  {
13
  return array(
14
+ 'outside' => Mage::helper('lightboxes')->__('outside'),
15
+ 'inside' => Mage::helper('lightboxes')->__('inside'),
16
+ 'over' => Mage::helper('lightboxes')->__('over'),
17
  );
18
  }
19
  }
app/code/local/MagentoPycho/Lightboxes/Model/Config/Fancybox/Transitions.php CHANGED
@@ -1,12 +1,19 @@
1
  <?php
 
 
 
 
 
 
 
2
  class MagentoPycho_Lightboxes_Model_Config_Fancybox_Transitions
3
  {
4
  public function toOptionArray()
5
  {
6
  return array(
7
- 'fade' => Mage::helper('lightboxes')->__('fade'),
8
- 'elastic' => Mage::helper('lightboxes')->__('elastic'),
9
- 'none' => Mage::helper('lightboxes')->__('none'),
10
  );
11
  }
12
  }
1
  <?php
2
+ /**
3
+ * @category MagentoPycho
4
+ * @package MagentoPycho_Lightboxes
5
+ * @author magepsycho@gmail.com
6
+ * @website http://www.magepsycho.com
7
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
8
+ */
9
  class MagentoPycho_Lightboxes_Model_Config_Fancybox_Transitions
10
  {
11
  public function toOptionArray()
12
  {
13
  return array(
14
+ 'fade' => Mage::helper('lightboxes')->__('fade'),
15
+ 'elastic' => Mage::helper('lightboxes')->__('elastic'),
16
+ 'none' => Mage::helper('lightboxes')->__('none'),
17
  );
18
  }
19
  }
app/code/local/MagentoPycho/Lightboxes/Model/Config/Inclusiontypes.php ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * @category MagentoPycho
4
+ * @package MagentoPycho_Lightboxes
5
+ * @author magepsycho@gmail.com
6
+ * @website http://www.magepsycho.com
7
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
8
+ */
9
+ class MagentoPycho_Lightboxes_Model_Config_Inclusiontypes
10
+ {
11
+ public function toOptionArray()
12
+ {
13
+ return array(
14
+ 'head' => Mage::helper('lightboxes')->__('Head (head.phtml)'),
15
+ 'media' => Mage::helper('lightboxes')->__('Media (media.phtml)'),
16
+ );
17
+ }
18
+ }
app/code/local/MagentoPycho/Lightboxes/Model/Config/Jquerytypes.php ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * @category MagentoPycho
4
+ * @package MagentoPycho_Lightboxes
5
+ * @author magepsycho@gmail.com
6
+ * @website http://www.magepsycho.com
7
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
8
+ */
9
+ class MagentoPycho_Lightboxes_Model_Config_jquerytypes
10
+ {
11
+ public function toOptionArray()
12
+ {
13
+ return array(
14
+ 'local' => Mage::helper('lightboxes')->__('Local'),
15
+ 'google' => Mage::helper('lightboxes')->__('Google CDN'),
16
+ );
17
+ }
18
+ }
app/code/local/MagentoPycho/Lightboxes/Model/Config/Lightboxclone/Opacities.php CHANGED
@@ -1,4 +1,11 @@
1
  <?php
 
 
 
 
 
 
 
2
  class MagentoPycho_Lightboxes_Model_Config_Lightboxclone_Opacities
3
  {
4
  public function toOptionArray()
1
  <?php
2
+ /**
3
+ * @category MagentoPycho
4
+ * @package MagentoPycho_Lightboxes
5
+ * @author magepsycho@gmail.com
6
+ * @website http://www.magepsycho.com
7
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
8
+ */
9
  class MagentoPycho_Lightboxes_Model_Config_Lightboxclone_Opacities
10
  {
11
  public function toOptionArray()
app/code/local/MagentoPycho/Lightboxes/Model/Config/Lightboxtypes.php CHANGED
@@ -1,12 +1,19 @@
1
  <?php
 
 
 
 
 
 
 
2
  class MagentoPycho_Lightboxes_Model_Config_Lightboxtypes
3
  {
4
  public function toOptionArray()
5
  {
6
  return array(
7
- 'fancybox' => Mage::helper('lightboxes')->__('FancyBox'),
8
  'pirobox' => Mage::helper('lightboxes')->__('PiroBox'),
9
- 'lightboxclone' => Mage::helper('lightboxes')->__('Lightbox Clone'),
10
  );
11
  }
12
  }
1
  <?php
2
+ /**
3
+ * @category MagentoPycho
4
+ * @package MagentoPycho_Lightboxes
5
+ * @author magepsycho@gmail.com
6
+ * @website http://www.magepsycho.com
7
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
8
+ */
9
  class MagentoPycho_Lightboxes_Model_Config_Lightboxtypes
10
  {
11
  public function toOptionArray()
12
  {
13
  return array(
14
+ 'fancybox' => Mage::helper('lightboxes')->__('FancyBox'),
15
  'pirobox' => Mage::helper('lightboxes')->__('PiroBox'),
16
+ 'lightboxclone' => Mage::helper('lightboxes')->__('Lightbox Clone'),
17
  );
18
  }
19
  }
app/code/local/MagentoPycho/Lightboxes/Model/Config/Pirobox/Bgalphas.php CHANGED
@@ -1,4 +1,11 @@
1
  <?php
 
 
 
 
 
 
 
2
  class MagentoPycho_Lightboxes_Model_Config_Pirobox_Bgalphas
3
  {
4
  public function toOptionArray()
1
  <?php
2
+ /**
3
+ * @category MagentoPycho
4
+ * @package MagentoPycho_Lightboxes
5
+ * @author magepsycho@gmail.com
6
+ * @website http://www.magepsycho.com
7
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
8
+ */
9
  class MagentoPycho_Lightboxes_Model_Config_Pirobox_Bgalphas
10
  {
11
  public function toOptionArray()
app/code/local/MagentoPycho/Lightboxes/Model/Config/Pirobox/Themes.php CHANGED
@@ -1,4 +1,11 @@
1
  <?php
 
 
 
 
 
 
 
2
  class MagentoPycho_Lightboxes_Model_Config_Pirobox_Themes
3
  {
4
  public function toOptionArray()
@@ -8,7 +15,7 @@ class MagentoPycho_Lightboxes_Model_Config_Pirobox_Themes
8
  'demo2' => Mage::helper('lightboxes')->__('black border corners + shadow'),
9
  'demo3' => Mage::helper('lightboxes')->__('white border corners + shadow'),
10
  'demo4' => Mage::helper('lightboxes')->__('shadow'),
11
- 'demo5' => Mage::helper('lightboxes')->__('double border corners black/white'),
12
  );
13
  }
14
  }
1
  <?php
2
+ /**
3
+ * @category MagentoPycho
4
+ * @package MagentoPycho_Lightboxes
5
+ * @author magepsycho@gmail.com
6
+ * @website http://www.magepsycho.com
7
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
8
+ */
9
  class MagentoPycho_Lightboxes_Model_Config_Pirobox_Themes
10
  {
11
  public function toOptionArray()
15
  'demo2' => Mage::helper('lightboxes')->__('black border corners + shadow'),
16
  'demo3' => Mage::helper('lightboxes')->__('white border corners + shadow'),
17
  'demo4' => Mage::helper('lightboxes')->__('shadow'),
18
+ 'demo5' => Mage::helper('lightboxes')->__('double border corners black/white'),
19
  );
20
  }
21
  }
app/code/local/MagentoPycho/Lightboxes/Model/Lightboxes.php CHANGED
@@ -1,6 +1,12 @@
1
  <?php
2
-
 
 
 
 
 
 
3
  class MagentoPycho_Lightboxes_Model_Lightboxes extends Mage_Core_Model_Abstract
4
  {
5
-
6
  }
1
  <?php
2
+ /**
3
+ * @category MagentoPycho
4
+ * @package MagentoPycho_Lightboxes
5
+ * @author magepsycho@gmail.com
6
+ * @website http://www.magepsycho.com
7
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
8
+ */
9
  class MagentoPycho_Lightboxes_Model_Lightboxes extends Mage_Core_Model_Abstract
10
  {
11
+
12
  }
app/code/local/MagentoPycho/Lightboxes/controllers/IndexController.php CHANGED
@@ -1,8 +1,15 @@
1
  <?php
 
 
 
 
 
 
 
2
  class MagentoPycho_Lightboxes_IndexController extends Mage_Core_Controller_Front_Action
3
  {
4
  public function indexAction()
5
  {
6
-
7
  }
8
  }
1
  <?php
2
+ /**
3
+ * @category MagentoPycho
4
+ * @package MagentoPycho_Lightboxes
5
+ * @author magepsycho@gmail.com
6
+ * @website http://www.magepsycho.com
7
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
8
+ */
9
  class MagentoPycho_Lightboxes_IndexController extends Mage_Core_Controller_Front_Action
10
  {
11
  public function indexAction()
12
  {
13
+
14
  }
15
  }
app/code/local/MagentoPycho/Lightboxes/etc/adminhtml.xml CHANGED
@@ -1,34 +1,34 @@
1
  <?xml version="1.0"?>
2
  <!--
3
  /**
4
- * @category MagePsycho
5
- * @package MagePsycho_Lightboxes
6
- * @author info@magepsycho.com
7
  * @website http://www.magepsycho.com
8
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
9
  */
10
  -->
11
  <config>
12
  <acl>
13
- <resources>
14
- <admin>
15
- <children>
16
- <system>
17
- <children>
18
- <config>
19
  <children>
20
- <magepychoinfo>
21
- <title>MagentoPycho - All</title>
22
- </magepychoinfo>
23
- <lightboxes>
24
- <title>jQuery Lightboxes</title>
25
- </lightboxes>
 
 
 
 
 
 
 
 
26
  </children>
27
- </config>
28
- </children>
29
- </system>
30
- </children>
31
- </admin>
32
- </resources>
33
- </acl>
34
  </config>
1
  <?xml version="1.0"?>
2
  <!--
3
  /**
4
+ * @category MagentoPycho
5
+ * @package MagentoPycho_Lightboxes
6
+ * @author magepsycho@gmail.com
7
  * @website http://www.magepsycho.com
8
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
9
  */
10
  -->
11
  <config>
12
  <acl>
13
+ <resources>
14
+ <admin>
 
 
 
 
15
  <children>
16
+ <system>
17
+ <children>
18
+ <config>
19
+ <children>
20
+ <magepychoinfo>
21
+ <title>MagePsycho - All</title>
22
+ </magepychoinfo>
23
+ <lightboxes>
24
+ <title>jQuery Lightboxes</title>
25
+ </lightboxes>
26
+ </children>
27
+ </config>
28
+ </children>
29
+ </system>
30
  </children>
31
+ </admin>
32
+ </resources>
33
+ </acl>
 
 
 
 
34
  </config>
app/code/local/MagentoPycho/Lightboxes/etc/config.xml CHANGED
@@ -1,9 +1,9 @@
1
  <?xml version="1.0"?>
2
  <!--
3
  /**
4
- * @category MagePsycho
5
- * @package MagePsycho_Lightboxes
6
- * @author info@magepsycho.com
7
  * @website http://www.magepsycho.com
8
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
9
  */
@@ -11,24 +11,24 @@
11
  <config>
12
  <modules>
13
  <MagentoPycho_Lightboxes>
14
- <version>1.0.3</version>
15
  </MagentoPycho_Lightboxes>
16
  </modules>
17
  <global>
18
  <models>
19
  <lightboxes>
20
  <class>MagentoPycho_Lightboxes_Model</class>
21
- </lightboxes>
22
- </models>
23
  <blocks>
24
  <lightboxes>
25
  <class>MagentoPycho_Lightboxes_Block</class>
26
  </lightboxes>
27
- <catalog>
28
- <rewrite>
29
- <product_view_media>MagentoPycho_Lightboxes_Block_Media</product_view_media>
30
- </rewrite>
31
- </catalog>
32
  </blocks>
33
  <helpers>
34
  <lightboxes>
@@ -53,7 +53,7 @@
53
  </lightboxes>
54
  </updates>
55
  </layout>
56
- </frontend>
57
  <adminhtml>
58
  <acl>
59
  <resources>
@@ -64,7 +64,7 @@
64
  <config>
65
  <children>
66
  <magepychoinfo>
67
- <title>MagentoPycho - All</title>
68
  </magepychoinfo>
69
  <lightboxes>
70
  <title>jQuery Lightboxes</title>
@@ -77,33 +77,41 @@
77
  </admin>
78
  </resources>
79
  </acl>
80
- </adminhtml>
81
  <default>
82
  <lightboxes>
83
  <option>
84
- <active>1</active>
85
  <include_jquery>1</include_jquery>
86
- <lightbox_type>fancybox</lightbox_type>
87
- <include_globally>0</include_globally>
 
88
  </option>
 
 
 
 
 
 
 
89
  <fancybox>
90
  <padding>10</padding>
91
  <margin>20</margin>
92
  <scrolling>auto</scrolling>
93
- <autoScale>1</autoScale>
94
  <titlePosition>outside</titlePosition>
95
  <transitionIn>elastic</transitionIn>
96
- <transitionOut>elastic</transitionOut>
97
- <!--<easingIn>easeOutBack</easingIn>
98
- <easingOut>easeInBack</easingOut>-->
99
- <hideOnOverlayClick>1</hideOnOverlayClick>
100
- <overlayShow>1</overlayShow>
101
- <overlayOpacity>0.3</overlayOpacity>
102
- <overlayColor>#666</overlayColor>
103
- <titleShow>1</titleShow>
104
- <showCloseButton>1</showCloseButton>
105
  <showNavArrows>1</showNavArrows>
106
- <enableEscapeButton>1</enableEscapeButton>
107
  </fancybox>
108
  <lightboxclone>
109
  <overlayBgColor>#000</overlayBgColor>
@@ -118,8 +126,8 @@
118
  <my_speed>300</my_speed>
119
  <bg_alpha>0.5</bg_alpha>
120
  <slideShow>1</slideShow>
121
- <slideSpeed>3</slideSpeed>
122
  </pirobox>
123
- </lightboxes>
124
- </default>
125
  </config>
1
  <?xml version="1.0"?>
2
  <!--
3
  /**
4
+ * @category MagentoPycho
5
+ * @package MagentoPycho_Lightboxes
6
+ * @author magepsycho@gmail.com
7
  * @website http://www.magepsycho.com
8
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
9
  */
11
  <config>
12
  <modules>
13
  <MagentoPycho_Lightboxes>
14
+ <version>1.1.0</version>
15
  </MagentoPycho_Lightboxes>
16
  </modules>
17
  <global>
18
  <models>
19
  <lightboxes>
20
  <class>MagentoPycho_Lightboxes_Model</class>
21
+ </lightboxes>
22
+ </models>
23
  <blocks>
24
  <lightboxes>
25
  <class>MagentoPycho_Lightboxes_Block</class>
26
  </lightboxes>
27
+ <!--<catalog>
28
+ <rewrite>
29
+ <product_view_media>MagentoPycho_Lightboxes_Block_Media</product_view_media>
30
+ </rewrite>
31
+ </catalog>-->
32
  </blocks>
33
  <helpers>
34
  <lightboxes>
53
  </lightboxes>
54
  </updates>
55
  </layout>
56
+ </frontend>
57
  <adminhtml>
58
  <acl>
59
  <resources>
64
  <config>
65
  <children>
66
  <magepychoinfo>
67
+ <title>MagePsycho - All</title>
68
  </magepychoinfo>
69
  <lightboxes>
70
  <title>jQuery Lightboxes</title>
77
  </admin>
78
  </resources>
79
  </acl>
80
+ </adminhtml>
81
  <default>
82
  <lightboxes>
83
  <option>
84
+ <active>1</active>
85
  <include_jquery>1</include_jquery>
86
+ <lightbox_type>fancybox</lightbox_type>
87
+ <include_globally>0</include_globally>
88
+ <disable_zoombar>1</disable_zoombar>
89
  </option>
90
+ <lightboxes_confliction>
91
+ <include_jquery>1</include_jquery>
92
+ <include_jquery_from>local</include_jquery_from>
93
+ <include_jquery_in>head</include_jquery_in>
94
+ <include_lighboxes_in>head</include_lighboxes_in>
95
+ <include_initialization_in>media</include_initialization_in>
96
+ </lightboxes_confliction>
97
  <fancybox>
98
  <padding>10</padding>
99
  <margin>20</margin>
100
  <scrolling>auto</scrolling>
101
+ <autoScale>1</autoScale>
102
  <titlePosition>outside</titlePosition>
103
  <transitionIn>elastic</transitionIn>
104
+ <transitionOut>elastic</transitionOut>
105
+ <!--<easingIn>easeOutBack</easingIn>
106
+ <easingOut>easeInBack</easingOut>-->
107
+ <hideOnOverlayClick>1</hideOnOverlayClick>
108
+ <overlayShow>1</overlayShow>
109
+ <overlayOpacity>0.3</overlayOpacity>
110
+ <overlayColor>#666</overlayColor>
111
+ <titleShow>1</titleShow>
112
+ <showCloseButton>1</showCloseButton>
113
  <showNavArrows>1</showNavArrows>
114
+ <enableEscapeButton>1</enableEscapeButton>
115
  </fancybox>
116
  <lightboxclone>
117
  <overlayBgColor>#000</overlayBgColor>
126
  <my_speed>300</my_speed>
127
  <bg_alpha>0.5</bg_alpha>
128
  <slideShow>1</slideShow>
129
+ <slideSpeed>3</slideSpeed>
130
  </pirobox>
131
+ </lightboxes>
132
+ </default>
133
  </config>
app/code/local/MagentoPycho/Lightboxes/etc/system.xml CHANGED
@@ -1,14 +1,14 @@
1
  <?xml version="1.0"?>
2
  <!--
3
  /**
4
- * @category MagePsycho
5
- * @package MagePsycho_Lightboxes
6
- * @author info@magepsycho.com
7
  * @website http://www.magepsycho.com
8
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
9
  */
10
  -->
11
- <config>
12
  <tabs>
13
  <magepychoall translate="label" module="lightboxes">
14
  <label>MagePsycho Extensions</label>
@@ -17,21 +17,21 @@
17
  </tabs>
18
  <sections>
19
  <magepychoinfo translate="label" module="lightboxes">
20
- <label>Info</label>
21
- <tab>magepychoall</tab>
22
- <frontend_type>text</frontend_type>
23
- <sort_order>99999999999</sort_order>
24
- <show_in_default>1</show_in_default>
25
- <show_in_website>1</show_in_website>
26
- <show_in_store>1</show_in_store>
27
- <groups>
28
  <info>
29
  <frontend_model>lightboxes/system_config_info</frontend_model>
30
  <sort_order>10</sort_order>
31
  <show_in_default>1</show_in_default>
32
  <show_in_website>1</show_in_website>
33
  <show_in_store>1</show_in_store>
34
- </info>
35
  </groups>
36
  </magepychoinfo>
37
  <lightboxes module="lightboxes">
@@ -59,57 +59,40 @@
59
  <show_in_default>1</show_in_default>
60
  <show_in_website>1</show_in_website>
61
  <show_in_store>1</show_in_store>
62
- </active>
63
- <include_jquery translate="label">
64
- <label>Include jQuery file</label>
65
- <frontend_type>select</frontend_type>
66
- <source_model>adminhtml/system_config_source_yesno</source_model>
67
- <sort_order>20</sort_order><show_in_default>1</show_in_default>
68
- <show_in_website>1</show_in_website>
69
- <show_in_store>1</show_in_store>
70
- <comment><![CDATA[You can disable the jQuery inclusion if it's already included by some third party extensions like Mxperts-jQuery.]]></comment>
71
- </include_jquery>
72
- <include_globally translate="label">
73
- <label>Include Lightbox files globally</label>
74
- <frontend_type>select</frontend_type>
75
- <source_model>adminhtml/system_config_source_yesno</source_model>
76
- <sort_order>21</sort_order><show_in_default>1</show_in_default>
77
- <show_in_website>1</show_in_website>
78
- <show_in_store>1</show_in_store>
79
- <comment><![CDATA[If 'Yes' option is selected, then it will include the lightbox files (js + css) so that it can be used outside of product description page also. Especially used for 3rd party modules like Image Gallery etc.]]></comment>
80
- </include_globally>
81
  <lightbox_type translate="label">
82
  <label>Lightbox Type</label>
83
  <frontend_type>select</frontend_type>
84
  <source_model>lightboxes/config_lightboxtypes</source_model>
85
  <sort_order>30</sort_order><show_in_default>1</show_in_default>
86
  <show_in_website>1</show_in_website>
87
- <show_in_store>1</show_in_store>
 
88
  </lightbox_type>
89
  <mainimage_size translate="label">
90
  <label>Main Image Size</label>
91
  <frontend_type>text</frontend_type>
92
  <sort_order>31</sort_order><show_in_default>1</show_in_default>
93
  <show_in_website>1</show_in_website>
94
- <show_in_store>1</show_in_store>
95
- <comment><![CDATA[Size in [Width]x[Height] Format. Example: 800x600]]></comment>
96
  </mainimage_size>
97
  <thumbnail_size translate="label">
98
  <label>Thumbnail Size</label>
99
  <frontend_type>text</frontend_type>
100
  <sort_order>32</sort_order><show_in_default>1</show_in_default>
101
  <show_in_website>1</show_in_website>
102
- <show_in_store>1</show_in_store>
103
- <comment><![CDATA[Size in [Width]x[Height] Format. Example: 57x57]]></comment>
104
  </thumbnail_size>
105
  <popupimage_size translate="label">
106
  <label>Popup Image Size</label>
107
  <frontend_type>text</frontend_type>
108
  <sort_order>33</sort_order><show_in_default>1</show_in_default>
109
  <show_in_website>1</show_in_website>
110
- <show_in_store>1</show_in_store>
111
- <comment><![CDATA[Size in [Width]x[Height] Format. Example: 265x265]]></comment>
112
- </popupimage_size>
113
  <disable_zoombar translate="label">
114
  <label>Disable Zoom Bar</label>
115
  <frontend_type>select</frontend_type>
@@ -117,10 +100,101 @@
117
  <sort_order>34</sort_order><show_in_default>1</show_in_default>
118
  <show_in_website>1</show_in_website>
119
  <show_in_store>1</show_in_store>
120
- <comment><![CDATA[This will hide the default Zoom bar and will give the main image the lightbox effect.]]></comment>
121
- </disable_zoombar>
122
  </fields>
123
  </option>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
124
  <fancybox translate="label">
125
  <label>FancyBox</label>
126
  <frontend_type>text</frontend_type>
@@ -138,249 +212,249 @@
138
  </info>
139
  <padding translate="label">
140
  <label>padding</label>
141
- <frontend_type>text</frontend_type>
142
  <sort_order>30</sort_order>
143
  <show_in_default>1</show_in_default>
144
  <show_in_website>1</show_in_website>
145
- <show_in_store>1</show_in_store>
146
- <comment><![CDATA[Space between FancyBox wrapper and content.]]></comment>
147
- </padding>
148
  <margin translate="label">
149
  <label>margin</label>
150
- <frontend_type>text</frontend_type>
151
  <sort_order>40</sort_order>
152
  <show_in_default>1</show_in_default>
153
  <show_in_website>1</show_in_website>
154
- <show_in_store>1</show_in_store>
155
- <comment><![CDATA[Space between viewport and FancyBox wrapper.]]></comment>
156
- </margin>
157
  <opacity translate="label">
158
  <label>opacity</label>
159
  <frontend_type>select</frontend_type>
160
- <source_model>adminhtml/system_config_source_yesno</source_model>
161
  <sort_order>41</sort_order>
162
  <show_in_default>1</show_in_default>
163
  <show_in_website>1</show_in_website>
164
- <show_in_store>1</show_in_store>
165
- <comment><![CDATA[When true, transparency of content is changed for elastic transitions.]]></comment>
166
- </opacity>
167
  <modal translate="label">
168
  <label>modal</label>
169
  <frontend_type>select</frontend_type>
170
- <source_model>adminhtml/system_config_source_yesno</source_model>
171
  <sort_order>50</sort_order>
172
  <show_in_default>1</show_in_default>
173
  <show_in_website>1</show_in_website>
174
- <show_in_store>1</show_in_store>
175
- <comment><![CDATA[When true, 'overlayShow' is set to 'true' and 'hideOnOverlayClick', 'hideOnContentClick', 'enableEscapeButton', 'showCloseButton' are set to 'false'.]]></comment>
176
  </modal>
177
  <cyclic translate="label">
178
  <label>cyclic</label>
179
  <frontend_type>select</frontend_type>
180
- <source_model>adminhtml/system_config_source_yesno</source_model>
181
  <sort_order>60</sort_order>
182
  <show_in_default>1</show_in_default>
183
  <show_in_website>1</show_in_website>
184
- <show_in_store>1</show_in_store>
185
- <comment><![CDATA[When true, galleries will be cyclic, allowing you to keep pressing next/back.]]></comment>
186
- </cyclic>
187
  <scrolling translate="label">
188
  <label>scrolling</label>
189
  <frontend_type>select</frontend_type>
190
- <source_model>lightboxes/config_fancybox_scrollings</source_model>
191
  <sort_order>70</sort_order>
192
  <show_in_default>1</show_in_default>
193
  <show_in_website>1</show_in_website>
194
- <show_in_store>1</show_in_store>
195
- <comment><![CDATA[Set the overflow CSS property to create or hide scrollbars. Can be set to 'auto', 'yes', or 'no']]></comment>
196
- </scrolling>
197
  <autoScale translate="label">
198
  <label>autoScale</label>
199
  <frontend_type>select</frontend_type>
200
- <source_model>adminhtml/system_config_source_yesno</source_model>
201
  <sort_order>80</sort_order>
202
  <show_in_default>1</show_in_default>
203
  <show_in_website>1</show_in_website>
204
- <show_in_store>1</show_in_store>
205
- <comment><![CDATA[If true, FancyBox is scaled to fit in viewport]]></comment>
206
- </autoScale>
207
  <centerOnScroll translate="label">
208
  <label>centerOnScroll</label>
209
  <frontend_type>select</frontend_type>
210
- <source_model>adminhtml/system_config_source_yesno</source_model>
211
  <sort_order>90</sort_order>
212
  <show_in_default>1</show_in_default>
213
  <show_in_website>1</show_in_website>
214
- <show_in_store>1</show_in_store>
215
- <comment><![CDATA[When true, FancyBox is centered while scrolling page.]]></comment>
216
- </centerOnScroll>
217
  <hideOnOverlayClick translate="label">
218
  <label>hideOnOverlayClick</label>
219
  <frontend_type>select</frontend_type>
220
- <source_model>adminhtml/system_config_source_yesno</source_model>
221
  <sort_order>100</sort_order>
222
  <show_in_default>1</show_in_default>
223
  <show_in_website>1</show_in_website>
224
- <show_in_store>1</show_in_store>
225
- <comment><![CDATA[Toggle if clicking the overlay should close FancyBox]]></comment>
226
- </hideOnOverlayClick>
227
  <hideOnContentClick translate="label">
228
  <label>hideOnContentClick</label>
229
  <frontend_type>select</frontend_type>
230
- <source_model>adminhtml/system_config_source_yesno</source_model>
231
  <sort_order>110</sort_order>
232
  <show_in_default>1</show_in_default>
233
  <show_in_website>1</show_in_website>
234
- <show_in_store>1</show_in_store>
235
- <comment><![CDATA[Toggle if clicking the content should close FancyBox]]></comment>
236
- </hideOnContentClick>
237
  <overlayShow translate="label">
238
  <label>overlayShow</label>
239
  <frontend_type>select</frontend_type>
240
- <source_model>adminhtml/system_config_source_yesno</source_model>
241
  <sort_order>120</sort_order>
242
  <show_in_default>1</show_in_default>
243
  <show_in_website>1</show_in_website>
244
- <show_in_store>1</show_in_store>
245
- <comment><![CDATA[Toggle overlay]]></comment>
246
- </overlayShow>
247
  <overlayOpacity translate="label">
248
  <label>overlayOpacity</label>
249
  <frontend_type>select</frontend_type>
250
- <source_model>lightboxes/config_fancybox_opacities</source_model>
251
  <sort_order>130</sort_order>
252
  <show_in_default>1</show_in_default>
253
  <show_in_website>1</show_in_website>
254
- <show_in_store>1</show_in_store>
255
- <comment><![CDATA[Opacity of the overlay (from 0 to 1; default - 0.3)]]></comment>
256
- </overlayOpacity>
257
  <overlayColor translate="label">
258
  <label>overlayColor</label>
259
- <frontend_type>text</frontend_type>
260
  <sort_order>140</sort_order>
261
  <show_in_default>1</show_in_default>
262
  <show_in_website>1</show_in_website>
263
- <show_in_store>1</show_in_store>
264
- <comment><![CDATA[Color of the overlay]]></comment>
265
- </overlayColor>
266
  <titleShow translate="label">
267
  <label>titleShow</label>
268
  <frontend_type>select</frontend_type>
269
- <source_model>adminhtml/system_config_source_yesno</source_model>
270
  <sort_order>150</sort_order>
271
  <show_in_default>1</show_in_default>
272
  <show_in_website>1</show_in_website>
273
- <show_in_store>1</show_in_store>
274
- <comment><![CDATA[Toggle title]]></comment>
275
  </titleShow>
276
  <titlePosition translate="label">
277
  <label>titlePosition</label>
278
  <frontend_type>select</frontend_type>
279
- <source_model>lightboxes/config_fancybox_titlepositions</source_model>
280
  <sort_order>160</sort_order>
281
  <show_in_default>1</show_in_default>
282
  <show_in_website>1</show_in_website>
283
- <show_in_store>1</show_in_store>
284
- <comment><![CDATA[The position of title. Can be set to 'outside', 'inside' or 'over']]></comment>
285
  </titlePosition>
286
  <transitionIn translate="label">
287
  <label>transitionIn</label>
288
  <frontend_type>select</frontend_type>
289
- <source_model>lightboxes/config_fancybox_transitions</source_model>
290
  <sort_order>170</sort_order>
291
  <show_in_default>1</show_in_default>
292
  <show_in_website>1</show_in_website>
293
- <show_in_store>1</show_in_store>
294
- <comment><![CDATA[The transition type. Can be set to 'elastic', 'fade' or 'none']]></comment>
295
  </transitionIn>
296
  <transitionOut translate="label">
297
  <label>transitionOut</label>
298
  <frontend_type>select</frontend_type>
299
- <source_model>lightboxes/config_fancybox_transitions</source_model>
300
  <sort_order>180</sort_order>
301
  <show_in_default>1</show_in_default>
302
  <show_in_website>1</show_in_website>
303
- <show_in_store>1</show_in_store>
304
- <comment><![CDATA[The transition type. Can be set to 'elastic', 'fade' or 'none']]></comment>
305
  </transitionOut>
306
  <speedIn translate="label">
307
  <label>speedIn</label>
308
- <frontend_type>text</frontend_type>
309
  <sort_order>190</sort_order>
310
  <show_in_default>1</show_in_default>
311
  <show_in_website>1</show_in_website>
312
- <show_in_store>1</show_in_store>
313
- <comment><![CDATA[Speed of the fade and elastic transitions, in milliseconds]]></comment>
314
  </speedIn>
315
  <speedOut translate="label">
316
  <label>speedOut</label>
317
- <frontend_type>text</frontend_type>
318
  <sort_order>200</sort_order>
319
  <show_in_default>1</show_in_default>
320
  <show_in_website>1</show_in_website>
321
- <show_in_store>1</show_in_store>
322
- <comment><![CDATA[Speed of the fade and elastic transitions, in milliseconds]]></comment>
323
  </speedOut>
324
  <changeFade translate="label">
325
  <label>changeFade</label>
326
  <frontend_type>select</frontend_type>
327
- <source_model>lightboxes/config_fancybox_speeds</source_model>
328
  <sort_order>210</sort_order>
329
  <show_in_default>1</show_in_default>
330
  <show_in_website>1</show_in_website>
331
- <show_in_store>1</show_in_store>
332
- <comment><![CDATA[Speed of the content fading while changing gallery items]]></comment>
333
  </changeFade>
334
  <easingIn translate="label">
335
  <label>easingIn</label>
336
  <frontend_type>select</frontend_type>
337
- <source_model>lightboxes/config_fancybox_easings</source_model>
338
  <sort_order>220</sort_order>
339
  <show_in_default>1</show_in_default>
340
  <show_in_website>1</show_in_website>
341
- <show_in_store>1</show_in_store>
342
- <comment><![CDATA[Easing used for elastic animations]]></comment>
343
  </easingIn>
344
  <easingOut translate="label">
345
  <label>easingOut</label>
346
  <frontend_type>select</frontend_type>
347
- <source_model>lightboxes/config_fancybox_easings</source_model>
348
  <sort_order>230</sort_order>
349
  <show_in_default>1</show_in_default>
350
  <show_in_website>1</show_in_website>
351
- <show_in_store>1</show_in_store>
352
- <comment><![CDATA[Easing used for elastic animations]]></comment>
353
  </easingOut>
354
  <showCloseButton translate="label">
355
  <label>showCloseButton</label>
356
  <frontend_type>select</frontend_type>
357
- <source_model>adminhtml/system_config_source_yesno</source_model>
358
  <sort_order>240</sort_order>
359
  <show_in_default>1</show_in_default>
360
  <show_in_website>1</show_in_website>
361
- <show_in_store>1</show_in_store>
362
- <comment><![CDATA[Toggle close button]]></comment>
363
  </showCloseButton>
364
  <showNavArrows translate="label">
365
  <label>showNavArrows</label>
366
  <frontend_type>select</frontend_type>
367
- <source_model>adminhtml/system_config_source_yesno</source_model>
368
  <sort_order>250</sort_order>
369
  <show_in_default>1</show_in_default>
370
  <show_in_website>1</show_in_website>
371
- <show_in_store>1</show_in_store>
372
- <comment><![CDATA[Toggle navigation arrows]]></comment>
373
  </showNavArrows>
374
  <enableEscapeButton translate="label">
375
  <label>enableEscapeButton</label>
376
  <frontend_type>select</frontend_type>
377
- <source_model>adminhtml/system_config_source_yesno</source_model>
378
  <sort_order>250</sort_order>
379
  <show_in_default>1</show_in_default>
380
  <show_in_website>1</show_in_website>
381
- <show_in_store>1</show_in_store>
382
- <comment><![CDATA[Toggle if pressing Esc button closes FancyBox]]></comment>
383
- </enableEscapeButton>
384
  </fields>
385
  </fancybox>
386
  <pirobox>
@@ -400,50 +474,50 @@
400
  </info>
401
  <theme translate="label">
402
  <label>theme</label>
403
- <frontend_type>select</frontend_type>
404
- <source_model>lightboxes/config_pirobox_themes</source_model>
405
  <sort_order>309</sort_order>
406
  <show_in_default>1</show_in_default>
407
  <show_in_website>1</show_in_website>
408
- <show_in_store>1</show_in_store>
409
- <comment><![CDATA[Available themes for PiroBox]]></comment>
410
  </theme>
411
  <my_speed translate="label">
412
  <label>my_speed</label>
413
- <frontend_type>text</frontend_type>
414
  <sort_order>310</sort_order>
415
  <show_in_default>1</show_in_default>
416
  <show_in_website>1</show_in_website>
417
- <show_in_store>1</show_in_store>
418
- <comment><![CDATA[animation speed]]></comment>
419
  </my_speed>
420
  <bg_alpha translate="label">
421
  <label>bg_alpha</label>
422
  <frontend_type>select</frontend_type>
423
- <source_model>lightboxes/config_pirobox_bgalphas</source_model>
424
  <sort_order>320</sort_order>
425
  <show_in_default>1</show_in_default>
426
  <show_in_website>1</show_in_website>
427
- <show_in_store>1</show_in_store>
428
- <comment><![CDATA[background opacity]]></comment>
429
  </bg_alpha>
430
  <slideShow translate="label">
431
  <label>slideShow</label>
432
- <frontend_type>text</frontend_type>
433
  <sort_order>330</sort_order>
434
  <show_in_default>1</show_in_default>
435
  <show_in_website>1</show_in_website>
436
- <show_in_store>1</show_in_store>
437
- <comment><![CDATA[true == slideshow on, false == slideshow off]]></comment>
438
  </slideShow>
439
  <slideSpeed translate="label">
440
  <label>slideSpeed</label>
441
- <frontend_type>text</frontend_type>
442
  <sort_order>340</sort_order>
443
  <show_in_default>1</show_in_default>
444
  <show_in_website>1</show_in_website>
445
- <show_in_store>1</show_in_store>
446
- <comment><![CDATA[slideshow duration in seconds(3 to 6 Recommended)]]></comment>
447
  </slideSpeed>
448
  </fields>
449
  </pirobox>
@@ -464,61 +538,61 @@
464
  </info>
465
  <overlayBgColor translate="label">
466
  <label>overlayBgColor</label>
467
- <frontend_type>text</frontend_type>
468
  <sort_order>410</sort_order>
469
  <show_in_default>1</show_in_default>
470
  <show_in_website>1</show_in_website>
471
- <show_in_store>1</show_in_store>
472
- <comment><![CDATA[Used to define the overlay background color. #000 (black) is default.]]></comment>
473
  </overlayBgColor>
474
  <overlayOpacity translate="label">
475
  <label>overlayOpacity</label>
476
  <frontend_type>select</frontend_type>
477
- <source_model>lightboxes/config_lightboxclone_opacities</source_model>
478
  <sort_order>420</sort_order>
479
  <show_in_default>1</show_in_default>
480
  <show_in_website>1</show_in_website>
481
- <show_in_store>1</show_in_store>
482
- <comment><![CDATA[Used to define the overlay opacity. 0.8 is default.]]></comment>
483
  </overlayOpacity>
484
  <containerBorderSize translate="label">
485
  <label>containerBorderSize</label>
486
- <frontend_type>text</frontend_type>
487
  <sort_order>430</sort_order>
488
  <show_in_default>1</show_in_default>
489
  <show_in_website>1</show_in_website>
490
- <show_in_store>1</show_in_store>
491
- <comment><![CDATA[The padding CSS information used in the container image box. 10 is default.]]></comment>
492
- </containerBorderSize>
493
  <containerResizeSpeed translate="label">
494
  <label>containerResizeSpeed</label>
495
- <frontend_type>text</frontend_type>
496
  <sort_order>440</sort_order>
497
  <show_in_default>1</show_in_default>
498
  <show_in_website>1</show_in_website>
499
- <show_in_store>1</show_in_store>
500
- <comment><![CDATA[The duration of resize effect in the container image box. 400 is default.]]></comment>
501
- </containerResizeSpeed>
502
  <txtImage translate="label">
503
  <label>txtImage</label>
504
- <frontend_type>text</frontend_type>
505
  <sort_order>450</sort_order>
506
  <show_in_default>1</show_in_default>
507
  <show_in_website>1</show_in_website>
508
- <show_in_store>1</show_in_store>
509
- <comment><![CDATA[Text "Image" used in the image caption.]]></comment>
510
  </txtImage>
511
  <txtOf translate="label">
512
  <label>txtOf</label>
513
- <frontend_type>text</frontend_type>
514
  <sort_order>460</sort_order>
515
  <show_in_default>1</show_in_default>
516
  <show_in_website>1</show_in_website>
517
- <show_in_store>1</show_in_store>
518
- <comment><![CDATA[Text "of" used in the image caption.]]></comment>
519
- </txtOf>
520
- </fields>
521
- </lightboxclone>
522
  </groups>
523
  </lightboxes>
524
  </sections>
1
  <?xml version="1.0"?>
2
  <!--
3
  /**
4
+ * @category MagentoPycho
5
+ * @package MagentoPycho_Lightboxes
6
+ * @author magepsycho@gmail.com
7
  * @website http://www.magepsycho.com
8
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
9
  */
10
  -->
11
+ <config>
12
  <tabs>
13
  <magepychoall translate="label" module="lightboxes">
14
  <label>MagePsycho Extensions</label>
17
  </tabs>
18
  <sections>
19
  <magepychoinfo translate="label" module="lightboxes">
20
+ <label>Info</label>
21
+ <tab>magepychoall</tab>
22
+ <frontend_type>text</frontend_type>
23
+ <sort_order>99999999999</sort_order>
24
+ <show_in_default>1</show_in_default>
25
+ <show_in_website>1</show_in_website>
26
+ <show_in_store>1</show_in_store>
27
+ <groups>
28
  <info>
29
  <frontend_model>lightboxes/system_config_info</frontend_model>
30
  <sort_order>10</sort_order>
31
  <show_in_default>1</show_in_default>
32
  <show_in_website>1</show_in_website>
33
  <show_in_store>1</show_in_store>
34
+ </info>
35
  </groups>
36
  </magepychoinfo>
37
  <lightboxes module="lightboxes">
59
  <show_in_default>1</show_in_default>
60
  <show_in_website>1</show_in_website>
61
  <show_in_store>1</show_in_store>
62
+ </active>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
63
  <lightbox_type translate="label">
64
  <label>Lightbox Type</label>
65
  <frontend_type>select</frontend_type>
66
  <source_model>lightboxes/config_lightboxtypes</source_model>
67
  <sort_order>30</sort_order><show_in_default>1</show_in_default>
68
  <show_in_website>1</show_in_website>
69
+ <show_in_store>1</show_in_store>
70
+ <comment><![CDATA[You can customize the settings of selected Lightbox Type from the below tabs.]]></comment>
71
  </lightbox_type>
72
  <mainimage_size translate="label">
73
  <label>Main Image Size</label>
74
  <frontend_type>text</frontend_type>
75
  <sort_order>31</sort_order><show_in_default>1</show_in_default>
76
  <show_in_website>1</show_in_website>
77
+ <show_in_store>1</show_in_store>
78
+ <comment><![CDATA[Size in [Width]x[Height] Format. Example: 265x265]]></comment>
79
  </mainimage_size>
80
  <thumbnail_size translate="label">
81
  <label>Thumbnail Size</label>
82
  <frontend_type>text</frontend_type>
83
  <sort_order>32</sort_order><show_in_default>1</show_in_default>
84
  <show_in_website>1</show_in_website>
85
+ <show_in_store>1</show_in_store>
86
+ <comment><![CDATA[Size in [Width]x[Height] Format. Example: 57x57]]></comment>
87
  </thumbnail_size>
88
  <popupimage_size translate="label">
89
  <label>Popup Image Size</label>
90
  <frontend_type>text</frontend_type>
91
  <sort_order>33</sort_order><show_in_default>1</show_in_default>
92
  <show_in_website>1</show_in_website>
93
+ <show_in_store>1</show_in_store>
94
+ <comment><![CDATA[Size in [Width]x[Height] Format. Example: 800x600]]></comment>
95
+ </popupimage_size>
96
  <disable_zoombar translate="label">
97
  <label>Disable Zoom Bar</label>
98
  <frontend_type>select</frontend_type>
100
  <sort_order>34</sort_order><show_in_default>1</show_in_default>
101
  <show_in_website>1</show_in_website>
102
  <show_in_store>1</show_in_store>
103
+ <comment><![CDATA[This will hide the default Zoom bar and will give main image the lightbox effect.]]></comment>
104
+ </disable_zoombar>
105
  </fields>
106
  </option>
107
+
108
+ <lightboxes_confliction translate="label">
109
+ <label>JS File Settings</label>
110
+ <frontend_type>text</frontend_type>
111
+ <sort_order>15</sort_order>
112
+ <show_in_default>1</show_in_default>
113
+ <show_in_website>1</show_in_website>
114
+ <show_in_store>1</show_in_store>
115
+ <fields>
116
+ <info>
117
+ <frontend_model>lightboxes/config_lightboxes_confliction</frontend_model>
118
+ <sort_order>0</sort_order>
119
+ <show_in_default>1</show_in_default>
120
+ <show_in_website>1</show_in_website>
121
+ <show_in_store>1</show_in_store>
122
+ </info>
123
+ <include_jquery translate="label">
124
+ <label>Include jQuery file</label>
125
+ <frontend_type>select</frontend_type>
126
+ <source_model>adminhtml/system_config_source_yesno</source_model>
127
+ <sort_order>20</sort_order><show_in_default>1</show_in_default>
128
+ <show_in_website>1</show_in_website>
129
+ <show_in_store>1</show_in_store>
130
+ <comment><![CDATA[You can disable the jQuery inclusion if it's already included.<br />Default: Yes]]></comment>
131
+ </include_jquery>
132
+ <include_jquery_from translate="label">
133
+ <label>Include jQuery file from</label>
134
+ <frontend_type>select</frontend_type>
135
+ <source_model>lightboxes/config_jquerytypes</source_model>
136
+ <sort_order>25</sort_order><show_in_default>1</show_in_default>
137
+ <show_in_website>1</show_in_website>
138
+ <show_in_store>1</show_in_store>
139
+ <depends><include_jquery>1</include_jquery></depends>
140
+ <comment><![CDATA[You can use Google CDN if your site goes live as this will decrease the load time for jQuery. If you are using Google CDN option when you are in localhost, make sure to check the internet connection. <br />Default: Local]]></comment>
141
+ </include_jquery_from>
142
+ <include_jquery_in translate="label">
143
+ <label>Include jQuery file in</label>
144
+ <frontend_type>select</frontend_type>
145
+ <source_model>lightboxes/config_inclusiontypes</source_model>
146
+ <sort_order>30</sort_order><show_in_default>1</show_in_default>
147
+ <show_in_website>1</show_in_website>
148
+ <show_in_store>1</show_in_store>
149
+ <depends><include_jquery>1</include_jquery></depends>
150
+ <comment><![CDATA[Default: Head.<br/>Note that jQuery.noConflict() is included implicitly]]></comment>
151
+ </include_jquery_in>
152
+ <include_lighboxes_in translate="label">
153
+ <label>Include Lightbox files in</label>
154
+ <frontend_type>select</frontend_type>
155
+ <source_model>lightboxes/config_inclusiontypes</source_model>
156
+ <sort_order>40</sort_order><show_in_default>1</show_in_default>
157
+ <show_in_website>1</show_in_website>
158
+ <show_in_store>1</show_in_store>
159
+ <comment><![CDATA[Default: Head]]></comment>
160
+ </include_lighboxes_in>
161
+ <include_globally translate="label">
162
+ <label>Include Lightbox files globally</label>
163
+ <frontend_type>select</frontend_type>
164
+ <source_model>adminhtml/system_config_source_yesno</source_model>
165
+ <sort_order>45</sort_order><show_in_default>1</show_in_default>
166
+ <show_in_website>1</show_in_website>
167
+ <show_in_store>1</show_in_store>
168
+ <depends><include_lighboxes_in>head</include_lighboxes_in></depends>
169
+ <comment><![CDATA[If 'Yes' option is selected, then it will include the lightbox files (js + css) so that it can be used outside of product description page also. For example: CMS Pages/Static Blocks, 3rd party modules like Image Gallery etc.<br />Default: No<br /><strong>Note:</strong> Make sure to check that Lightbox files are included in Head in order to make it work globally.]]></comment>
170
+ </include_globally>
171
+ <global_initialization_code translate="label">
172
+ <label>Lightbox initialization code for global usage</label>
173
+ <frontend_type>textarea</frontend_type>
174
+ <sort_order>48</sort_order><show_in_default>1</show_in_default>
175
+ <show_in_website>1</show_in_website>
176
+ <show_in_store>1</show_in_store>
177
+ <depends><include_globally>1</include_globally></depends>
178
+ <comment><![CDATA[This field becomes handy when you are using lightbox files globally. You can initialize any no of any type of lightbox here, <strong>For Example:</strong><br />
179
+ &nbsp;&nbsp;jQuery("a[rel=iframeFancybox]").fancybox({<br />
180
+ &nbsp;&nbsp;&nbsp;&nbsp;'type' : 'iframe',<br />
181
+ &nbsp;&nbsp;&nbsp;&nbsp;'width' : 800,<br />
182
+ &nbsp;&nbsp;&nbsp;&nbsp;'height' : 600<br />
183
+ });<br />and can simply call from your custom pages, cms pages, static blocks etc easily.<br /> <strong>Note</strong> You don't need to wrap the code within &lt;script&gt; tag & document ready code: jQuery(document).ready(function(){ code.]]></comment>
184
+ </global_initialization_code>
185
+ <include_initialization_in translate="label">
186
+ <label>Include Lightbox initialization code in</label>
187
+ <frontend_type>select</frontend_type>
188
+ <source_model>lightboxes/config_inclusiontypes</source_model>
189
+ <sort_order>50</sort_order><show_in_default>1</show_in_default>
190
+ <show_in_website>1</show_in_website>
191
+ <show_in_store>1</show_in_store>
192
+ <comment><![CDATA[Default: Media]]></comment>
193
+ </include_initialization_in>
194
+
195
+ </fields>
196
+ </lightboxes_confliction>
197
+
198
  <fancybox translate="label">
199
  <label>FancyBox</label>
200
  <frontend_type>text</frontend_type>
212
  </info>
213
  <padding translate="label">
214
  <label>padding</label>
215
+ <frontend_type>text</frontend_type>
216
  <sort_order>30</sort_order>
217
  <show_in_default>1</show_in_default>
218
  <show_in_website>1</show_in_website>
219
+ <show_in_store>1</show_in_store>
220
+ <comment><![CDATA[Space between FancyBox wrapper and content.]]></comment>
221
+ </padding>
222
  <margin translate="label">
223
  <label>margin</label>
224
+ <frontend_type>text</frontend_type>
225
  <sort_order>40</sort_order>
226
  <show_in_default>1</show_in_default>
227
  <show_in_website>1</show_in_website>
228
+ <show_in_store>1</show_in_store>
229
+ <comment><![CDATA[Space between viewport and FancyBox wrapper.]]></comment>
230
+ </margin>
231
  <opacity translate="label">
232
  <label>opacity</label>
233
  <frontend_type>select</frontend_type>
234
+ <source_model>adminhtml/system_config_source_yesno</source_model>
235
  <sort_order>41</sort_order>
236
  <show_in_default>1</show_in_default>
237
  <show_in_website>1</show_in_website>
238
+ <show_in_store>1</show_in_store>
239
+ <comment><![CDATA[When true, transparency of content is changed for elastic transitions.]]></comment>
240
+ </opacity>
241
  <modal translate="label">
242
  <label>modal</label>
243
  <frontend_type>select</frontend_type>
244
+ <source_model>adminhtml/system_config_source_yesno</source_model>
245
  <sort_order>50</sort_order>
246
  <show_in_default>1</show_in_default>
247
  <show_in_website>1</show_in_website>
248
+ <show_in_store>1</show_in_store>
249
+ <comment><![CDATA[When true, 'overlayShow' is set to 'true' and 'hideOnOverlayClick', 'hideOnContentClick', 'enableEscapeButton', 'showCloseButton' are set to 'false'.]]></comment>
250
  </modal>
251
  <cyclic translate="label">
252
  <label>cyclic</label>
253
  <frontend_type>select</frontend_type>
254
+ <source_model>adminhtml/system_config_source_yesno</source_model>
255
  <sort_order>60</sort_order>
256
  <show_in_default>1</show_in_default>
257
  <show_in_website>1</show_in_website>
258
+ <show_in_store>1</show_in_store>
259
+ <comment><![CDATA[When true, galleries will be cyclic, allowing you to keep pressing next/back.]]></comment>
260
+ </cyclic>
261
  <scrolling translate="label">
262
  <label>scrolling</label>
263
  <frontend_type>select</frontend_type>
264
+ <source_model>lightboxes/config_fancybox_scrollings</source_model>
265
  <sort_order>70</sort_order>
266
  <show_in_default>1</show_in_default>
267
  <show_in_website>1</show_in_website>
268
+ <show_in_store>1</show_in_store>
269
+ <comment><![CDATA[Set the overflow CSS property to create or hide scrollbars. Can be set to 'auto', 'yes', or 'no']]></comment>
270
+ </scrolling>
271
  <autoScale translate="label">
272
  <label>autoScale</label>
273
  <frontend_type>select</frontend_type>
274
+ <source_model>adminhtml/system_config_source_yesno</source_model>
275
  <sort_order>80</sort_order>
276
  <show_in_default>1</show_in_default>
277
  <show_in_website>1</show_in_website>
278
+ <show_in_store>1</show_in_store>
279
+ <comment><![CDATA[If true, FancyBox is scaled to fit in viewport]]></comment>
280
+ </autoScale>
281
  <centerOnScroll translate="label">
282
  <label>centerOnScroll</label>
283
  <frontend_type>select</frontend_type>
284
+ <source_model>adminhtml/system_config_source_yesno</source_model>
285
  <sort_order>90</sort_order>
286
  <show_in_default>1</show_in_default>
287
  <show_in_website>1</show_in_website>
288
+ <show_in_store>1</show_in_store>
289
+ <comment><![CDATA[When true, FancyBox is centered while scrolling page.]]></comment>
290
+ </centerOnScroll>
291
  <hideOnOverlayClick translate="label">
292
  <label>hideOnOverlayClick</label>
293
  <frontend_type>select</frontend_type>
294
+ <source_model>adminhtml/system_config_source_yesno</source_model>
295
  <sort_order>100</sort_order>
296
  <show_in_default>1</show_in_default>
297
  <show_in_website>1</show_in_website>
298
+ <show_in_store>1</show_in_store>
299
+ <comment><![CDATA[Toggle if clicking the overlay should close FancyBox]]></comment>
300
+ </hideOnOverlayClick>
301
  <hideOnContentClick translate="label">
302
  <label>hideOnContentClick</label>
303
  <frontend_type>select</frontend_type>
304
+ <source_model>adminhtml/system_config_source_yesno</source_model>
305
  <sort_order>110</sort_order>
306
  <show_in_default>1</show_in_default>
307
  <show_in_website>1</show_in_website>
308
+ <show_in_store>1</show_in_store>
309
+ <comment><![CDATA[Toggle if clicking the content should close FancyBox]]></comment>
310
+ </hideOnContentClick>
311
  <overlayShow translate="label">
312
  <label>overlayShow</label>
313
  <frontend_type>select</frontend_type>
314
+ <source_model>adminhtml/system_config_source_yesno</source_model>
315
  <sort_order>120</sort_order>
316
  <show_in_default>1</show_in_default>
317
  <show_in_website>1</show_in_website>
318
+ <show_in_store>1</show_in_store>
319
+ <comment><![CDATA[Toggle overlay]]></comment>
320
+ </overlayShow>
321
  <overlayOpacity translate="label">
322
  <label>overlayOpacity</label>
323
  <frontend_type>select</frontend_type>
324
+ <source_model>lightboxes/config_fancybox_opacities</source_model>
325
  <sort_order>130</sort_order>
326
  <show_in_default>1</show_in_default>
327
  <show_in_website>1</show_in_website>
328
+ <show_in_store>1</show_in_store>
329
+ <comment><![CDATA[Opacity of the overlay (from 0 to 1; default - 0.3)]]></comment>
330
+ </overlayOpacity>
331
  <overlayColor translate="label">
332
  <label>overlayColor</label>
333
+ <frontend_type>text</frontend_type>
334
  <sort_order>140</sort_order>
335
  <show_in_default>1</show_in_default>
336
  <show_in_website>1</show_in_website>
337
+ <show_in_store>1</show_in_store>
338
+ <comment><![CDATA[Color of the overlay]]></comment>
339
+ </overlayColor>
340
  <titleShow translate="label">
341
  <label>titleShow</label>
342
  <frontend_type>select</frontend_type>
343
+ <source_model>adminhtml/system_config_source_yesno</source_model>
344
  <sort_order>150</sort_order>
345
  <show_in_default>1</show_in_default>
346
  <show_in_website>1</show_in_website>
347
+ <show_in_store>1</show_in_store>
348
+ <comment><![CDATA[Toggle title]]></comment>
349
  </titleShow>
350
  <titlePosition translate="label">
351
  <label>titlePosition</label>
352
  <frontend_type>select</frontend_type>
353
+ <source_model>lightboxes/config_fancybox_titlepositions</source_model>
354
  <sort_order>160</sort_order>
355
  <show_in_default>1</show_in_default>
356
  <show_in_website>1</show_in_website>
357
+ <show_in_store>1</show_in_store>
358
+ <comment><![CDATA[The position of title. Can be set to 'outside', 'inside' or 'over']]></comment>
359
  </titlePosition>
360
  <transitionIn translate="label">
361
  <label>transitionIn</label>
362
  <frontend_type>select</frontend_type>
363
+ <source_model>lightboxes/config_fancybox_transitions</source_model>
364
  <sort_order>170</sort_order>
365
  <show_in_default>1</show_in_default>
366
  <show_in_website>1</show_in_website>
367
+ <show_in_store>1</show_in_store>
368
+ <comment><![CDATA[The transition type. Can be set to 'elastic', 'fade' or 'none']]></comment>
369
  </transitionIn>
370
  <transitionOut translate="label">
371
  <label>transitionOut</label>
372
  <frontend_type>select</frontend_type>
373
+ <source_model>lightboxes/config_fancybox_transitions</source_model>
374
  <sort_order>180</sort_order>
375
  <show_in_default>1</show_in_default>
376
  <show_in_website>1</show_in_website>
377
+ <show_in_store>1</show_in_store>
378
+ <comment><![CDATA[The transition type. Can be set to 'elastic', 'fade' or 'none']]></comment>
379
  </transitionOut>
380
  <speedIn translate="label">
381
  <label>speedIn</label>
382
+ <frontend_type>text</frontend_type>
383
  <sort_order>190</sort_order>
384
  <show_in_default>1</show_in_default>
385
  <show_in_website>1</show_in_website>
386
+ <show_in_store>1</show_in_store>
387
+ <comment><![CDATA[Speed of the fade and elastic transitions, in milliseconds]]></comment>
388
  </speedIn>
389
  <speedOut translate="label">
390
  <label>speedOut</label>
391
+ <frontend_type>text</frontend_type>
392
  <sort_order>200</sort_order>
393
  <show_in_default>1</show_in_default>
394
  <show_in_website>1</show_in_website>
395
+ <show_in_store>1</show_in_store>
396
+ <comment><![CDATA[Speed of the fade and elastic transitions, in milliseconds]]></comment>
397
  </speedOut>
398
  <changeFade translate="label">
399
  <label>changeFade</label>
400
  <frontend_type>select</frontend_type>
401
+ <source_model>lightboxes/config_fancybox_speeds</source_model>
402
  <sort_order>210</sort_order>
403
  <show_in_default>1</show_in_default>
404
  <show_in_website>1</show_in_website>
405
+ <show_in_store>1</show_in_store>
406
+ <comment><![CDATA[Speed of the content fading while changing gallery items]]></comment>
407
  </changeFade>
408
  <easingIn translate="label">
409
  <label>easingIn</label>
410
  <frontend_type>select</frontend_type>
411
+ <source_model>lightboxes/config_fancybox_easings</source_model>
412
  <sort_order>220</sort_order>
413
  <show_in_default>1</show_in_default>
414
  <show_in_website>1</show_in_website>
415
+ <show_in_store>1</show_in_store>
416
+ <comment><![CDATA[Easing used for elastic animations]]></comment>
417
  </easingIn>
418
  <easingOut translate="label">
419
  <label>easingOut</label>
420
  <frontend_type>select</frontend_type>
421
+ <source_model>lightboxes/config_fancybox_easings</source_model>
422
  <sort_order>230</sort_order>
423
  <show_in_default>1</show_in_default>
424
  <show_in_website>1</show_in_website>
425
+ <show_in_store>1</show_in_store>
426
+ <comment><![CDATA[Easing used for elastic animations]]></comment>
427
  </easingOut>
428
  <showCloseButton translate="label">
429
  <label>showCloseButton</label>
430
  <frontend_type>select</frontend_type>
431
+ <source_model>adminhtml/system_config_source_yesno</source_model>
432
  <sort_order>240</sort_order>
433
  <show_in_default>1</show_in_default>
434
  <show_in_website>1</show_in_website>
435
+ <show_in_store>1</show_in_store>
436
+ <comment><![CDATA[Toggle close button]]></comment>
437
  </showCloseButton>
438
  <showNavArrows translate="label">
439
  <label>showNavArrows</label>
440
  <frontend_type>select</frontend_type>
441
+ <source_model>adminhtml/system_config_source_yesno</source_model>
442
  <sort_order>250</sort_order>
443
  <show_in_default>1</show_in_default>
444
  <show_in_website>1</show_in_website>
445
+ <show_in_store>1</show_in_store>
446
+ <comment><![CDATA[Toggle navigation arrows]]></comment>
447
  </showNavArrows>
448
  <enableEscapeButton translate="label">
449
  <label>enableEscapeButton</label>
450
  <frontend_type>select</frontend_type>
451
+ <source_model>adminhtml/system_config_source_yesno</source_model>
452
  <sort_order>250</sort_order>
453
  <show_in_default>1</show_in_default>
454
  <show_in_website>1</show_in_website>
455
+ <show_in_store>1</show_in_store>
456
+ <comment><![CDATA[Toggle if pressing Esc button closes FancyBox]]></comment>
457
+ </enableEscapeButton>
458
  </fields>
459
  </fancybox>
460
  <pirobox>
474
  </info>
475
  <theme translate="label">
476
  <label>theme</label>
477
+ <frontend_type>select</frontend_type>
478
+ <source_model>lightboxes/config_pirobox_themes</source_model>
479
  <sort_order>309</sort_order>
480
  <show_in_default>1</show_in_default>
481
  <show_in_website>1</show_in_website>
482
+ <show_in_store>1</show_in_store>
483
+ <comment><![CDATA[Available themes for PiroBox]]></comment>
484
  </theme>
485
  <my_speed translate="label">
486
  <label>my_speed</label>
487
+ <frontend_type>text</frontend_type>
488
  <sort_order>310</sort_order>
489
  <show_in_default>1</show_in_default>
490
  <show_in_website>1</show_in_website>
491
+ <show_in_store>1</show_in_store>
492
+ <comment><![CDATA[animation speed]]></comment>
493
  </my_speed>
494
  <bg_alpha translate="label">
495
  <label>bg_alpha</label>
496
  <frontend_type>select</frontend_type>
497
+ <source_model>lightboxes/config_pirobox_bgalphas</source_model>
498
  <sort_order>320</sort_order>
499
  <show_in_default>1</show_in_default>
500
  <show_in_website>1</show_in_website>
501
+ <show_in_store>1</show_in_store>
502
+ <comment><![CDATA[background opacity]]></comment>
503
  </bg_alpha>
504
  <slideShow translate="label">
505
  <label>slideShow</label>
506
+ <frontend_type>text</frontend_type>
507
  <sort_order>330</sort_order>
508
  <show_in_default>1</show_in_default>
509
  <show_in_website>1</show_in_website>
510
+ <show_in_store>1</show_in_store>
511
+ <comment><![CDATA[true == slideshow on, false == slideshow off]]></comment>
512
  </slideShow>
513
  <slideSpeed translate="label">
514
  <label>slideSpeed</label>
515
+ <frontend_type>text</frontend_type>
516
  <sort_order>340</sort_order>
517
  <show_in_default>1</show_in_default>
518
  <show_in_website>1</show_in_website>
519
+ <show_in_store>1</show_in_store>
520
+ <comment><![CDATA[slideshow duration in seconds(3 to 6 Recommended)]]></comment>
521
  </slideSpeed>
522
  </fields>
523
  </pirobox>
538
  </info>
539
  <overlayBgColor translate="label">
540
  <label>overlayBgColor</label>
541
+ <frontend_type>text</frontend_type>
542
  <sort_order>410</sort_order>
543
  <show_in_default>1</show_in_default>
544
  <show_in_website>1</show_in_website>
545
+ <show_in_store>1</show_in_store>
546
+ <comment><![CDATA[Used to define the overlay background color. #000 (black) is default.]]></comment>
547
  </overlayBgColor>
548
  <overlayOpacity translate="label">
549
  <label>overlayOpacity</label>
550
  <frontend_type>select</frontend_type>
551
+ <source_model>lightboxes/config_lightboxclone_opacities</source_model>
552
  <sort_order>420</sort_order>
553
  <show_in_default>1</show_in_default>
554
  <show_in_website>1</show_in_website>
555
+ <show_in_store>1</show_in_store>
556
+ <comment><![CDATA[Used to define the overlay opacity. 0.8 is default.]]></comment>
557
  </overlayOpacity>
558
  <containerBorderSize translate="label">
559
  <label>containerBorderSize</label>
560
+ <frontend_type>text</frontend_type>
561
  <sort_order>430</sort_order>
562
  <show_in_default>1</show_in_default>
563
  <show_in_website>1</show_in_website>
564
+ <show_in_store>1</show_in_store>
565
+ <comment><![CDATA[The padding CSS information used in the container image box. 10 is default.]]></comment>
566
+ </containerBorderSize>
567
  <containerResizeSpeed translate="label">
568
  <label>containerResizeSpeed</label>
569
+ <frontend_type>text</frontend_type>
570
  <sort_order>440</sort_order>
571
  <show_in_default>1</show_in_default>
572
  <show_in_website>1</show_in_website>
573
+ <show_in_store>1</show_in_store>
574
+ <comment><![CDATA[The duration of resize effect in the container image box. 400 is default.]]></comment>
575
+ </containerResizeSpeed>
576
  <txtImage translate="label">
577
  <label>txtImage</label>
578
+ <frontend_type>text</frontend_type>
579
  <sort_order>450</sort_order>
580
  <show_in_default>1</show_in_default>
581
  <show_in_website>1</show_in_website>
582
+ <show_in_store>1</show_in_store>
583
+ <comment><![CDATA[Text "Image" used in the image caption.]]></comment>
584
  </txtImage>
585
  <txtOf translate="label">
586
  <label>txtOf</label>
587
+ <frontend_type>text</frontend_type>
588
  <sort_order>460</sort_order>
589
  <show_in_default>1</show_in_default>
590
  <show_in_website>1</show_in_website>
591
+ <show_in_store>1</show_in_store>
592
+ <comment><![CDATA[Text "of" used in the image caption.]]></comment>
593
+ </txtOf>
594
+ </fields>
595
+ </lightboxclone>
596
  </groups>
597
  </lightboxes>
598
  </sections>
app/design/frontend/default/default/layout/lightboxes.xml CHANGED
@@ -1,18 +1,37 @@
1
  <?xml version="1.0" encoding="UTF-8"?>
2
- <layout version="0.1.0">
 
 
 
 
 
 
 
 
 
3
  <default>
4
  <reference name="head">
5
- <block type="page/html_head" name="lightboxes_head" as="lightboxes_head" template="lightboxes/head.phtml" />
 
 
 
 
6
  </reference>
7
  </default>
8
- <catalog_product_view>
9
  <reference name="product.info.media">
10
  <action method="setTemplate" ifconfig="lightboxes/option/active"><template>lightboxes/media.phtml</template></action>
 
 
 
11
  </reference>
12
- </catalog_product_view>
13
- <review_product_list>
14
  <reference name="product.info.media">
15
  <action method="setTemplate" ifconfig="lightboxes/option/active"><template>lightboxes/media.phtml</template></action>
 
 
 
16
  </reference>
17
- </review_product_list>
18
  </layout>
1
  <?xml version="1.0" encoding="UTF-8"?>
2
+ <!--
3
+ /**
4
+ * @category MagentoPycho
5
+ * @package MagentoPycho_Lightboxes
6
+ * @author magepsycho@gmail.com
7
+ * @website http://www.magepsycho.com
8
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
9
+ */
10
+ -->
11
+ <layout version="0.1.0">
12
  <default>
13
  <reference name="head">
14
+ <block type="page/html_head" name="lightboxes_head" as="lightboxes_head" template="lightboxes/head.phtml">
15
+ <block type="lightboxes/lightboxes" name="jquery_inclusion" as="jquery_inclusion" template="lightboxes/jquery_inclusion.phtml" />
16
+ <block type="lightboxes/lightboxes" name="lightboxes_inclusion" as="lightboxes_inclusion" template="lightboxes/lightboxes_inclusion.phtml" />
17
+ <block type="lightboxes/lightboxes" name="lightboxes_initialization" as="lightboxes_initialization" template="lightboxes/lightboxes_initialization.phtml" />
18
+ </block>
19
  </reference>
20
  </default>
21
+ <catalog_product_view>
22
  <reference name="product.info.media">
23
  <action method="setTemplate" ifconfig="lightboxes/option/active"><template>lightboxes/media.phtml</template></action>
24
+ <block type="lightboxes/lightboxes" name="jquery_inclusion" as="jquery_inclusion" template="lightboxes/jquery_inclusion.phtml" />
25
+ <block type="lightboxes/lightboxes" name="lightboxes_inclusion" as="lightboxes_inclusion" template="lightboxes/lightboxes_inclusion.phtml" />
26
+ <block type="lightboxes/lightboxes" name="lightboxes_initialization" as="lightboxes_initialization" template="lightboxes/lightboxes_initialization.phtml" />
27
  </reference>
28
+ </catalog_product_view>
29
+ <review_product_list>
30
  <reference name="product.info.media">
31
  <action method="setTemplate" ifconfig="lightboxes/option/active"><template>lightboxes/media.phtml</template></action>
32
+ <block type="lightboxes/lightboxes" name="jquery_inclusion" as="jquery_inclusion" template="lightboxes/jquery_inclusion.phtml" />
33
+ <block type="lightboxes/lightboxes" name="lightboxes_inclusion" as="lightboxes_inclusion" template="lightboxes/lightboxes_inclusion.phtml" />
34
+ <block type="lightboxes/lightboxes" name="lightboxes_initialization" as="lightboxes_initialization" template="lightboxes/lightboxes_initialization.phtml" />
35
  </reference>
36
+ </review_product_list>
37
  </layout>
app/design/frontend/default/default/template/lightboxes/head.phtml CHANGED
@@ -1,63 +1,43 @@
1
  <?php
2
- /**
3
  * GuruWebSoft (www.guruwebsoft.com)
4
- *
5
  * @author MagentoPycho <rajen_k_bhtt@hotmail.com>
6
  * @category Catalog/Product/View
7
  * @package MagentoPycho_Lightboxes
8
  */
9
  ?>
10
  <?php
11
- if(Mage::helper('lightboxes')->getConfig('active')):
 
 
12
  $moduleName = $this->getRequest()->getModuleName();
13
  $controllerName = $this->getRequest()->getControllerName();
14
  $actionName = $this->getRequest()->getActionName();
15
  #echo $moduleName . '|' . $controllerName . '|' . $actionName;
16
- if(Mage::helper('lightboxes')->getConfig('include_globally') || (in_array($moduleName, array('catalog', 'review')) && $controllerName == 'product' && in_array($actionName, array('view', 'list')))):
17
- ?>
18
- <?php
19
- //include jQuery file if enabled
20
- if(Mage::helper('lightboxes')->getConfig('include_jquery')):
21
- ?>
22
- <script type="text/javascript" src="<?php echo Mage::helper('lightboxes')->getLightboxUrl(); ?>/jquery.min.js"></script>
23
- <script type="text/javascript" src="<?php echo Mage::helper('lightboxes')->getLightboxUrl(); ?>/no-conflict.js"></script>
24
- <?php endif; ?>
25
- <?php
26
- if(Mage::helper('lightboxes')->getConfig('lightbox_type') == 'fancybox'):
27
- $rel = 'fancybox';
28
- ?>
29
- <!-- FancyBox -->
30
- <script type="text/javascript" src="<?php echo Mage::helper('lightboxes')->getLightboxUrl(); ?>/fancybox/jquery.easing-1.3.pack.js"></script>
31
- <script type="text/javascript" src="<?php echo Mage::helper('lightboxes')->getLightboxUrl(); ?>/fancybox/jquery.mousewheel-3.0.4.pack.js"></script>
32
- <script type="text/javascript" src="<?php echo Mage::helper('lightboxes')->getLightboxUrl(); ?>/fancybox/jquery.fancybox-1.3.2.pack.js"></script>
33
- <link rel="stylesheet" type="text/css" href="<?php echo Mage::helper('lightboxes')->getLightboxUrl(); ?>/fancybox/jquery.fancybox-1.3.2.css" media="screen" />
34
- <!-- FancyBox -->
35
- <?php
36
- endif; //fancybox
37
- ?>
38
- <?php
39
- if(Mage::helper('lightboxes')->getConfig('lightbox_type') == 'lightboxclone'):
40
- $rel = 'lightboxclone';
41
- ?>
42
- <!-- Lightbox Clone -->
43
- <script type="text/javascript" src="<?php echo Mage::helper('lightboxes')->getLightboxUrl(); ?>/jquery-lightbox-0.5/js/jquery.lightbox-0.5.min.js"></script>
44
- <link rel="stylesheet" type="text/css" href="<?php echo Mage::helper('lightboxes')->getLightboxUrl(); ?>/jquery-lightbox-0.5/css/jquery.lightbox-0.5.css" media="screen" />
45
- <!-- Lightbox Clone -->
46
- <?php
47
- endif; //lightboxclone
48
- ?>
49
- <?php
50
- if(Mage::helper('lightboxes')->getConfig('lightbox_type') == 'pirobox'):
51
- $rel = '';
52
- $class = 'pirobox';
53
- $demo = Mage::helper('lightboxes')->getConfig('theme', 'pirobox');
54
- ?>
55
- <!-- Pirobox -->
56
- <link href="<?php echo Mage::helper('lightboxes')->getLightboxUrl(); ?>/pirobox/css_pirobox/<?php echo $demo; ?>/style.css" class="piro_style" media="screen" title="white" rel="stylesheet" type="text/css" />
57
- <script type="text/javascript" src="<?php echo Mage::helper('lightboxes')->getLightboxUrl(); ?>/pirobox/js/pirobox.min.js"></script>
58
- <!-- Pirobox -->
59
- <?php
60
- endif; //pirobox
61
- ?>
62
  <?php endif; ?>
63
- <?php endif; //end active ?>
 
 
1
  <?php
2
+ /**
3
  * GuruWebSoft (www.guruwebsoft.com)
4
+ *
5
  * @author MagentoPycho <rajen_k_bhtt@hotmail.com>
6
  * @category Catalog/Product/View
7
  * @package MagentoPycho_Lightboxes
8
  */
9
  ?>
10
  <?php
11
+ $helper = Mage::helper('lightboxes');
12
+ if($helper->getConfig('active')):
13
+ echo "<!-- jQuery LightBoxes -->". PHP_EOL;
14
  $moduleName = $this->getRequest()->getModuleName();
15
  $controllerName = $this->getRequest()->getControllerName();
16
  $actionName = $this->getRequest()->getActionName();
17
  #echo $moduleName . '|' . $controllerName . '|' . $actionName;
18
+ if($helper->getConfig('include_globally', 'lightboxes_confliction') || (in_array($moduleName, array('catalog', 'review')) && $controllerName == 'product' && in_array($actionName, array('view', 'list')))):
19
+ ?>
20
+ <?php if($helper->getConfig('include_jquery', 'lightboxes_confliction') && $helper->getConfig('include_jquery_in', 'lightboxes_confliction') == 'head'): ?>
21
+ <?php echo $this->getChildHtml('jquery_inclusion'); ?>
22
+ <?php endif; ?>
23
+
24
+ <?php if($helper->getConfig('include_lighboxes_in', 'lightboxes_confliction') == 'head'): ?>
25
+ <?php echo $this->getChildHtml('lightboxes_inclusion'); ?>
26
+ <?php endif; ?>
27
+
28
+ <?php if($helper->getConfig('include_initialization_in', 'lightboxes_confliction') == 'head'): ?>
29
+ <?php echo $this->getChildHtml('lightboxes_initialization'); ?>
30
+ <?php endif; ?>
31
+
32
+ <?php if($helper->getConfig('include_globally', 'lightboxes_confliction') && $helper->getConfig('global_initialization_code', 'lightboxes_confliction', 0)): ?>
33
+ <script type="text/javascript">
34
+ jQuery(document).ready(function(){
35
+ <?php echo $helper->getConfig('global_initialization_code', 'lightboxes_confliction'); ?>
36
+ });
37
+ </script>
38
+ <?php endif; ?>
39
+
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
40
  <?php endif; ?>
41
+ <?php
42
+ echo "<!-- //jQuery LightBoxes -->" . PHP_EOL;
43
+ endif; //end active ?>
app/design/frontend/default/default/template/lightboxes/jquery_inclusion.phtml ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ $helper = Mage::helper('lightboxes');
3
+ ?>
4
+ <?php if($helper->getConfig('include_jquery_from', 'lightboxes_confliction') == 'local') :?>
5
+ <script type="text/javascript" src="<?php echo $helper->getLightboxUrl(); ?>/jQuery/1.4.3/jquery.min.js"></script>
6
+ <?php else: ?>
7
+ <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.3/jquery.min.js"></script>
8
+ <?php endif; ?>
9
+ <script type="text/javascript" src="<?php echo $helper->getLightboxUrl(); ?>/no-conflict.js"></script>
app/design/frontend/default/default/template/lightboxes/lightboxes_inclusion.phtml ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ $helper = Mage::helper('lightboxes');
3
+ if($helper->getConfig('lightbox_type') == 'fancybox'):
4
+ ?>
5
+ <!-- FancyBox -->
6
+ <script type="text/javascript" src="<?php echo $helper->getLightboxUrl(); ?>/fancybox/jquery.easing-1.3.pack.js"></script>
7
+ <script type="text/javascript" src="<?php echo $helper->getLightboxUrl(); ?>/fancybox/jquery.mousewheel-3.0.4.pack.js"></script>
8
+ <script type="text/javascript" src="<?php echo $helper->getLightboxUrl(); ?>/fancybox/jquery.fancybox-1.3.2.pack.js"></script>
9
+ <link rel="stylesheet" type="text/css" href="<?php echo $helper->getLightboxUrl(); ?>/fancybox/jquery.fancybox-1.3.2.css" media="screen" />
10
+ <!-- FancyBox -->
11
+ <?php
12
+ endif; //fancybox
13
+ ?>
14
+ <?php
15
+ if($helper->getConfig('lightbox_type') == 'lightboxclone'):
16
+ ?>
17
+ <!-- Lightbox Clone -->
18
+ <script type="text/javascript" src="<?php echo $helper->getLightboxUrl(); ?>/jquery-lightbox-0.5/js/jquery.lightbox-0.5.min.js"></script>
19
+ <link rel="stylesheet" type="text/css" href="<?php echo $helper->getLightboxUrl(); ?>/jquery-lightbox-0.5/css/jquery.lightbox-0.5.css" media="screen" />
20
+ <!-- Lightbox Clone -->
21
+ <?php
22
+ endif; //lightboxclone
23
+ ?>
24
+ <?php
25
+ if($helper->getConfig('lightbox_type') == 'pirobox'):
26
+ $demo = $helper->getConfig('theme', 'pirobox');
27
+ ?>
28
+ <!-- Pirobox -->
29
+ <link href="<?php echo $helper->getLightboxUrl(); ?>/pirobox/css_pirobox/<?php echo $demo; ?>/style.css" class="piro_style" media="screen" title="white" rel="stylesheet" type="text/css" />
30
+ <script type="text/javascript" src="<?php echo $helper->getLightboxUrl(); ?>/pirobox/js/pirobox.min.js"></script>
31
+ <!-- Pirobox -->
32
+ <?php
33
+ endif; //pirobox
34
+ ?>
app/design/frontend/default/default/template/lightboxes/lightboxes_initialization.phtml ADDED
@@ -0,0 +1,58 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ $helper = Mage::helper('lightboxes');
3
+ $rel = $helper->getLightboxRel($helper->getConfig('lightbox_type'));
4
+ $class = $helper->getLightboxRel($helper->getConfig('lightbox_type'));
5
+ if($helper->getConfig('lightbox_type') == 'fancybox'):
6
+ ?>
7
+ <!-- FancyBox -->
8
+ <script type="text/javascript">
9
+ jQuery(document).ready(function(){
10
+ jQuery("a[rel=<?php echo $rel; ?>],a[rel=<?php echo $rel; ?>-main]").fancybox({
11
+ <?php echo $helper->getFancyboxJsConfig(); ?>
12
+ });
13
+
14
+ });
15
+ </script>
16
+ <!-- FancyBox -->
17
+ <?php
18
+ endif;
19
+ ?>
20
+
21
+ <?php
22
+ if($helper->getConfig('lightbox_type') == 'lightboxclone'):
23
+ ?>
24
+ <!-- Lightbox Clone -->
25
+ <script type="text/javascript">
26
+ jQuery(document).ready(function(){
27
+ jQuery('a[rel=<?php echo $rel; ?>]').lightBox({
28
+ <?php echo $helper->getLightboxcloneJsConfig(); ?>
29
+ });
30
+
31
+ jQuery('a[rel=<?php echo $rel; ?>-main]').lightBox({
32
+ <?php echo $helper->getLightboxcloneJsConfig(); ?>
33
+ });
34
+
35
+ });
36
+ </script>
37
+ <!-- Lightbox Clone -->
38
+ <?php
39
+ endif;
40
+ ?>
41
+
42
+ <?php
43
+ if($helper->getConfig('lightbox_type') == 'pirobox'):
44
+ $demo = $helper->getConfig('theme', 'pirobox');
45
+ ?>
46
+ <!-- Pirobox -->
47
+ <script type="text/javascript">
48
+ jQuery(document).ready(function(){
49
+ jQuery().piroBox({
50
+ <?php echo $helper->getPiroboxJsConfig(); ?>
51
+ });
52
+
53
+ });
54
+ </script>
55
+ <!-- Pirobox -->
56
+ <?php
57
+ endif;
58
+ ?>
app/design/frontend/default/default/template/lightboxes/media.phtml CHANGED
@@ -1,65 +1,24 @@
1
  <?php
2
- $rel = '';
3
- $class = '';
4
- $mainImageSize = $this->getMainImageSize();
5
- $popUpImageSize = $this->getPopupImageSize();
6
- $thumbnailSize = $this->getThumbnailImageSize();
7
- if($this->getConfig('lightbox_type') == 'fancybox'):
8
- $rel = 'fancybox';
9
- ?>
10
- <!-- FancyBox -->
11
- <script type="text/javascript">
12
- jQuery(document).ready(function(){
13
- jQuery("a[rel=<?php echo $rel; ?>]").fancybox({
14
- <?php echo $this->getFancyboxJsConfig(); ?>
15
- });
16
-
17
- });
18
- </script>
19
- <!-- FancyBox -->
20
- <?php
21
- endif;
22
- ?>
23
-
24
- <?php
25
- if($this->getConfig('lightbox_type') == 'lightboxclone'):
26
- $rel = 'lightboxclone';
27
- ?>
28
- <!-- Lightbox Clone -->
29
- <script type="text/javascript">
30
- jQuery(document).ready(function(){
31
- jQuery('a[rel=<?php echo $rel; ?>]').lightBox({
32
- <?php echo $this->getLightboxcloneJsConfig(); ?>
33
- });
34
-
35
- });
36
- </script>
37
- <!-- Lightbox Clone -->
38
- <?php
39
- endif;
40
- ?>
41
-
42
- <?php
43
- if($this->getConfig('lightbox_type') == 'pirobox'):
44
- $rel = '';
45
- $class = 'pirobox';
46
- $demo = $this->getConfig('theme', 'pirobox');
47
- ?>
48
- <!-- Pirobox -->
49
- <script type="text/javascript">
50
- jQuery(document).ready(function(){
51
- jQuery().piroBox({
52
- <?php echo $this->getPiroboxJsConfig(); ?>
53
- });
54
-
55
- });
56
- </script>
57
- <!-- Pirobox -->
58
- <?php
59
- endif;
60
  ?>
 
 
 
 
61
 
 
 
 
62
 
 
 
 
 
63
  <?php
64
  $_product = $this->getProduct();
65
  $_helper = $this->helper('catalog/output');
@@ -68,7 +27,7 @@ endif;
68
 
69
  <?php
70
  //check if zoomer is disabled
71
- if($this->getConfig('disable_zoombar')):
72
  ?>
73
  <p class="product-image">
74
  <?php
@@ -78,9 +37,9 @@ if($this->getConfig('disable_zoombar')):
78
  else:
79
  $popUpImage = $this->helper('catalog/image')->init($_product, 'image')->resize($popUpImageSize[0], $popUpImageSize[1]);
80
  endif;
81
-
82
  ?>
83
- <a href="<?php echo $popUpImage; ?>" rel="<?php echo $rel; ?>" class="<?php echo $class; ?>" title="<?php echo $this->htmlEscape($this->getImageLabel()) ?>"><?php echo $_helper->productAttribute($_product, $_img, 'image'); ?></a>
84
  </p>
85
  <?php else: ?>
86
  <p class="product-image product-image-zoom">
@@ -119,7 +78,7 @@ if($this->getConfig('disable_zoombar')):
119
  <div class="more-views">
120
  <h2><?php echo $this->__('More Views') ?></h2>
121
  <ul>
122
- <?php foreach ($this->getGalleryImages() as $_image):
123
  if(empty($popUpImageSize[0]) || empty($popUpImageSize[0])):
124
  $popUpImage = $this->helper('catalog/image')->init($this->getProduct(), 'image', $_image->getFile());
125
  else:
1
  <?php
2
+ $helper = Mage::helper('lightboxes');
3
+ $rel = $helper->getLightboxRel($helper->getConfig('lightbox_type'));
4
+ $class = $helper->getLightboxRel($helper->getConfig('lightbox_type'));
5
+ $mainImageSize = $helper->getMainImageSize();
6
+ $popUpImageSize = $helper->getPopupImageSize();
7
+ $thumbnailSize = $helper->getThumbnailImageSize();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
8
  ?>
9
+ <!-- jQuery LightBoxes -->
10
+ <?php if($helper->getConfig('include_jquery', 'lightboxes_confliction') && $helper->getConfig('include_jquery_in', 'lightboxes_confliction') == 'media'): ?>
11
+ <?php echo $this->getChildHtml('jquery_inclusion'); ?>
12
+ <?php endif; ?>
13
 
14
+ <?php if($helper->getConfig('include_lighboxes_in', 'lightboxes_confliction') == 'media'): ?>
15
+ <?php echo $this->getChildHtml('lightboxes_inclusion'); ?>
16
+ <?php endif; ?>
17
 
18
+ <?php if($helper->getConfig('include_initialization_in', 'lightboxes_confliction') == 'media'): ?>
19
+ <?php echo $this->getChildHtml('lightboxes_initialization'); ?>
20
+ <?php endif; ?>
21
+ <!-- //jQuery LightBoxes -->
22
  <?php
23
  $_product = $this->getProduct();
24
  $_helper = $this->helper('catalog/output');
27
 
28
  <?php
29
  //check if zoomer is disabled
30
+ if($helper->getConfig('disable_zoombar')):
31
  ?>
32
  <p class="product-image">
33
  <?php
37
  else:
38
  $popUpImage = $this->helper('catalog/image')->init($_product, 'image')->resize($popUpImageSize[0], $popUpImageSize[1]);
39
  endif;
40
+
41
  ?>
42
+ <a href="<?php echo $popUpImage; ?>" rel="<?php echo $rel; ?>-main" class="<?php echo $class; ?>-main" title="<?php echo $this->htmlEscape($this->getImageLabel()) ?>"><?php echo $_helper->productAttribute($_product, $_img, 'image'); ?></a>
43
  </p>
44
  <?php else: ?>
45
  <p class="product-image product-image-zoom">
78
  <div class="more-views">
79
  <h2><?php echo $this->__('More Views') ?></h2>
80
  <ul>
81
+ <?php foreach ($this->getGalleryImages() as $_image):
82
  if(empty($popUpImageSize[0]) || empty($popUpImageSize[0])):
83
  $popUpImage = $this->helper('catalog/image')->init($this->getProduct(), 'image', $_image->getFile());
84
  else:
app/etc/modules/MagentoPycho_Lightboxes.xml CHANGED
@@ -1,9 +1,9 @@
1
  <?xml version="1.0"?>
2
- <!--
3
  /**
4
- * @category MagePsycho
5
- * @package MagePsycho_Lightboxes
6
- * @author info@magepsycho.com
7
  * @website http://www.magepsycho.com
8
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
9
  */
@@ -15,4 +15,4 @@
15
  <codePool>local</codePool>
16
  </MagentoPycho_Lightboxes>
17
  </modules>
18
- </config>
1
  <?xml version="1.0"?>
2
+ <!--
3
  /**
4
+ * @category MagentoPycho
5
+ * @package MagentoPycho_Lightboxes
6
+ * @author magepsycho@gmail.com
7
  * @website http://www.magepsycho.com
8
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
9
  */
15
  <codePool>local</codePool>
16
  </MagentoPycho_Lightboxes>
17
  </modules>
18
+ </config>
js/lightboxes/{jquery.min.js → jQuery/1.4.3/jquery.min.js} RENAMED
File without changes
package.xml CHANGED
@@ -1,23 +1,22 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Mpycho_Jquery_Lightboxes</name>
4
- <version>1.0.3</version>
5
  <stability>stable</stability>
6
  <license uri="http://www.opensource.org/licenses/osl-3.0.php">OSL v3.0</license>
7
  <channel>community</channel>
8
  <extends/>
9
- <summary>jQuery Lightboxes is the collection of jQuery Lightbox (FancyBox, PiroBox etc.) for Magento Media Gallery</summary>
10
- <description>jQuery Lightboxes is the collection of jQuery Lightbox (FancyBox, PiroBox etc.) for Magento Media Gallery</description>
11
- <notes>- Fixing of title issue in Fancybox&#xD;
12
- - Fixing of offset issue in image size&#xD;
13
- - Fixing of IE issue due to extra ',' in initialization code&#xD;
14
- - Fixing of missing images/buttons in Lightbox clone&#xD;
15
- - Fixed the 404 error in 1.5.x&#xD;
16
- - Magento-Connect compatible with 1.5.x</notes>
17
  <authors><author><name>MagePsycho</name><user>auto-converted</user><email>rajen_k_bhtt@hotmail.com</email></author></authors>
18
- <date>2011-06-30</date>
19
- <time>12:06:57</time>
20
- <contents><target name="mageetc"><dir name="modules"><file name="MagentoPycho_Lightboxes.xml" hash="1ea1a489ee796cc7e899934fb0f35b27"/></dir></target><target name="magelocal"><dir name="MagentoPycho"><dir name="Lightboxes"><dir name="Block"><dir name="Config"><dir name="Fancybox"><file name="Info.php" hash="af22b11a1b7f57ec61e943f3088df827"/></dir><dir name="Lightboxclone"><file name="Info.php" hash="e4d024cb32e90f7eac21d9f37f921d54"/></dir><dir name="Pirobox"><file name="Info.php" hash="c10051a6b55f83a36d907033c2a0a335"/></dir></dir><dir name="System"><dir name="Config"><file name="Info.php" hash="c8fdd1ef7b95ac588c89e1705853e40f"/></dir></dir><file name="Lightboxes.php" hash="68cab0cd56d8e2e789bfc22ea1933d60"/><file name="Media.php" hash="6f7f5aeef2800ff469208259bf2cfe4a"/></dir><dir name="Helper"><file name="Data.php" hash="c47d75e6789c42b7dddae37424cdcb4c"/></dir><dir name="Model"><dir name="Config"><dir name="Fancybox"><file name="Easings.php" hash="33e4b5570250063ad4ff5c344cccb995"/><file name="Opacities.php" hash="f62c0bdbf452cd11f41b91653814a24a"/><file name="Scrollings.php" hash="5ec0e8c86faf64ab2694a039e289f4aa"/><file name="Speeds.php" hash="5565683f25290e8c52642a0a5a2ad9e7"/><file name="Titlepositions.php" hash="241cc96f69e00c88f49003996bd47c8d"/><file name="Transitions.php" hash="f784353fe4bd85c9d3ffd15e6b902f0a"/></dir><dir name="Lightboxclone"><file name="Opacities.php" hash="c3797d2a68b7338e50d1499e6b498fd8"/></dir><dir name="Pirobox"><file name="Bgalphas.php" hash="7204b69e57dfe38145e66c1f6d675a8b"/><file name="Themes.php" hash="0f73cfb2646e30c3c3893e729461cf34"/></dir><file name="Lightboxtypes.php" hash="b3f3222ac6a0fadf0c909c361ada7824"/></dir><file name="Lightboxes.php" hash="c92ca82b6ec33c33b5802751260c28da"/></dir><dir name="controllers"><file name="IndexController.php" hash="9db82c6d3f848a8dc4e87016878deb35"/></dir><dir name="etc"><file name="adminhtml.xml" hash="83fb352a705cd9a89584966131772f68"/><file name="config.xml" hash="905f2301ecfd48d8d3059898d86b65ce"/><file name="system.xml" hash="78709b761dd1e1fffcfb902ad38743fb"/></dir></dir></dir></target><target name="mage"><dir name="js"><dir name="lightboxes"><dir name="fancybox"><file name="Thumbs.db" hash="5dd66d89b9e7a196d476c3ac8f9081cf"/><file name="blank.gif" hash="325472601571f31e1bf00674c368d335"/><file name="fancy_close.png" hash="6e2879a324a76e9972ebc98201aae1d8"/><file name="fancy_loading.png" hash="b1d54c240cf06e7f41e372d56919b738"/><file name="fancy_nav_left.png" hash="3f3e406102152cd8236383568a40ba35"/><file name="fancy_nav_right.png" hash="216e4bde5bddeeaa60dc3d692890a68e"/><file name="fancy_shadow_e.png" hash="fd4f491080d29fade5080877f1ba4c8b"/><file name="fancy_shadow_n.png" hash="18cde16379b2ceadef714d9b346d09ec"/><file name="fancy_shadow_ne.png" hash="63adf788acf193d4e4f3642d7d793125"/><file name="fancy_shadow_nw.png" hash="c820c878aedb7a7f9ebd7135a58e7c65"/><file name="fancy_shadow_s.png" hash="9b9e5c888028aaef40fe5b6a363f1e29"/><file name="fancy_shadow_se.png" hash="a8afd5a008884380ee712d177105268f"/><file name="fancy_shadow_sw.png" hash="f81cc0fee5581d76ad3cebe47e7e791b"/><file name="fancy_shadow_w.png" hash="59b0e63eb059e58d932cfd53da4d87e6"/><file name="fancy_title_left.png" hash="1582ac2d3bef6a6445bf02ceca2741cd"/><file name="fancy_title_main.png" hash="38dad6c1ed4bdc81c0bec721b2deb8c2"/><file name="fancy_title_over.png" hash="b886fd165d4b7ac77d41fb52d87ffc60"/><file name="fancy_title_right.png" hash="6cbe0c935511e7f9a2555ccb6a7324c4"/><file name="fancybox-x.png" hash="168696d8a694214090ef90e029cdf393"/><file name="fancybox-y.png" hash="36a58859beb9a6b19322a37466b9f78e"/><file name="fancybox.png" hash="11e57e492ee0311540967cc7a1e6e3e2"/><file name="jquery.easing-1.3.pack.js" hash="def257dbb0ab805c4996fd8abb1a6b49"/><file name="jquery.fancybox-1.3.2.css" hash="62b6a82e326429e9576c34b81c57c1c9"/><file name="jquery.fancybox-1.3.2.js" hash="9781051f683af9738fb200df1eb376f6"/><file name="jquery.fancybox-1.3.2.pack.js" hash="e495aaf910d87698081e0e2db53fca87"/><file name="jquery.mousewheel-3.0.4.pack.js" hash="3b0a821567b463e70bcc1e90ed2bc9b6"/></dir><dir name="jquery-lightbox-0.5"><dir name="css"><file name="jquery.lightbox-0.5.css" hash="79ec543bbe42f8852aac14381b9ffff8"/></dir><dir name="images"><file name="lightbox-blank.gif" hash="fc94fb0c3ed8a8f909dbc7630a0987ff"/><file name="lightbox-btn-close.gif" hash="2c38ae5be85141bf8867c9523f4bc357"/><file name="lightbox-btn-next.gif" hash="23414965ebe526012e473c1d4d65d4e7"/><file name="lightbox-btn-prev.gif" hash="5a9118de4ef6226473190d6e82f6d80d"/><file name="lightbox-ico-loading.gif" hash="b5fe8df97005341f898e2cf84e68de01"/></dir><dir name="js"><file name="jquery.js" hash="bb122b33d64d02a106bf2230b2d41af0"/><file name="jquery.lightbox-0.5.js" hash="2f6bedebc6fde0a3f34626cc8815b344"/><file name="jquery.lightbox-0.5.min.js" hash="21c9812998af15acf69da2f91bb02363"/><file name="jquery.lightbox-0.5.pack.js" hash="f5360c03d8a989499f3e161672747dfe"/></dir></dir><dir name="pirobox"><dir name="css_pirobox"><dir name="demo1"><file name="ajax-loader.gif" hash="4b3afb84b2b71ef56df09997a350bd04"/><file name="b_c.png" hash="75fffb4a12279cd88466b1edb1418e4b"/><file name="b_l.png" hash="9518ae468feb7eed08c954b5d117127b"/><file name="b_r.png" hash="2672ab4e75f3d109a2d478a7545caa87"/><file name="c_l.png" hash="47e9b270c4fa90d0f230162483a78ff9"/><file name="c_r.png" hash="c859f115cde4306a39b4a8f6cee2f627"/><file name="close_btn.png" hash="92b5b87de803f837f0b87abbc903fb87"/><file name="close_btn_h.png" hash="183ddc1e93f12ad62a81db361905e5b0"/><file name="link_out.png" hash="5cce437fb7ccb4145fce1d495862e3f3"/><file name="link_out_h.png" hash="b98ee6456aced423b5ad266d8501a05e"/><file name="next.png" hash="6dca0c5b7774178a861e8908f2dad537"/><file name="next_h.png" hash="159b2561e2f8465562f416bd580e6573"/><file name="pause.png" hash="50f67f2adb72c7f225cc689980c836dd"/><file name="pause_h.png" hash="88e0f004cc98f725e0609d46113d0665"/><file name="play.png" hash="ddc4c1038e3199b5dba07d26611f9b91"/><file name="play_h.png" hash="b19fd09b6be349ab794fddb6df53bbdf"/><file name="prev.png" hash="4d08111967598b1b7742c579238b4316"/><file name="prev_h.png" hash="81858baaa2bba9d35ad1bb4d14031965"/><file name="style.css" hash="8b4150f440aff866d29bdec6bfe4258a"/><file name="t_c.png" hash="3bea2d7b1c8160fbab212860eb219692"/><file name="t_l.png" hash="7143f9b78fa8f6328661bd519f4769b3"/><file name="t_r.png" hash="417e9123fb088a6eb3cb207a7c443095"/></dir><dir name="demo2"><file name="ajax-loader.gif" hash="af774cf54767cacc9acc77db73484e34"/><file name="b_c.png" hash="a100f7ca0c8b76491f892b83cc7b9676"/><file name="b_l.png" hash="b0dffe5a74c2a6b94140f3b51504a1df"/><file name="b_r.png" hash="fadeb0442e51de7d5ec3bd787924bd91"/><file name="c_l.png" hash="41c77a81ecf1df77eddb9f83d7f6ea83"/><file name="c_r.png" hash="882771577ec629f4aaaf9fa30a332b74"/><file name="close_btn.png" hash="92b5b87de803f837f0b87abbc903fb87"/><file name="close_btn_h.png" hash="183ddc1e93f12ad62a81db361905e5b0"/><file name="link_out.png" hash="5cce437fb7ccb4145fce1d495862e3f3"/><file name="link_out_h.png" hash="b98ee6456aced423b5ad266d8501a05e"/><file name="next.png" hash="6dca0c5b7774178a861e8908f2dad537"/><file name="next_h.png" hash="159b2561e2f8465562f416bd580e6573"/><file name="pause.png" hash="50f67f2adb72c7f225cc689980c836dd"/><file name="pause_h.png" hash="88e0f004cc98f725e0609d46113d0665"/><file name="play.png" hash="ddc4c1038e3199b5dba07d26611f9b91"/><file name="play_h.png" hash="b19fd09b6be349ab794fddb6df53bbdf"/><file name="prev.png" hash="4d08111967598b1b7742c579238b4316"/><file name="prev_h.png" hash="81858baaa2bba9d35ad1bb4d14031965"/><file name="style.css" hash="1d55524a537a29b99e34a952a2b49053"/><file name="t_c.png" hash="e02ae5a542eb15e1b5a1e02133ee1ff2"/><file name="t_l.png" hash="ddf448039c434026d1d695072228bdd1"/><file name="t_r.png" hash="9c6fa0da64a9c33d36d440dbf452038b"/></dir><dir name="demo3"><file name="ajax-loader.gif" hash="4b3afb84b2b71ef56df09997a350bd04"/><file name="b_c.png" hash="7a4ff9b52f473cbcf5745c8c5e3f8f75"/><file name="b_l.png" hash="72460dd7277d197cc84d70d73fa51340"/><file name="b_r.png" hash="f67db5dc36cdc55580cae2b4c4e17e2a"/><file name="c_l.png" hash="d303eaa0cf6efa163c3e11089f7a1dfa"/><file name="c_r.png" hash="87d1bdc4346f93c62a89162971f35451"/><file name="close_btn.png" hash="92b5b87de803f837f0b87abbc903fb87"/><file name="close_btn_h.png" hash="183ddc1e93f12ad62a81db361905e5b0"/><file name="link_out.png" hash="5cce437fb7ccb4145fce1d495862e3f3"/><file name="link_out_h.png" hash="b98ee6456aced423b5ad266d8501a05e"/><file name="next.png" hash="6dca0c5b7774178a861e8908f2dad537"/><file name="next_h.png" hash="159b2561e2f8465562f416bd580e6573"/><file name="pause.png" hash="50f67f2adb72c7f225cc689980c836dd"/><file name="pause_h.png" hash="88e0f004cc98f725e0609d46113d0665"/><file name="play.png" hash="ddc4c1038e3199b5dba07d26611f9b91"/><file name="play_h.png" hash="b19fd09b6be349ab794fddb6df53bbdf"/><file name="prev.png" hash="4d08111967598b1b7742c579238b4316"/><file name="prev_h.png" hash="81858baaa2bba9d35ad1bb4d14031965"/><file name="style.css" hash="8b4150f440aff866d29bdec6bfe4258a"/><file name="t_c.png" hash="aa60fb983774de76695adaec30baf512"/><file name="t_l.png" hash="1c25f414977f0e15707734455f72f7f9"/><file name="t_r.png" hash="a8b83ef6aa89eb16066b57c56af36718"/></dir><dir name="demo4"><file name="ajax-loader.gif" hash="4b3afb84b2b71ef56df09997a350bd04"/><file name="b_c.png" hash="f263d200d69176a0daf9491bbf0880b0"/><file name="b_l.png" hash="073e0d4113b9d0d6ea87f89f2917f37b"/><file name="b_r.png" hash="01daf2ada396f0b9c3194fa2eadb0812"/><file name="c_l.png" hash="dfbb93a992ade9d582cc11bd3b1ca524"/><file name="c_r.png" hash="1ea958d53920f49c077b6257b7d6d32c"/><file name="close_btn.png" hash="92b5b87de803f837f0b87abbc903fb87"/><file name="close_btn_h.png" hash="183ddc1e93f12ad62a81db361905e5b0"/><file name="link_out.png" hash="5cce437fb7ccb4145fce1d495862e3f3"/><file name="link_out_h.png" hash="b98ee6456aced423b5ad266d8501a05e"/><file name="next.png" hash="6dca0c5b7774178a861e8908f2dad537"/><file name="next_h.png" hash="159b2561e2f8465562f416bd580e6573"/><file name="pause.png" hash="50f67f2adb72c7f225cc689980c836dd"/><file name="pause_h.png" hash="88e0f004cc98f725e0609d46113d0665"/><file name="play.png" hash="ddc4c1038e3199b5dba07d26611f9b91"/><file name="play_h.png" hash="b19fd09b6be349ab794fddb6df53bbdf"/><file name="prev.png" hash="4d08111967598b1b7742c579238b4316"/><file name="prev_h.png" hash="81858baaa2bba9d35ad1bb4d14031965"/><file name="style.css" hash="80bda63c8e2974ffcc0ac491109b08c4"/><file name="t_c.png" hash="844528ba3b95ebcc9338f2e1e526e2c4"/><file name="t_l.png" hash="306cae75bb51ae4832230abb909af9e1"/><file name="t_r.png" hash="84b88cc2fbe66c14db818486a4a0b214"/></dir><dir name="demo5"><file name="ajax-loader.gif" hash="af774cf54767cacc9acc77db73484e34"/><file name="b_c.png" hash="cd8cceedf279afbfb18047a93d41f01e"/><file name="b_l.png" hash="22fa6a4e821a4eec6bd69bf5aeee86bf"/><file name="b_r.png" hash="66a431c64512a5f97af8e4518c25652e"/><file name="c_l.png" hash="d87b25d657460807de2496133c265c1b"/><file name="c_r.png" hash="3d5eb49f2f508f103dd5d28980104bc0"/><file name="close_btn.png" hash="92b5b87de803f837f0b87abbc903fb87"/><file name="close_btn_h.png" hash="183ddc1e93f12ad62a81db361905e5b0"/><file name="link_out.png" hash="5cce437fb7ccb4145fce1d495862e3f3"/><file name="link_out_h.png" hash="b98ee6456aced423b5ad266d8501a05e"/><file name="next.png" hash="6dca0c5b7774178a861e8908f2dad537"/><file name="next_h.png" hash="159b2561e2f8465562f416bd580e6573"/><file name="pause.png" hash="50f67f2adb72c7f225cc689980c836dd"/><file name="pause_h.png" hash="88e0f004cc98f725e0609d46113d0665"/><file name="play.png" hash="ddc4c1038e3199b5dba07d26611f9b91"/><file name="play_h.png" hash="b19fd09b6be349ab794fddb6df53bbdf"/><file name="prev.png" hash="4d08111967598b1b7742c579238b4316"/><file name="prev_h.png" hash="81858baaa2bba9d35ad1bb4d14031965"/><file name="style.css" hash="0c9432e34442a9e3fc88710684c5b119"/><file name="t_c.png" hash="2f05b3634e8c9a9039505867303ddb17"/><file name="t_l.png" hash="d5bd1e97e4a0e6880fccc9445da0a502"/><file name="t_r.png" hash="50a453d9c0e05fadb13e01034e7d3394"/></dir><file name="css.css" hash="dd10f3849827f49e3cde3c1e12194e56"/></dir><dir name="js"><file name="jquery.min.js" hash="65b352e1ba79f0e2a3b1e014bc2571af"/><file name="pirobox.js" hash="3828d78e783ea55198766e07a17f9b4c"/><file name="pirobox.min.js" hash="4564fa27b424a05b7dc6ae0be5f68b60"/></dir></dir><file name="jquery.min.js" hash="e4958bd2e32d9fcd6115a585ed17a9cc"/><file name="no-conflict.js" hash="3179f2255b046d5f2e9a71e365287bef"/></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="default"><dir name="default"><dir name="layout"><file name="lightboxes.xml" hash="19458cfbaa06a68bc2d25d2ecc0918f8"/></dir><dir name="template"><dir name="lightboxes"><file name="head.phtml" hash="cf64c7cd39557ffdc085f7bb61b2149c"/><file name="media.phtml" hash="2df43dff2d18996ac4ef7b766aa7bc59"/></dir></dir></dir></dir></dir></target></contents>
21
  <compatible/>
22
  <dependencies/>
23
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Mpycho_Jquery_Lightboxes</name>
4
+ <version>1.1.0</version>
5
  <stability>stable</stability>
6
  <license uri="http://www.opensource.org/licenses/osl-3.0.php">OSL v3.0</license>
7
  <channel>community</channel>
8
  <extends/>
9
+ <summary>jQuery lightboxes is the collection/implementation of jQuery Lightbox for Magento Media Gallery</summary>
10
+ <description>jQuery lightboxes is the collection/implementation of jQuery Lightbox for Magento Media Gallery. Moreover consider it as an one stop search for jQuery Lightbox for magento.&#xD;
11
+ Currently it includes the FancyBox, PiroBox and Lightbox Clone one. Still more to come in newer versions.</description>
12
+ <notes>Version 1.0.3 - 1.1.0&#xD;
13
+ - Code refinement.&#xD;
14
+ - Fixing of popup image size so that it could take the full size when no size is mentioned.&#xD;
15
+ - Separated the jquery inclusion, lightbox inclusion</notes>
 
16
  <authors><author><name>MagePsycho</name><user>auto-converted</user><email>rajen_k_bhtt@hotmail.com</email></author></authors>
17
+ <date>2011-10-24</date>
18
+ <time>14:53:08</time>
19
+ <contents><target name="magelocal"><dir name="MagentoPycho"><dir name="Lightboxes"><dir name="Block"><dir name="Config"><dir name="Fancybox"><file name="Info.php" hash="bef83b61cb09194b48ed06def55cf29e"/></dir><dir name="Lightboxclone"><file name="Info.php" hash="4fd81a582008fd5a2ba3dfbcc1d8031c"/></dir><dir name="Lightboxes"><file name="Confliction.php" hash="389e8099c7ec58543ade0f0a0e545dc9"/></dir><dir name="Pirobox"><file name="Info.php" hash="ad15c2f8bf20092c2c01cb803f7651b7"/></dir></dir><dir name="System"><dir name="Config"><file name="Info.php" hash="7d5985f92831f66c1a11e7e883074435"/></dir></dir><file name="Lightboxes.php" hash="3e228c2ed74603a3c2827b619d3e900d"/><file name="Media.php" hash="3c99da27fbd88f31e73bfe07ed540c40"/></dir><dir name="Helper"><file name="Data.php" hash="20048d8a2a138ff96522713a4d22cd25"/></dir><dir name="Model"><dir name="Config"><dir name="Fancybox"><file name="Easings.php" hash="9ab1ca369c71d98bf2d1cf10f30638ba"/><file name="Opacities.php" hash="3268daa65a3a6655142ce316162fade0"/><file name="Scrollings.php" hash="6d9af6d0e7553b8acb9fcf6952b3dcac"/><file name="Speeds.php" hash="9760c7dee890b9efaa4da6d9abe0046d"/><file name="Titlepositions.php" hash="ef92418f4990b6ed8b23ac6c1109d17a"/><file name="Transitions.php" hash="b49cb8600c061f08285833ccafb935a4"/></dir><dir name="Lightboxclone"><file name="Opacities.php" hash="3f6c032d447f92d26aaffdfb3d92ceff"/></dir><dir name="Pirobox"><file name="Bgalphas.php" hash="93012d23890ba0b90ee70ca7279f4a0c"/><file name="Themes.php" hash="022c743b0c09f9a8c843f920785531fb"/></dir><file name="Inclusiontypes.php" hash="83482867f82c0fd9688c2acb81ee701d"/><file name="Jquerytypes.php" hash="f699c7332c0c7ddfd3a8b2e85a339b2e"/><file name="Lightboxtypes.php" hash="bcdc24fddc0b754e4c44a2a0db7cb1f5"/></dir><file name="Lightboxes.php" hash="8acc4715ff262e6511e25a31d7988c1b"/></dir><dir name="controllers"><file name="IndexController.php" hash="3b1b2d0b3d9d312b5401e55487d10020"/></dir><dir name="etc"><file name="adminhtml.xml" hash="822babae1508e248aa5c6098f8f54a3b"/><file name="config.xml" hash="f15e894c3147e93e49957eb1aed917ff"/><file name="system.xml" hash="85cd8eb76c9848f71cd0cfb4d4b715c2"/></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="default"><dir name="default"><dir name="layout"><file name="lightboxes.xml" hash="ef76a1040aebfd58f7b1b3e9d44dabbf"/></dir><dir name="template"><dir name="lightboxes"><file name="head.phtml" hash="68ec84686244aa2956c29c7f40a00beb"/><file name="jquery_inclusion.phtml" hash="4d76fca7dd17af03892e926deeee31f5"/><file name="lightboxes_inclusion.phtml" hash="3bc8b2e532bb2cc824c3ee3d71412b54"/><file name="lightboxes_initialization.phtml" hash="1ff7d2de29cea69e70392246083edf7e"/><file name="media.phtml" hash="658c1b154ed20126f6820df7d0ed0092"/></dir></dir></dir></dir></dir></target><target name="mageweb"><dir name="js"><dir name="lightboxes"><dir name="fancybox"><file name="Thumbs.db" hash="5dd66d89b9e7a196d476c3ac8f9081cf"/><file name="blank.gif" hash="325472601571f31e1bf00674c368d335"/><file name="fancy_close.png" hash="6e2879a324a76e9972ebc98201aae1d8"/><file name="fancy_loading.png" hash="b1d54c240cf06e7f41e372d56919b738"/><file name="fancy_nav_left.png" hash="3f3e406102152cd8236383568a40ba35"/><file name="fancy_nav_right.png" hash="216e4bde5bddeeaa60dc3d692890a68e"/><file name="fancy_shadow_e.png" hash="fd4f491080d29fade5080877f1ba4c8b"/><file name="fancy_shadow_n.png" hash="18cde16379b2ceadef714d9b346d09ec"/><file name="fancy_shadow_ne.png" hash="63adf788acf193d4e4f3642d7d793125"/><file name="fancy_shadow_nw.png" hash="c820c878aedb7a7f9ebd7135a58e7c65"/><file name="fancy_shadow_s.png" hash="9b9e5c888028aaef40fe5b6a363f1e29"/><file name="fancy_shadow_se.png" hash="a8afd5a008884380ee712d177105268f"/><file name="fancy_shadow_sw.png" hash="f81cc0fee5581d76ad3cebe47e7e791b"/><file name="fancy_shadow_w.png" hash="59b0e63eb059e58d932cfd53da4d87e6"/><file name="fancy_title_left.png" hash="1582ac2d3bef6a6445bf02ceca2741cd"/><file name="fancy_title_main.png" hash="38dad6c1ed4bdc81c0bec721b2deb8c2"/><file name="fancy_title_over.png" hash="b886fd165d4b7ac77d41fb52d87ffc60"/><file name="fancy_title_right.png" hash="6cbe0c935511e7f9a2555ccb6a7324c4"/><file name="fancybox-x.png" hash="168696d8a694214090ef90e029cdf393"/><file name="fancybox-y.png" hash="36a58859beb9a6b19322a37466b9f78e"/><file name="fancybox.png" hash="11e57e492ee0311540967cc7a1e6e3e2"/><file name="jquery.easing-1.3.pack.js" hash="def257dbb0ab805c4996fd8abb1a6b49"/><file name="jquery.fancybox-1.3.2.css" hash="62b6a82e326429e9576c34b81c57c1c9"/><file name="jquery.fancybox-1.3.2.js" hash="9781051f683af9738fb200df1eb376f6"/><file name="jquery.fancybox-1.3.2.pack.js" hash="e495aaf910d87698081e0e2db53fca87"/><file name="jquery.mousewheel-3.0.4.pack.js" hash="3b0a821567b463e70bcc1e90ed2bc9b6"/></dir><dir name="jQuery"><dir name="1.4.3"><file name="jquery.min.js" hash="e4958bd2e32d9fcd6115a585ed17a9cc"/></dir></dir><dir name="jquery-lightbox-0.5"><dir name="css"><file name="jquery.lightbox-0.5.css" hash="79ec543bbe42f8852aac14381b9ffff8"/></dir><dir name="images"><file name="lightbox-blank.gif" hash="fc94fb0c3ed8a8f909dbc7630a0987ff"/><file name="lightbox-btn-close.gif" hash="2c38ae5be85141bf8867c9523f4bc357"/><file name="lightbox-btn-next.gif" hash="23414965ebe526012e473c1d4d65d4e7"/><file name="lightbox-btn-prev.gif" hash="5a9118de4ef6226473190d6e82f6d80d"/><file name="lightbox-ico-loading.gif" hash="b5fe8df97005341f898e2cf84e68de01"/></dir><dir name="js"><file name="jquery.js" hash="bb122b33d64d02a106bf2230b2d41af0"/><file name="jquery.lightbox-0.5.js" hash="2f6bedebc6fde0a3f34626cc8815b344"/><file name="jquery.lightbox-0.5.min.js" hash="21c9812998af15acf69da2f91bb02363"/><file name="jquery.lightbox-0.5.pack.js" hash="f5360c03d8a989499f3e161672747dfe"/></dir></dir><dir name="pirobox"><dir name="css_pirobox"><dir name="demo1"><file name="ajax-loader.gif" hash="4b3afb84b2b71ef56df09997a350bd04"/><file name="b_c.png" hash="75fffb4a12279cd88466b1edb1418e4b"/><file name="b_l.png" hash="9518ae468feb7eed08c954b5d117127b"/><file name="b_r.png" hash="2672ab4e75f3d109a2d478a7545caa87"/><file name="c_l.png" hash="47e9b270c4fa90d0f230162483a78ff9"/><file name="c_r.png" hash="c859f115cde4306a39b4a8f6cee2f627"/><file name="close_btn.png" hash="92b5b87de803f837f0b87abbc903fb87"/><file name="close_btn_h.png" hash="183ddc1e93f12ad62a81db361905e5b0"/><file name="link_out.png" hash="5cce437fb7ccb4145fce1d495862e3f3"/><file name="link_out_h.png" hash="b98ee6456aced423b5ad266d8501a05e"/><file name="next.png" hash="6dca0c5b7774178a861e8908f2dad537"/><file name="next_h.png" hash="159b2561e2f8465562f416bd580e6573"/><file name="pause.png" hash="50f67f2adb72c7f225cc689980c836dd"/><file name="pause_h.png" hash="88e0f004cc98f725e0609d46113d0665"/><file name="play.png" hash="ddc4c1038e3199b5dba07d26611f9b91"/><file name="play_h.png" hash="b19fd09b6be349ab794fddb6df53bbdf"/><file name="prev.png" hash="4d08111967598b1b7742c579238b4316"/><file name="prev_h.png" hash="81858baaa2bba9d35ad1bb4d14031965"/><file name="style.css" hash="8b4150f440aff866d29bdec6bfe4258a"/><file name="t_c.png" hash="3bea2d7b1c8160fbab212860eb219692"/><file name="t_l.png" hash="7143f9b78fa8f6328661bd519f4769b3"/><file name="t_r.png" hash="417e9123fb088a6eb3cb207a7c443095"/></dir><dir name="demo2"><file name="ajax-loader.gif" hash="af774cf54767cacc9acc77db73484e34"/><file name="b_c.png" hash="a100f7ca0c8b76491f892b83cc7b9676"/><file name="b_l.png" hash="b0dffe5a74c2a6b94140f3b51504a1df"/><file name="b_r.png" hash="fadeb0442e51de7d5ec3bd787924bd91"/><file name="c_l.png" hash="41c77a81ecf1df77eddb9f83d7f6ea83"/><file name="c_r.png" hash="882771577ec629f4aaaf9fa30a332b74"/><file name="close_btn.png" hash="92b5b87de803f837f0b87abbc903fb87"/><file name="close_btn_h.png" hash="183ddc1e93f12ad62a81db361905e5b0"/><file name="link_out.png" hash="5cce437fb7ccb4145fce1d495862e3f3"/><file name="link_out_h.png" hash="b98ee6456aced423b5ad266d8501a05e"/><file name="next.png" hash="6dca0c5b7774178a861e8908f2dad537"/><file name="next_h.png" hash="159b2561e2f8465562f416bd580e6573"/><file name="pause.png" hash="50f67f2adb72c7f225cc689980c836dd"/><file name="pause_h.png" hash="88e0f004cc98f725e0609d46113d0665"/><file name="play.png" hash="ddc4c1038e3199b5dba07d26611f9b91"/><file name="play_h.png" hash="b19fd09b6be349ab794fddb6df53bbdf"/><file name="prev.png" hash="4d08111967598b1b7742c579238b4316"/><file name="prev_h.png" hash="81858baaa2bba9d35ad1bb4d14031965"/><file name="style.css" hash="1d55524a537a29b99e34a952a2b49053"/><file name="t_c.png" hash="e02ae5a542eb15e1b5a1e02133ee1ff2"/><file name="t_l.png" hash="ddf448039c434026d1d695072228bdd1"/><file name="t_r.png" hash="9c6fa0da64a9c33d36d440dbf452038b"/></dir><dir name="demo3"><file name="ajax-loader.gif" hash="4b3afb84b2b71ef56df09997a350bd04"/><file name="b_c.png" hash="7a4ff9b52f473cbcf5745c8c5e3f8f75"/><file name="b_l.png" hash="72460dd7277d197cc84d70d73fa51340"/><file name="b_r.png" hash="f67db5dc36cdc55580cae2b4c4e17e2a"/><file name="c_l.png" hash="d303eaa0cf6efa163c3e11089f7a1dfa"/><file name="c_r.png" hash="87d1bdc4346f93c62a89162971f35451"/><file name="close_btn.png" hash="92b5b87de803f837f0b87abbc903fb87"/><file name="close_btn_h.png" hash="183ddc1e93f12ad62a81db361905e5b0"/><file name="link_out.png" hash="5cce437fb7ccb4145fce1d495862e3f3"/><file name="link_out_h.png" hash="b98ee6456aced423b5ad266d8501a05e"/><file name="next.png" hash="6dca0c5b7774178a861e8908f2dad537"/><file name="next_h.png" hash="159b2561e2f8465562f416bd580e6573"/><file name="pause.png" hash="50f67f2adb72c7f225cc689980c836dd"/><file name="pause_h.png" hash="88e0f004cc98f725e0609d46113d0665"/><file name="play.png" hash="ddc4c1038e3199b5dba07d26611f9b91"/><file name="play_h.png" hash="b19fd09b6be349ab794fddb6df53bbdf"/><file name="prev.png" hash="4d08111967598b1b7742c579238b4316"/><file name="prev_h.png" hash="81858baaa2bba9d35ad1bb4d14031965"/><file name="style.css" hash="8b4150f440aff866d29bdec6bfe4258a"/><file name="t_c.png" hash="aa60fb983774de76695adaec30baf512"/><file name="t_l.png" hash="1c25f414977f0e15707734455f72f7f9"/><file name="t_r.png" hash="a8b83ef6aa89eb16066b57c56af36718"/></dir><dir name="demo4"><file name="ajax-loader.gif" hash="4b3afb84b2b71ef56df09997a350bd04"/><file name="b_c.png" hash="f263d200d69176a0daf9491bbf0880b0"/><file name="b_l.png" hash="073e0d4113b9d0d6ea87f89f2917f37b"/><file name="b_r.png" hash="01daf2ada396f0b9c3194fa2eadb0812"/><file name="c_l.png" hash="dfbb93a992ade9d582cc11bd3b1ca524"/><file name="c_r.png" hash="1ea958d53920f49c077b6257b7d6d32c"/><file name="close_btn.png" hash="92b5b87de803f837f0b87abbc903fb87"/><file name="close_btn_h.png" hash="183ddc1e93f12ad62a81db361905e5b0"/><file name="link_out.png" hash="5cce437fb7ccb4145fce1d495862e3f3"/><file name="link_out_h.png" hash="b98ee6456aced423b5ad266d8501a05e"/><file name="next.png" hash="6dca0c5b7774178a861e8908f2dad537"/><file name="next_h.png" hash="159b2561e2f8465562f416bd580e6573"/><file name="pause.png" hash="50f67f2adb72c7f225cc689980c836dd"/><file name="pause_h.png" hash="88e0f004cc98f725e0609d46113d0665"/><file name="play.png" hash="ddc4c1038e3199b5dba07d26611f9b91"/><file name="play_h.png" hash="b19fd09b6be349ab794fddb6df53bbdf"/><file name="prev.png" hash="4d08111967598b1b7742c579238b4316"/><file name="prev_h.png" hash="81858baaa2bba9d35ad1bb4d14031965"/><file name="style.css" hash="80bda63c8e2974ffcc0ac491109b08c4"/><file name="t_c.png" hash="844528ba3b95ebcc9338f2e1e526e2c4"/><file name="t_l.png" hash="306cae75bb51ae4832230abb909af9e1"/><file name="t_r.png" hash="84b88cc2fbe66c14db818486a4a0b214"/></dir><dir name="demo5"><file name="ajax-loader.gif" hash="af774cf54767cacc9acc77db73484e34"/><file name="b_c.png" hash="cd8cceedf279afbfb18047a93d41f01e"/><file name="b_l.png" hash="22fa6a4e821a4eec6bd69bf5aeee86bf"/><file name="b_r.png" hash="66a431c64512a5f97af8e4518c25652e"/><file name="c_l.png" hash="d87b25d657460807de2496133c265c1b"/><file name="c_r.png" hash="3d5eb49f2f508f103dd5d28980104bc0"/><file name="close_btn.png" hash="92b5b87de803f837f0b87abbc903fb87"/><file name="close_btn_h.png" hash="183ddc1e93f12ad62a81db361905e5b0"/><file name="link_out.png" hash="5cce437fb7ccb4145fce1d495862e3f3"/><file name="link_out_h.png" hash="b98ee6456aced423b5ad266d8501a05e"/><file name="next.png" hash="6dca0c5b7774178a861e8908f2dad537"/><file name="next_h.png" hash="159b2561e2f8465562f416bd580e6573"/><file name="pause.png" hash="50f67f2adb72c7f225cc689980c836dd"/><file name="pause_h.png" hash="88e0f004cc98f725e0609d46113d0665"/><file name="play.png" hash="ddc4c1038e3199b5dba07d26611f9b91"/><file name="play_h.png" hash="b19fd09b6be349ab794fddb6df53bbdf"/><file name="prev.png" hash="4d08111967598b1b7742c579238b4316"/><file name="prev_h.png" hash="81858baaa2bba9d35ad1bb4d14031965"/><file name="style.css" hash="0c9432e34442a9e3fc88710684c5b119"/><file name="t_c.png" hash="2f05b3634e8c9a9039505867303ddb17"/><file name="t_l.png" hash="d5bd1e97e4a0e6880fccc9445da0a502"/><file name="t_r.png" hash="50a453d9c0e05fadb13e01034e7d3394"/></dir><file name="css.css" hash="dd10f3849827f49e3cde3c1e12194e56"/></dir><dir name="js"><file name="jquery.min.js" hash="65b352e1ba79f0e2a3b1e014bc2571af"/><file name="pirobox.js" hash="3828d78e783ea55198766e07a17f9b4c"/><file name="pirobox.min.js" hash="4564fa27b424a05b7dc6ae0be5f68b60"/></dir></dir><file name="no-conflict.js" hash="3179f2255b046d5f2e9a71e365287bef"/></dir></dir></target><target name="mageetc"><dir name="modules"><file name="MagentoPycho_Lightboxes.xml" hash="4fe2e4bc8867ccd8219e17bb72a18ee8"/></dir></target></contents>
20
  <compatible/>
21
  <dependencies/>
22
  </package>