Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php if (!empty($product -> images)) : ?>
- <div class="<?php echo $this -> pre; ?>imglist" style="width:<?php echo $this -> get_option('thumbw'); ?>px;">
- <ul id="thumblist" style="width:<?php echo ((int) $this -> get_option('thumbw') + 22); ?>px; float:left; overflow:hidden;">
- <li><a title="<?php echo esc_attr(apply_filters($this -> pre . '_product_title', $product -> title)); ?>" class="zoomThumbActive" href="javascript:void(0);" rel="{
- gallery:'jqzoom<?php echo $product -> id; ?>',
- smallimage:'<?php echo $wpcoHtml -> timthumb_url(); ?>?src=<?php echo $product -> image_url; ?>&w=<?php echo $this -> get_option('thumbw'); ?>&h=<?php echo $this -> get_option('thumbh'); ?>&q=<?php echo $this -> get_option('thumbq'); ?>',
- largeimage:'<?php echo $wpcoHtml -> image_url($product -> image -> name); ?>'
- }"><img src="<?php echo $wpcoHtml -> timthumb_url(); ?>?src=<?php echo $product -> image_url; ?>&w=<?php echo $this -> get_option('smallw'); ?>&h=<?php echo $this -> get_option('smallh'); ?>&q=<?php echo $this -> get_option('smallq'); ?>" /></a></li>
- <?php foreach ($product -> images as $image) : ?>
- <li><a title="<?php echo esc_attr($image -> title); ?>" href="javascript:void(0);" rel="{
- gallery:'jqzoom<?php echo $product -> id; ?>',
- smallimage:'<?php echo addslashes($wpcoHtml -> timthumb_url() . '?src=' . $image -> image_url . '&w=' . $this -> get_option('thumbw') . '&h=' . $this -> get_option('thumbh') . '&q=' . $this -> get_option('thumbq')); ?>',
- largeimage:'<?php echo $wpcoHtml -> image_url($image -> filename); ?>',
- title:'<?php echo esc_attr($image -> title); ?>'
- }"><img src="<?php echo $wpcoHtml -> timthumb_url(); ?>?src=<?php echo $image -> image_url; ?>&w=<?php echo $this -> get_option('smallw'); ?>&h=<?php echo $this -> get_option('smallh'); ?>&q=<?php echo $this -> get_option('smallq'); ?>" /></a></li>
- <?php endforeach; ?>
- </ul>
- <br class="<?php echo $this -> pre; ?>cleaner" />
- </div>
- <?php endif; ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement