Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Larger image link opens image in same window.

Larger image link opens image in same window.

Locked

Views: 3,685

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
4 Apr 2007, 7:04 AM
#1
this_side_up avatar

this_side_up

New Zenner

Join Date:
Nov 2006
Posts:
57
Plugin Contributions:
0

Larger image link opens image in same window.

Hi everyone

I have tried figuring this one out but so far no luck. All the " Click here for larger image" links work fine except for a new product i have put under product type -free shipping. All the other products so far are under "product type general".
When you click the link for Larger Image it opens the image in the same window.

I am using the Zen Lightbox mod with success so i dont think it has anything to do with this.
This is the first time its happened and it only happened when i decided to use the product type "free shipping" for this particular type of product.

Can any of you wise owls out there please help me?

Heres the Link
http://www.thissideup.co.za/store/index.php?main_page=product_free_shipping_info&cPath=103_104_105&products_id=314
Thank you
Warren

7 Apr 2007, 4:24 PM
#2
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Larger image link opens image in same window.

Looks like you have commented out the ability to have the large image:

<!--bof Main Product Image -->

<div id="productMainImage" class="centeredContent back">
  <!-- begin zen lightbox v1.3 aclarke 2006-10-20 -->
  <script language="javascript" type="text/javascript"><!--
document.write('<a href="images/rest_assured/standrews.jpg" rel="lightbox[gallery]" title="Rest Assured - St Andrews - Premiur Universal."><img src="bmz_cache/8/80fc9f92a600ee77a874d4451c7c4f8c.image.300x200.jpg" alt="Rest Assured - St Andrews - Premiur Universal." title=" Rest Assured - St Andrews - Premiur Universal. " width="300" height="200" /><br /><span class="imgLink">larger image</span></a>');
//--></script>
  <!-- end zen lightbox v1.3 aclarke 2006-10-20 -->
  <noscript>
  <a href="http://www.thissideup.co.za/store/index.php?main_page=popup_image&pID=314" target="_blank"><img src="bmz_cache/8/80fc9f92a600ee77a874d4451c7c4f8c.image.300x200.jpg" alt="Rest Assured - St Andrews - Premiur Universal." title=" Rest Assured - St Andrews - Premiur Universal. " width="300" height="200" /><br /><span class="imgLink">larger image</span></a>  </noscript>
</div>
<!--eof Main Product Image-->

It also looks like you have an add-on ...

Perhaps you do not have the add-on installed correctly?

10 Apr 2007, 10:36 AM
#3
this_side_up avatar

this_side_up

New Zenner

Join Date:
Nov 2006
Posts:
57
Plugin Contributions:
0

Re: Larger image link opens image in same window.

Thanks for replying Linda

Still no joy here.
I checked out the code on one of my other products in the product_general section and it seems to be the same( comment code in the same place), every things works fine.
The only differance i can see is that the hyperlink referance points to the bmz_cache folder and not to to folder where the image is located..

I tried this on a fresh install as well...same problem.

Thanks
Warren