SAFI Tech user community

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Configure Magento jqZoom  (Read 2804 times)

ThomasVJ

  • Newbie
  • *
  • Posts: 2
    • View Profile
Configure Magento jqZoom
« on: June 26, 2009, 10:51:28 PM »
Hi there,

Just been testing the Magento jqZoom and am wondering how to configure the size of the pop-up zoom-window?

Thanks for posting this contribution!

Cheers,
Thomas
Logged

mohammed

  • Guest
Re: Configure Magento jqZoom
« Reply #1 on: June 27, 2009, 10:35:22 AM »
hi

to change the size open the following file
/app/design/frontend/default/default/template/safitech/catalog/product/view/media.phtml

find this in the code:
xzoom: 300,      
yzoom: 300,

change the values to what you want.
   
Logged

ThomasVJ

  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: Configure Magento jqZoom
« Reply #2 on: June 28, 2009, 06:23:07 AM »
Great! Thank you!

Here is a tip for supporting other languages.
In that file replace:
Code: [Select]
<h4>More Views</h4>with
Code: [Select]
<h4><?php echo $this->__('More Views'?></h4>
Cheers,
Thomas
Logged

mohammed

  • Guest
Re: Configure Magento jqZoom
« Reply #3 on: July 16, 2009, 03:32:50 PM »
Hi

Finally i get free time to work on this extension.

I have fixed the problem with the add to cart button. also now you can specify the width and the height of the pop up  image, and disable the animation.

Logged

pleelayuvat

  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: Configure Magento jqZoom
« Reply #4 on: July 16, 2009, 07:21:30 PM »
hi,

The plug-in is very cool but it changes my original 'product-img box' to square, it is supposed to be 522px by 237px.  as a result, the zoom cursor doesn't coordinate.  how do i change the 'product-img box' back to my size.


Thank you
Logged

pleelayuvat

  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: Configure Magento jqZoom
« Reply #5 on: July 16, 2009, 07:35:47 PM »
found it !!! , nevermind

Thanks for the plug-in again, very nice
Logged

vladiman

  • Newbie
  • *
  • Posts: 1
    • View Profile
Re: Configure Magento jqZoom
« Reply #6 on: August 11, 2009, 05:04:50 AM »
found it !!! , nevermind

Thanks for the plug-in again, very nice

 Please tell me where i am having hard time finding it.
Logged

pleelayuvat

  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: Configure Magento jqZoom
« Reply #7 on: August 11, 2009, 08:24:37 AM »
I reply your message but i'll post it here too.
here is the file I modify in default theme,
app/design/frontend/default/default/template/safitech/catalog/product/view/media.phtml

i change the size at line 64-66, my custom size is 522 and 237,

<div id="image">
      <-------
-----------
-----------

            class="jqzoom"><img <?php echo $style; ?> id="image<?php echo $i; ?>"
            width="522px"
            height="237px"
            src="<?php echo $this->helper('catalog/image')->init($this->getProduct(), 'thumbnail2', $_image->getFile())->resize(522, 237); ?>"

Logged