Version Notes
This small extension will install Lightbox on product detail page
Download this release
Release Info
Developer | Magento Core Team |
Extension | VS_SimpleLightbox |
Version | 1.0.2 |
Comparing to | |
See all releases |
Code changes from version 1.0.1 to 1.0.2
- app/design/frontend/default/default/layout/lightbox.xml +2 -2
- app/design/frontend/default/default/template/lightbox/media.phtml +1 -1
- js/VS/Thumbs.db +0 -0
- js/{VS → VS_lightbox}/lightbox.js +0 -0
- package.xml +13 -8
- skin/frontend/default/default/VS/images/Thumbs.db +0 -0
- skin/frontend/default/default/{VS → VS_lightbox}/css/lightbox.css +0 -0
- skin/frontend/default/default/{VS → VS_lightbox}/images/bullet.gif +0 -0
- skin/frontend/default/default/{VS → VS_lightbox}/images/close.gif +0 -0
- skin/frontend/default/default/{VS → VS_lightbox}/images/closelabel.gif +0 -0
- skin/frontend/default/default/{VS → VS_lightbox}/images/donate-button.gif +0 -0
- skin/frontend/default/default/{VS → VS_lightbox}/images/download-icon.gif +0 -0
- skin/frontend/default/default/{VS → VS_lightbox}/images/image-1.jpg +0 -0
- skin/frontend/default/default/{VS → VS_lightbox}/images/loading.gif +0 -0
- skin/frontend/default/default/{VS → VS_lightbox}/images/nextlabel.gif +0 -0
- skin/frontend/default/default/{VS → VS_lightbox}/images/prevlabel.gif +0 -0
- skin/frontend/default/default/{VS → VS_lightbox}/images/thumb-1.jpg +0 -0
app/design/frontend/default/default/layout/lightbox.xml
CHANGED
@@ -2,8 +2,8 @@
|
|
2 |
<layout version="0.1.0">
|
3 |
<catalog_product_view>
|
4 |
<reference name="head">
|
5 |
-
<action method="addJs" ifconfig="lightbox/general/enabled"><script>
|
6 |
-
<action method="addCss" ifconfig="lightbox/general/enabled"><stylesheet>
|
7 |
</reference>
|
8 |
<reference name="product.info.media">
|
9 |
<action method="setTemplate" ifconfig="lightbox/general/enabled"><template>lightbox/media.phtml</template></action>
|
2 |
<layout version="0.1.0">
|
3 |
<catalog_product_view>
|
4 |
<reference name="head">
|
5 |
+
<action method="addJs" ifconfig="lightbox/general/enabled"><script>VS_lightbox/lightbox.js</script></action>
|
6 |
+
<action method="addCss" ifconfig="lightbox/general/enabled"><stylesheet>VS_lightbox/css/lightbox.css</stylesheet></action>
|
7 |
</reference>
|
8 |
<reference name="product.info.media">
|
9 |
<action method="setTemplate" ifconfig="lightbox/general/enabled"><template>lightbox/media.phtml</template></action>
|
app/design/frontend/default/default/template/lightbox/media.phtml
CHANGED
@@ -41,7 +41,7 @@
|
|
41 |
<?php if ($_product->getImage() != 'no_selection' && $_product->getImage()): ?>
|
42 |
<p class="product-image product-image-zoom">
|
43 |
<?php
|
44 |
-
$_img = ' <a href="'.$this->helper('catalog/image')->init($_product, 'image').'" rel="lightbox[product]" title="'.$this->htmlEscape($this->getImageLabel()).'"><img id="image" src="'.$this->helper('catalog/image')->init($_product, 'image').'" alt="'.$this->htmlEscape($this->getImageLabel()).'" title="'.$this->htmlEscape($this->getImageLabel()).'" /></a>';
|
45 |
echo $_helper->productAttribute($_product, $_img, 'image');
|
46 |
?>
|
47 |
</p>
|
41 |
<?php if ($_product->getImage() != 'no_selection' && $_product->getImage()): ?>
|
42 |
<p class="product-image product-image-zoom">
|
43 |
<?php
|
44 |
+
$_img = ' <a href="'.$this->helper('catalog/image')->init($_product, 'image').'" rel="lightbox[product]" title="'.$this->htmlEscape($this->getImageLabel()).'"><img id="image" src="'.$this->helper('catalog/image')->init($_product, 'image')->resize(265).'" alt="'.$this->htmlEscape($this->getImageLabel()).'" title="'.$this->htmlEscape($this->getImageLabel()).'" /></a>';
|
45 |
echo $_helper->productAttribute($_product, $_img, 'image');
|
46 |
?>
|
47 |
</p>
|
js/VS/Thumbs.db
DELETED
Binary file
|
js/{VS → VS_lightbox}/lightbox.js
RENAMED
File without changes
|
package.xml
CHANGED
@@ -1,18 +1,23 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>VS_SimpleLightbox</name>
|
4 |
-
<version>1.0.
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://opensource.org/licenses/osl-3.0.php">Open Software License (OSL)</license>
|
7 |
<channel>community</channel>
|
8 |
<extends/>
|
9 |
-
<summary>This small extension will install Lightbox on product detail page
|
10 |
-
<description>This
|
|
|
|
|
|
|
|
|
|
|
11 |
<notes>This small extension will install Lightbox on product detail page</notes>
|
12 |
-
<authors><author><name>virendra kumar sharma</name><user>
|
13 |
-
<date>
|
14 |
-
<time>
|
15 |
-
<contents><target name="magecommunity"><dir
|
16 |
<compatible/>
|
17 |
-
<dependencies
|
18 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>VS_SimpleLightbox</name>
|
4 |
+
<version>1.0.2</version>
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://opensource.org/licenses/osl-3.0.php">Open Software License (OSL)</license>
|
7 |
<channel>community</channel>
|
8 |
<extends/>
|
9 |
+
<summary>This small extension will install Lightbox on product detail page.</summary>
|
10 |
+
<description>This extension will install Lightbox to your store. It will take few minutes to setup. You need to only enable this from backend.
|
11 |
+
Now you can view product images in Lightbox with previous next functionality.
|
12 |
+
To enable Go to admin area.
|
13 |
+
Choose System>>Configuration
|
14 |
+
Go under VS Extension tab and enable Lightbox for catalog page.
|
15 |
+
No conflict with prototype.</description>
|
16 |
<notes>This small extension will install Lightbox on product detail page</notes>
|
17 |
+
<authors><author><name>virendra kumar sharma</name><user>auto-converted</user><email>bhardwajveerendra@gmail.com</email></author></authors>
|
18 |
+
<date>2012-01-16</date>
|
19 |
+
<time>10:04:13</time>
|
20 |
+
<contents><target name="magecommunity"><dir name="VS"><dir name="Lightbox"><dir name="Helper"><file name="Data.php" hash="b5bc6caddfd59fb578fcc566a1a99190"/></dir><dir name="Model"><file name="Magnifierpos.php" hash="0fa3a4ae9554967925ad1236efcbdf9c"/></dir><dir name="etc"><file name="config.xml" hash="22ae10deba6a4528bf443ade5ddd754d"/><file name="system.xml" hash="e007efb5f1ce1865d4eaa7235a2b6279"/></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="default"><dir name="default"><dir name="layout"><file name="lightbox.xml" hash="31d8ccba8fa784acfcd5d22a0ccc7c78"/></dir><dir name="template"><dir name="lightbox"><file name="media.phtml" hash="e73399919a4b5699d70cef5c233e1704"/></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="VS_Lightbox.xml" hash="e43b96db35c1e87e2d59bc98e46c392a"/></dir></target><target name="mage"><dir name="js"><dir name="VS_lightbox"><file name="lightbox.js" hash="c5c7c74acf9e5afe11a886a6dc0e14a8"/></dir></dir></target><target name="mageskin"><dir name="frontend"><dir name="default"><dir name="default"><dir name="VS_lightbox"><dir name="css"><file name="lightbox.css" hash="de501f42d328deb2d67cf8ecdb1c8fe2"/></dir><dir name="images"><file name="bullet.gif" hash="1f7dd21de89bed2cf605ed7bd1276a63"/><file name="close.gif" hash="540f65d2b2f94032d6c3037622843a50"/><file name="closelabel.gif" hash="0e5462b0b4f00432eac4b33d5fa31c5a"/><file name="donate-button.gif" hash="fa03647656edb3a3cf87c5ca6f03eed7"/><file name="download-icon.gif" hash="6b66870c450a8d856f0a5a7e6087611d"/><file name="image-1.jpg" hash="2059be04139e24558449e53920e89924"/><file name="loading.gif" hash="7e99e1159a3686f6aa4f90043c554483"/><file name="nextlabel.gif" hash="110afaaaf901f67fee2357c5df88a1aa"/><file name="prevlabel.gif" hash="fb5fff30d471cc603589578015d36864"/><file name="thumb-1.jpg" hash="9b1b923cd76561359f8886033a4f5848"/></dir></dir></dir></dir></dir></target></contents>
|
21 |
<compatible/>
|
22 |
+
<dependencies/>
|
23 |
</package>
|
skin/frontend/default/default/VS/images/Thumbs.db
DELETED
Binary file
|
skin/frontend/default/default/{VS → VS_lightbox}/css/lightbox.css
RENAMED
File without changes
|
skin/frontend/default/default/{VS → VS_lightbox}/images/bullet.gif
RENAMED
File without changes
|
skin/frontend/default/default/{VS → VS_lightbox}/images/close.gif
RENAMED
File without changes
|
skin/frontend/default/default/{VS → VS_lightbox}/images/closelabel.gif
RENAMED
File without changes
|
skin/frontend/default/default/{VS → VS_lightbox}/images/donate-button.gif
RENAMED
File without changes
|
skin/frontend/default/default/{VS → VS_lightbox}/images/download-icon.gif
RENAMED
File without changes
|
skin/frontend/default/default/{VS → VS_lightbox}/images/image-1.jpg
RENAMED
File without changes
|
skin/frontend/default/default/{VS → VS_lightbox}/images/loading.gif
RENAMED
File without changes
|
skin/frontend/default/default/{VS → VS_lightbox}/images/nextlabel.gif
RENAMED
File without changes
|
skin/frontend/default/default/{VS → VS_lightbox}/images/prevlabel.gif
RENAMED
File without changes
|
skin/frontend/default/default/{VS → VS_lightbox}/images/thumb-1.jpg
RENAMED
File without changes
|