Zen Cart Logo
Forums / General Questions / Larger Image Option No Longer Showing

Larger Image Option No Longer Showing

Locked

Views: 1,525

Results 1 to 9 of 9
This thread is locked. New replies are disabled.
27 Dec 2009, 12:15 AM
#1
actionjackson57 avatar

actionjackson57

Zen Follower

Join Date:
Nov 2009
Posts:
105
Plugin Contributions:
0

Larger Image Option No Longer Showing

In the course of trying to find how to do a couple things on my site, I have accidentally turned off whatever switch allows the customer to view a larger image of any product. I've been back thru all the drop down menus, trying over and over to find the one I may have not set back to whatever it was.

Could someone please tell me where to turn on the ability to display a larger picture of the image? Thank you and Merry Christmas.

Using current version of ZC on www .p a p e r p o t a m u s. com

27 Dec 2009, 12:30 AM
#2
actionjackson57 avatar

actionjackson57

Zen Follower

Join Date:
Nov 2009
Posts:
105
Plugin Contributions:
0

Re: Larger Image Option No Longer Showing

I just realized that I may have accidentally caused this problem a couple weeks ago when I was trying to get the mouseover effect to work. I never could get it to work and may have not noticed that the normal effect of increasing the image size by clicking on it, had turned off somehow.

30 Dec 2009, 7:32 AM
#3
actionjackson57 avatar

actionjackson57

Zen Follower

Join Date:
Nov 2009
Posts:
105
Plugin Contributions:
0

Re: Larger Image Option No Longer Showing

My "Show Larger Image" option is no longer showing. For some reason, anyone viewing my site, can no longer see a large image of the product. It just stopped working.

I had been looking for a solution to some other issues and tried changing some options on the admin page dropdowns, but always changing them back when they didn't result in the effects I was looking for. These trials had nothing to do with images so I don't think I changed anything I shouldn't have.

Previously, I had tried to get the mouseover effect to work and may have inadvertently caused some change that turned off the "Show Larger Image". Can someone please help me get the larger images to show again? Thank you.

Using ZC 1.3.8a. My website is https://www.paperpotamus.com

31 Dec 2009, 9:06 AM
#4
mattymatt avatar

mattymatt

Zen Follower

Join Date:
Dec 2009
Location:
Pinner
Posts:
234
Plugin Contributions:
1

Re: Larger Image Option No Longer Showing

actionjackson57:

Previously, I had tried to get the mouseover effect to work and may have inadvertently caused some change that turned off the "Show Larger Image". Can someone please help me get the larger images to show again? Thank you.

If you look at the source of your page,

<script language="javascript" type="text/javascript"><!--
document.write('<img src="images/AB/5006.jpg" alt="5006 AB" title=" 5006 AB " width="200" height="200" name="imageSwap" />');
//--></script>
<noscript>
<a href="http://www.paperpotamus.com/index.php?main_page=popup_image&pID=1854" target="_blank"><img src="images/AB/5006.jpg" alt="5006 AB" title=" 5006 AB " width="200" height="200" /><br /><span class="imgLink">larger image</span></a></noscript>
</div>

you have the larger image link for browsers without javascript, so whatever image module you have installed has changed the template to do something and then might not be turned on (because nothing is happening like the mouseover effect).

It's probably in some admin configuration in the module but it's not the same image add-on as mine, as all my pictures have bmz_cache in front of them since I installed something called Image Handler 2. Knowing which add on it is would help.

7 Jan 2010, 7:39 AM
#5
actionjackson57 avatar

actionjackson57

Zen Follower

Join Date:
Nov 2009
Posts:
105
Plugin Contributions:
0

Re: Larger Image Option No Longer Showing

MattyMatt:

If you look at the source of your page,

<script language="javascript" type="text/javascript"><!-- document.write('<img src="images/AB/5006.jpg" alt="5006 AB" title=" 5006 AB " width="200" height="200" name="imageSwap" />'); //--></script> <noscript> <a href="http://www.paperpotamus.com/index.php?main_page=popup_image&pID=1854" target="_blank"><img src="images/AB/5006.jpg" alt="5006 AB" title=" 5006 AB " width="200" height="200" /><br /><span class="imgLink">larger image</span></a></noscript> </div> ``` > > you have the larger image link for browsers without javascript, so whatever image module you have installed has changed the template to do something and then might not be turned on (because nothing is happening like the mouseover effect). > > It's probably in some admin configuration in the module but it's not the same image add-on as mine, as all my pictures have bmz_cache in front of them since I installed something called Image Handler 2. Knowing which add on it is would help.

Thanks for your feedback. I was using a mouse rollover by Dr. Byte from the Add On pages, I found out it was the rollover_defines.php that caused the problems. I restored from a backup & installed a second rollover mod I found on the Add On pages. this one was from either 'blag' or 'quillowmania'. I found exactly the same problem again. The rollover_defines.php caused the 'click to enlarge' to deactivate. Any help so I could use the mouse rollover would be much appreciated. Thanks.

7 Jan 2010, 10:31 AM
#6
mattymatt avatar

mattymatt

Zen Follower

Join Date:
Dec 2009
Location:
Pinner
Posts:
234
Plugin Contributions:
1

Re: Larger Image Option No Longer Showing

You'll be needing to combine some files using winmerge or manually, working out which file is overwriting which, the above example is no longer applicable since you've changed the bits around. If you unzip the file the filename that's doing the overwriting you need to merge the "old" larger image things from a default page with the "new stuff" for the effect you are looking for, but I can't be more precise except to say that the file you'll need to edit probably start starts with "tpl_" and ends in ".php"

8 Jan 2010, 8:38 AM
#7
actionjackson57 avatar

actionjackson57

Zen Follower

Join Date:
Nov 2009
Posts:
105
Plugin Contributions:
0

Re: Larger Image Option No Longer Showing

MattyMatt:

You'll be needing to combine some files using winmerge or manually, working out which file is overwriting which, the above example is no longer applicable since you've changed the bits around. If you unzip the file the filename that's doing the overwriting you need to merge the "old" larger image things from a default page with the "new stuff" for the effect you are looking for, but I can't be more precise except to say that the file you'll need to edit probably start starts with "tpl_" and ends in ".php"

Thanks for your advice. I don't understand it tho. Sorry to ask you this but could you be more specific? I'm very new to this and you're way over my head already. I've gone in and changed some stuff in various .php files with Notepad++ but I'm not clear what you're talking about. Hope you're not insulted.

8 Jan 2010, 9:34 AM
#8
mattymatt avatar

mattymatt

Zen Follower

Join Date:
Dec 2009
Location:
Pinner
Posts:
234
Plugin Contributions:
1

Re: Larger Image Option No Longer Showing

There's a program called winmerge at http://winmerge.org/

You have a new file in something you downloaded that is overwriting the "normal" zen cart image displaying html. You work out which file that is and load that up along with the original zen cart file that was disaplying "larger image", you then get winmerge to combine the two files and you'll have your page with the module working as well as "click to enlarge" being displayed. The original file is probably includes/templates/template_default/templates/tpl_modules_main_product_image.php (as that has click to enlarge on it) so you need to merge the newer one from your download with that. e.g. get the program to take the old code from the original file and add it to the new file.

9 Jan 2010, 8:00 AM
#9
actionjackson57 avatar

actionjackson57

Zen Follower

Join Date:
Nov 2009
Posts:
105
Plugin Contributions:
0

Re: Larger Image Option No Longer Showing

MattyMatt:

There's a program called winmerge at http://winmerge.org/

You have a new file in something you downloaded that is overwriting the "normal" zen cart image displaying html. You work out which file that is and load that up along with the original zen cart file that was disaplying "larger image", you then get winmerge to combine the two files and you'll have your page with the module working as well as "click to enlarge" being displayed. The original file is probably includes/templates/template_default/templates/tpl_modules_main_product_image.php (as that has click to enlarge on it) so you need to merge the newer one from your download with that. e.g. get the program to take the old code from the original file and add it to the new file.

Thanks. I will give that a try.