

<?xml version="1.0" encoding="UTF-8"?>
	<rss version="2.0"
		xmlns:content="http://purl.org/rss/1.0/modules/content/"
		xmlns:wfw="http://wellformedweb.org/CommentAPI/"
		xmlns:dc="http://purl.org/dc/elements/1.1/"
		xmlns:atom="http://www.w3.org/2005/Atom"

			>

	<channel>
		<title>LexiConn News  &#187;  Topic: Lightbox and Zoom Image Tutorial for ShopSite</title>
		<atom:link href="https://support.lexiconn.com/news/forums/topic/lightbox-and-zoom-image-tutorial-for-shopsite/feed" rel="self" type="application/rss+xml" />
		<link>https://support.lexiconn.com/news/forums/topic/lightbox-and-zoom-image-tutorial-for-shopsite/feed</link>
		<description></description>
		<pubDate>Sun, 05 Apr 2026 12:23:41 +0000</pubDate>
		<generator>http://bbpress.org/?v=2.5.3-5249</generator>
		<language>en-US</language>

		
														
					
				<item>
					<guid>https://support.lexiconn.com/news/forums/topic/lightbox-and-zoom-image-tutorial-for-shopsite/#post-48800</guid>
					<title><![CDATA[Lightbox and Zoom Image Tutorial for ShopSite]]></title>
					<link>https://support.lexiconn.com/news/forums/topic/lightbox-and-zoom-image-tutorial-for-shopsite/#post-48800</link>
					<pubDate>Tue, 27 Sep 2011 18:47:16 +0000</pubDate>
					<dc:creator>Anonymous</dc:creator>

					<description>
						<![CDATA[
						<p>If you would like to implement the Lightbox or the Image-Zoom effect on your MoreInfo pages with multiple MoreInfo images, the following script will make it much easier.</p>
<p>You can view examples of each of these effects on the following demo store pages:</p>
<p><span style="text-decoration: underline;"><strong>Lightbox Example:</strong></span></p>
<p><a href="http://shopsite-demo.lexiconn.com/lightbox_test.html" rel="nofollow">http://shopsite-demo.lexiconn.com/lightbox_test.html</a></p>
<p><span style="text-decoration: underline;"><strong>Zoom-Image Example:</strong></span></p>
<p><a href="http://shopsite-demo.lexiconn.com/zoom_image_test.html" rel="nofollow">http://shopsite-demo.lexiconn.com/zoom_image_test.html</a></p>
<p>We have provided the scripts you will need to make either of these work in a single zip file:</p>
<p><a href="http://support.lexiconn.com/more_info_image.zip" rel="nofollow">http://support.lexiconn.com/more_info_image.zip</a></p>
<p>1. Unzip and upload the contents of this file to your /www directory. If you need to upload the files to another directory on your site, you will need to adjust the path for each of the javascript and CSS includes.</p>
<p>2. Add the following code to theregion of your MoreInfo template (or put the code in a ShopSite include and call that include in the head region):</p>
<p>&nbsp;</p>
<pre>&lt;link media="screen" rel="stylesheet" href="/more_info_image/colorbox.css" /&gt;
&lt;link href="/more_info_image/cloud-zoom.css" rel="stylesheet" type="text/css" /&gt;
&lt;script type="text/javascript" src="/more_info_image/jquery.js"&gt;&lt;/script&gt;
&lt;script src="/more_info_image/jquery.colorbox-min.js"&gt;&lt;/script&gt;
&lt;script type="text/JavaScript" src="/more_info_image/cloud-zoom.1.0.2.min.js"&gt;&lt;/script&gt;

</pre>
<p>&nbsp;</p>
<p>Replace the [-- PRODUCT.MoreInformationGraphic --] and [-- MoreInfoImageRow --] section of your MoreInfo template with the following code (or put the code in a ShopSite include and call that include in place of those tags):</p>
<p>&nbsp;</p>
<pre> [-- VAR.MoreInfoImageType 'Lightbox' --] 
 #set to 'Lightbox' or to 'ZoomBox' 
 &lt;script type="text/javascript"&gt; 
     //override default javascript popup function 
     window.open = function(url, name, props) {} 
 
     var MoreInfoImage = { 
         image_source: '', 
         image_title: '', 
         image_extension: '', 
         image_id: '', 
         image_id_stem: 'more_info_image_', 
         tld_regex: /\.com|\.net|\.org|\.edu|\.biz|\.gov/, 
         img_extension_regex: /\.jpg$|\.jpeg$|\.png$|\.gif$/i, 
         
         zoom_config: { 
             zoom_suffix: '_zoom',  //suffix that your larger images will use, for example, image.jpg and image_zoom.jpg 
             image_class: 'cloud-zoom', 
             gallery_class: 'cloud-zoom-gallery', 
             preview_id: 'zoom1', 
             thumb_image_width: 125, 
             zoom_image_source: '', 
             options:{ 
                 zoomWidth: "auto", 
                 zoomHeight: "auto", 
                 position: "inside", 
                 adjustX: 0, 
                 adjustY: 0, 
                 tint: false, 
                 tintOpacity: 0.5, 
                 lensOpacity: 0.5, 
                 softFocus: false, 
                 smoothMove: 3, 
                 showTitle: true, 
                 titleOpacity: 0.5 
             } 
         }, 
         
         lightbox_config: { 
             default_lightbox_width: 500, 
             options:{ 
                 title: '', 
                 transition: "elastic", //`elastic`, `fade`, or `none` 
                 speed: 350, //transition speed in ms. 
                 initialWidth: 300, //initial width of the Lightbox Window 
                 initialHeight: 100, //initial height of the Lightbox Window 
                 width: false, //force a width of the Lightbox Window (outer width of the entire window) 
                 height: false, //force a height of the Lightbox Window (outer height of the entire window) 
                 innerWidth: false, //force a width of the Lightbox Window (inner width of the entire window) 
                 innerHeight: false, //force a height of the Lightbox Window (inner height of the entire window) 
                 maxWidth: false, //set a maximum width for the window 
                 maxHeight: false, //set a maximum height for the window 
                 scalePhotos: true, //whether to scale images if a maxWidth, maxHeight, innerWidth, innerHeight, width, or height have been defined 
                 scrolling: true, //whether to generate scrolling content if the image size exceed the size of the window 
                 opacity: 0.85, //Opacity of the screen overlay (range: 0 to 1) 
                 loop: true, //whether to allow a next link back to the first image after the last image is reached 
                 slideshow: false, //whether to generate a slideshow 
                 slideshowSpeed: 2500, //transition speed for slideshows in ms. 
                 slideshowAuto: true, //whether the slideshow should automatically begin 
                 slideshowStart: "Start Slideshow", //Text for the Slideshow Start control 
                 slideshowStop: "Stop Slideshow",  //Text for the Slideshow Stop control 
                 previous: "Previous", //Text for the previous image button 
                 next: "Next", //Text for the next image button 
                 close: "Close", //Text to close the window 
                 top: false, //Controls vertical positioning of window 
                 bottom: false, //Controls vertical positioning of window 
                 left: false, //Controls horizontal positioning of window 
                 right: false, //Controls horizontal positioning of window 
                 fixed: false  //Sets a fixed position for the window 
             } 
         }, 
 
         genID: function(){ 
             var rand_id = Math.floor(Math.random()*400); 
             this.image_id = this.image_id_stem + rand_id; 
         }, 
         
         generateID: function(){ 
             this.genID(); 
             if(document.getElementById(this.image_id) != undefined){ 
                 this.genID(); 
             } 
         }, 
         
         parseSource: function(){ 
             var p_image = this.image_source.split(this.img_extension_regex); 
             var p_image = p_image_source.split(this.tld_regex); 
             var p_z_image = p_image_source.split(this.img_extension_regex); 
             this.image_extension = p_image_source.match(this.img_extension_regex); 
             this.zoom_config.zoom_image_source =  p_z_image[0] + this.zoom_config.zoom_suffix + this.image_extension; 
         }, 
         
         generateZoomBoxImage: function(src, title){ 
             this.image_source = src; 
             this.parseSource(); 
             this.generateID(); 
             var output = '&lt;a href="' + this.zoom_config.zoom_image_source + '" class="'  + this.zoom_config.image_class + '" id="' + this.zoom_config.preview_id + '" rel="position: \'' + this.zoom_config.options.position + '\', showTitle: true, adjustX: 10, adjustY:-4\"&gt;[-- PRODUCT.MoreInformationGraphic JS_ENCODE --]&lt;/a&gt;'; 
             return output; 
         }, 
         
         generateZoomThumb: function(src, title){ 
             this.image_source = src; 
             this.image_title = title; 
             this.parseSource(); 
             this.generateID(); 
             var output = '&lt;a href="' + this.zoom_config.zoom_image_source + '" class="'  + this.zoom_config.gallery_class + '" id="' + this.image_id + '" title="' + this.image_title + '" rel="useZoom: \'' + this.zoom_config.preview_id + '\', smallImage: \'' + this.image_source + '\', zoomWidth: \'' + this.zoom_config.options.zoomWidth + '\', zoomHeight: \'' + this.zoom_config.options.zoomHeight + '\', position: \'' + this.zoom_config.options.position + '\', showTitle: \'' + this.zoom_config.options.showTitle + '\', adjustX: ' + this.zoom_config.options.adjustX + ', adjustY:' + this.zoom_config.options.adjustX + ', tint: ' + this.zoom_config.options.tint + ', tintOpacity: \''+ this.zoom_config.options.tintOpacity + '\', lensOpacity: \'' + this.zoom_config.options.lensOpacity + '\', softFocus: \'' + this.zoom_config.options.softFocus + '\', smoothMove: \'' + this.zoom_config.options.smoothMove + '\', titleOpacity: \'' + this.zoom_config.options.titleOpacity + '\'"&gt;&lt;img src="' + this.image_source + '" width="' + this.zoom_config.thumb_image_width + '" title="' + this.image_title + '" /&gt;&lt;/a&gt;'; 
             return output; 
         }, 
 
         generateLightbox: function(){ 
           $(document).ready(function(){ 
               
              $('td[class="small_img"] &gt; a').each(function(e){ 
                   $(this).removeAttr("onmouseover"); 
              }); 
 
               $('td[class="small_img"] &gt; a &gt; img').each(function(i){ 
                     $(this).parent().attr("href", this.src.replace(/ss_size\d\//, "")); 
                     $(this).parent().attr("rel", "16"); 
                     this.image_title = $(this).attr("title") != undefined ? $(this).attr("title") : '[-- PRODUCT.Name --]'; 
                     MoreInfoImage.lightbox_config.options.title = this.image_title; 
                    $(this).parent().colorbox(MoreInfoImage.lightbox_config.options); 
               }); 
                 
               $('img[name="prod_img"]').click(function(){ 
                     var current_src = ($(this).attr("src")); 
                     $('td[class="small_img"] &gt; a').each(function(i){ 
                          if($(this).attr("href") == current_src){ 
                               $(this).click(); 
                          } 
                     }); 
               }); 
       }); 
         } 
     }    
 
 &lt;/script&gt; 
 [-- IF VAR.MoreInfoImageType 'ZoomBox' --] 
 &lt;div class="zoom_image_block" style="width: 550px; height: 425px;"&gt; 
     &lt;div id="zoom_large_image" style="float: left; height: 425px;"&gt; 
       &lt;span id="more_info_graphic" style="display: none;"&gt;[-- PRODUCT.MoreInformationGraphic --]&lt;/span&gt; 
       &lt;script type="text/javascript"&gt; 
         var p_image_source = $("#more_info_graphic &gt; img").attr("src"); 
         var p_image_title = $("#more_info_graphic &gt; img").attr("title"); 
         document.write(MoreInfoImage.generateZoomBoxImage(p_image_source, p_image_title)); 
         &lt;/script&gt; 
     &lt;/div&gt; 
 &lt;div id="zoom_image_row" class="scroll-pane" style="float: right; width: 225px; height: 425px; overflow: auto; border-right: 1px solid #ccc;"&gt; 
 &lt;table align="center" width="175" id="zoom_image_table"&gt; 
 &lt;tr&gt; 
   &lt;td&gt; 
 &lt;div class="preview_image" &gt; 
       &lt;span id="more_info_image_0" style="display: none;"&gt;[-- PRODUCT.MoreInformationGraphic --]&lt;/span&gt; 
       &lt;script type="text/javascript"&gt; 
         var p_image_source = $("#more_info_image_0 &gt; img").attr("src"); 
         var p_image_title = $("#more_info_image_0 &gt; img").attr("title"); 
         document.write(MoreInfoImage.generateZoomThumb(p_image_source,  p_image_title)); 
         &lt;/script&gt; 
 &lt;/div&gt; 
   &lt;/td&gt; 
 &lt;/tr&gt; 
 [-- IF PRODUCT.MoreInfoImage1 --]  
 &lt;tr&gt; 
   &lt;td&gt; 
 &lt;div class="preview_image" &gt; 
       &lt;span id="more_info_image_1" style="display: none;"&gt;[-- PRODUCT.MoreInfoImage1 --]&lt;/span&gt; 
       &lt;script type="text/javascript"&gt; 
         var p_image_source = $("#more_info_image_1 &gt; img").attr("src"); 
         var p_image_title = $("#more_info_image_1 &gt; img").attr("title"); 
         document.write(MoreInfoImage.generateZoomThumb(p_image_source,  p_image_title)); 
         &lt;/script&gt; 
 &lt;/div&gt; 
   &lt;/td&gt; 
 &lt;/tr&gt; 
 [-- END_IF --] 
     
 [-- IF PRODUCT.MoreInfoImage2 --] 
 &lt;tr&gt; 
   &lt;td&gt; 
 &lt;div class="preview_image"&gt; 
    &lt;span id="more_info_image_2" style="display: none;"&gt;[-- PRODUCT.MoreInfoImage2 --]&lt;/span&gt; 
       &lt;script type="text/javascript"&gt; 
         var p_image_source = $("#more_info_image_2 &gt; img").attr("src"); 
         var p_image_title = $("#more_info_image_2 &gt; img").attr("title"); 
         document.write(MoreInfoImage.generateZoomThumb(p_image_source,  p_image_title)); 
         &lt;/script&gt; 
 &lt;/div&gt; 
   &lt;/td&gt; 
 &lt;/tr&gt; 
 [-- END_IF --] 
 [-- IF PRODUCT.MoreInfoImage3 --] 
 &lt;tr&gt; 
   &lt;td&gt; 
 &lt;div class="preview_image"&gt; 
     &lt;span id="more_info_image_3" style="display: none;"&gt;[-- PRODUCT.MoreInfoImage3 --]&lt;/span&gt; 
       &lt;script type="text/javascript"&gt; 
         var p_image_source = $("#more_info_image_3 &gt; img").attr("src"); 
         var p_image_title = $("#more_info_image_3 &gt; img").attr("title"); 
         document.write(MoreInfoImage.generateZoomThumb(p_image_source,  p_image_title)); 
         &lt;/script&gt; 
 &lt;/div&gt; 
   &lt;/td&gt; 
 &lt;/tr&gt; 
 [-- END_IF --] 
 [-- IF PRODUCT.MoreInfoImage4 --] 
 &lt;tr&gt; 
   &lt;td&gt; 
 &lt;div class="preview_image"&gt; 
     &lt;span id="more_info_image_4" style="display: none;"&gt;[-- PRODUCT.MoreInfoImage4 --]&lt;/span&gt; 
     &lt;script type="text/javascript"&gt; 
         var p_image_source = $("#more_info_image_4 &gt; img").attr("src"); 
         var p_image_title = $("#more_info_image_4 &gt; img").attr("title"); 
         document.write(MoreInfoImage.generateZoomThumb(p_image_source,  p_image_title)); 
     &lt;/script&gt; 
 &lt;/div&gt; 
 &lt;/td&gt; 
 &lt;/tr&gt; 
 [-- END_IF --] 
 [-- IF PRODUCT.MoreInfoImage5 --] 
 &lt;tr&gt; 
   &lt;td&gt; 
 &lt;div class="preview_image"&gt; 
     &lt;span id="more_info_image_5" style="display: none;"&gt;[-- PRODUCT.MoreInfoImage5 --]&lt;/span&gt; 
     &lt;script type="text/javascript"&gt; 
         var p_image_source = $("#more_info_image_5 &gt; img").attr("src"); 
         var p_image_title = $("#more_info_image_5 &gt; img").attr("title"); 
         document.write(MoreInfoImage.generateZoomThumb(p_image_source,  p_image_title)); 
     &lt;/script&gt; 
 &lt;/div&gt; 
 &lt;/td&gt; 
 &lt;/tr&gt; 
 [-- END_IF --] 
 [-- IF PRODUCT.MoreInfoImage6 --] 
 &lt;tr&gt; 
   &lt;td&gt; 
 &lt;div class="preview_image"&gt; 
     &lt;span id="more_info_image_6" style="display: none;"&gt;[-- PRODUCT.MoreInfoImage6 --]&lt;/span&gt; 
     &lt;script type="text/javascript"&gt; 
         var p_image_source = $("#more_info_image_6 &gt; img").attr("src"); 
         var p_image_title = $("#more_info_image_6 &gt; img").attr("title"); 
         document.write(MoreInfoImage.generateZoomThumb(p_image_source,  p_image_title)); 
     &lt;/script&gt; 
 &lt;/div&gt; 
 &lt;/td&gt; 
 &lt;/tr&gt; 
 [-- END_IF --] 
 [-- IF PRODUCT.MoreInfoImage7 --] 
 &lt;tr&gt; 
   &lt;td&gt; 
 &lt;div class="preview_image"&gt; 
     &lt;span id="more_info_image_7" style="display: none;"&gt;[-- PRODUCT.MoreInfoImage7 --]&lt;/span&gt; 
     &lt;script type="text/javascript"&gt; 
         var p_image_source = $("#more_info_image_7 &gt; img").attr("src"); 
         var p_image_title = $("#more_info_image_7 &gt; img").attr("title"); 
         document.write(MoreInfoImage.generateZoomThumb(p_image_source,  p_image_title)); 
     &lt;/script&gt; 
 &lt;/div&gt; 
 &lt;/td&gt; 
 &lt;/tr&gt; 
 [-- END_IF --] 
 [-- IF PRODUCT.MoreInfoImage8 --] 
 &lt;tr&gt; 
   &lt;td&gt; 
 &lt;div class="preview_image"&gt; 
     &lt;span id="more_info_image_8" style="display: none;"&gt;[-- PRODUCT.MoreInfoImage8 --]&lt;/span&gt; 
     &lt;script type="text/javascript"&gt; 
         var p_image_source = $("#more_info_image_8 &gt; img").attr("src"); 
         var p_image_title = $("#more_info_image_8 &gt; img").attr("title"); 
         document.write(MoreInfoImage.generateZoomThumb(p_image_source,  p_image_title)); 
     &lt;/script&gt; 
 &lt;/div&gt; 
 &lt;/td&gt; 
 &lt;/tr&gt; 
 &lt;/table&gt; 
     &lt;/div&gt; 
 &lt;/div&gt; 
 [-- END_IF --] 
 [-- IF PRODUCT.MoreInfoImage9 --] 
 &lt;tr&gt; 
   &lt;td&gt; 
 &lt;div class="preview_image"&gt; 
     &lt;span id="more_info_image_9" style="display: none;"&gt;[-- PRODUCT.MoreInfoImage9 --]&lt;/span&gt; 
     &lt;script type="text/javascript"&gt; 
         var p_image_source = $("#more_info_image_9 &gt; img").attr("src"); 
         var p_image_title = $("#more_info_image_9 &gt; img").attr("title"); 
         document.write(MoreInfoImage.generateZoomThumb(p_image_source,  p_image_title)); 
     &lt;/script&gt; 
 &lt;/div&gt; 
 &lt;/td&gt; 
 &lt;/tr&gt; 
 &lt;/table&gt; 
     &lt;/div&gt; 
 &lt;/div&gt; 
 [-- END_IF --] 
 [-- IF PRODUCT.MoreInfoImage10 --] 
 &lt;tr&gt; 
   &lt;td&gt; 
 &lt;div class="preview_image"&gt; 
     &lt;span id="more_info_image_10" style="display: none;"&gt;[-- PRODUCT.MoreInfoImage10 --]&lt;/span&gt; 
     &lt;script type="text/javascript"&gt; 
         var p_image_source = $("#more_info_image_10 &gt; img").attr("src"); 
         var p_image_title = $("#more_info_image_10 &gt; img").attr("title"); 
         document.write(MoreInfoImage.generateZoomThumb(p_image_source,  p_image_title)); 
     &lt;/script&gt; 
 &lt;/div&gt; 
 &lt;/td&gt; 
 &lt;/tr&gt; 
 &lt;/table&gt; 
     &lt;/div&gt; 
 &lt;/div&gt; 
 [-- END_IF --] 
 [-- ELSE_IF VAR.MoreInfoImageType 'Lightbox' --] 
 &lt;div class="zoom_image_block" style="width: 550px; height: 425px;"&gt; 
 [-- MoreInfoImageRow --] 
 &lt;/div&gt; 
 &lt;script type="text/javascript"&gt; 
    MoreInfoImage.generateLightbox(); 
 &lt;/script&gt; 
 [-- END_IF --] 

</pre>
<p>&nbsp;</p>
<p>3. Set the VAR.MoreInfoImageType variable to either &#8216;Lightbox&#8217; or &#8216;ZoomBox&#8217;:</p>
<p>[-- VAR.MoreInfoImageType 'Lightbox' --]</p>
<p>or</p>
<p>[-- VAR.MoreInfoImageType 'ZoomBox' --]</p>
<p>4. Configure options for whichever effect you are using:</p>
<p>=======================================================<br />
<em><strong>For Lightbox,</strong> the following options may be customized in the lightbox_config section of the script (a value of &#8216;false&#8217; should be used if no value is set):</em></p>
<hr class="bbcode_rule" />
<p><strong>default_lightbox_width</strong>: width of the lightbox window (default = 500)<br />
<strong>transition</strong>: elastic|fade|none (default = elastic)<br />
<strong>speed</strong>: transition speed (default = 350ms)<br />
<strong>initialWidth</strong>: initial width of the Lightbox Window [in pixels or percent] <strong>(default = 300px)<br />
<b>initialHeight</b></strong>: initial height of the Lightbox Window [in pixels or percent] (default = 100px)<br />
<strong>width</strong>: force a width of the Lightbox Window using the outer width of the entire window [in pixels or percent] (default = false)<br />
<strong>height</strong>: force a height of the Lightbox Window using the outer height of the entire window [in pixels or percent] (default = false)<br />
<strong>innerWidth</strong>: force a width of the Lightbox Window using the inner width of the entire window [in pixels or percent] (default = false)<br />
<strong>innerHeight</strong>: force a height of the Lightbox Window using the inner height of the entire window [in pixels or percent] (default = false)<br />
<strong>maxWidth</strong>: set a maximum width for the window [in pixels or percent] (default = false)<br />
<strong>maxHeight</strong>: set a maximum height for the window [in pixels or percent] (default = false)<br />
<strong>scalePhotos</strong>: whether to scale images if a maxWidth, maxHeight, innerWidth, innerHeight, width, or height have been defined [true|false] (default = true)<br />
<strong>scrolling</strong>: whether to generate scrolling content if the image size exceed the size of the window [true|false] (default = true)<br />
<strong>opacity</strong>: Opacity of the screen overlay [range: 0 to 1] (default = 0.85)<br />
<strong>loop</strong>: whether to allow a `Next` link back to the first image after the last image is reached (default = true)<br />
<strong>slideshow</strong>: whether to generate a slideshow [true|false] (default = false)<br />
<strong>slideshowSpeed</strong>: transition speed for slideshows in ms. (default = 3500)<br />
<strong>slideshowAuto</strong>: If slideshow is enabled, whether the slideshow should automatically begin [true|false] (default = false)<br />
<strong>slideshowStart</strong>: Text for the Slideshow Start control (default = &#8220;Start Slideshow&#8221;)<br />
<strong>slideshowStop</strong>: Text for the Slideshow Stop control (default = &#8220;Start Slideshow&#8221;)<br />
<strong>previous</strong>: Text to display for the `Previous` image button (default = &#8216;Previous&#8217;)<br />
<strong>next</strong>: Text to display for the `Next` image button (default = &#8216;Next&#8217;)<br />
<strong>close</strong>: Text to display to close the window (default = &#8216;Close&#8217;)<br />
<strong>top</strong>: Set top vertical positioning of window [in pixels] (default = false)<br />
<strong>bottom</strong>: Set bottom vertical positioning of window [in pixels] (default = false)<br />
<strong>left</strong>: Set left horizontal positioning of window [in pixels] (default = false)<br />
<strong>right</strong>: Set right horizontal positioning of window [in pixels] (default = false)<br />
<strong>fixed</strong>: Sets a fixed position for the window [true|false] (default = false)</p>
<p>=======================================================<br />
<em><strong>For ZoomBox,</strong> you will need to create a large version of your products images and name them the same as the corresponding product image but with a particular suffix, for example, using the default suffix &#8220;_zoom&#8221;:</em></p>
<hr class="bbcode_rule" />
<p>the large version of:</p>
<p>product_image.jpg</p>
<p>would be called</p>
<p>product_image_zoom.jpg</p>
<p>If you change this suffix to something other than the default of _zoom, you will need to update the zoom_suffix value zoom_config section of the script:</p>
<p>zoom_suffix: &#8216;_zoom&#8217;</p>
<p>to:</p>
<p>zoom_suffix: &#8216;_your_custom_suffix&#8217;</p>
<p>The following options may be customized in the zoom_config section of the script (a value of &#8216;false&#8217; should be used if no value is set):</p>
<p><strong>zoomWidth</strong>: width of the zoom window in pixels (default = &#8220;auto&#8221;)<br />
<strong>zoomHeight</strong>: height of the zoom window in pixels (default = &#8220;auto&#8221;)<br />
<strong>position</strong>: the position of the zoom window relative to the small image (default = &#8220;inside&#8221;)<br />
<strong>adjustX</strong>: fine tune the x-position of the zoom window in pixels (default = 0)<br />
<strong>adjustY</strong>: fine tune the y-position of the zoom window in pixels (default = 0)<br />
<strong>tint</strong>: set a tint color to cover the small image. Colors should be specified in hex format, such as &#8216;#aa00aa&#8217; (does not work with softFocus)<br />
<strong>tintOpacity</strong>: opacity of the tint [range: 0 to 1] (default = 0.5)<br />
<strong>lensOpacity</strong>: opacity of the mouse pointer lens [range: 0 to 1] (default = 0.5)<br />
<strong>softFocus</strong>: set to true to apply a soft blur to the regions of the image outside of your mouse magnifier [true|false] (default = true)<br />
<strong>smoothMove</strong>: smoothness of the zoom effect as you move your mouse lens over the image [1 = no smoothing, higher integers = more smoothing] (default = 3)<br />
<strong>showTitle</strong>: show the title tag of the image (default = true)<br />
<strong>titleOpacity</strong>: opacity of the title [range: 0 to 1] (default = 0.5)</p>
<p>5. After this code is in place in your template, be sure to regenerate (Utilities -&gt; Publish -&gt; Regenerate). This code supports up to 10 extra product images.</p>
						]]>
					</description>

					
					
				</item>

					
		
	</channel>
	</rss>

