Zen Cart Logo
Forums / General Questions / Large popup not working

Large popup not working

Locked

Views: 3,890

Results 1 to 16 of 16
This thread is locked. New replies are disabled.
19 Jan 2010, 2:55 AM
#1
guile avatar

guile

New Zenner

Join Date:
Jan 2010
Posts:
7
Plugin Contributions:
0

Large popup not working

Hi Community,

I've been looking high and low to why my "larger image" code does not take me to a large version of my image. Instead I get a script error saying "Object expected". I'm new to ZenCart and PHP, why would this happen?

When I hover the mouse over the words "larger image" I see the browser attempting to launch this address in the status bar:

http://store.xxx.com/index.php?main_page=popup_image&pID=180 (note: domain has been omitted)

If I were to cut and paste the above link to a new browser I see the same picture, yet the picture itself is appearing right above where it says "Larger image".

It's almost as if ZenCart is not recognizing the pID link (180) to the image file. Why is this?

Any one can help that would be awesome!! :bigups::flex:

Thanks a mil!

19 Jan 2010, 7:43 AM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Large popup not working

You omitted the most important part - where this is for us to view
And did not include any of your details
Zen Cart version
Server type
php version
etc...

20 Jan 2010, 3:02 AM
#3
guile avatar

guile

New Zenner

Join Date:
Jan 2010
Posts:
7
Plugin Contributions:
0

Re: Large popup not working

Zen Cart 1.3.8
Apache 2.0.54
PHP 4.4.8-1
Linux

What other info might you need?

20 Jan 2010, 3:06 AM
#4
mprough avatar

mprough

Totally Zenned

Join Date:
Nov 2007
Location:
Woodbine, Georgia, United States
Posts:
4,290
Plugin Contributions:
39

Re: Large popup not working

A link

~Melanie

21 Jan 2010, 5:12 PM
#5
guile avatar

guile

New Zenner

Join Date:
Jan 2010
Posts:
7
Plugin Contributions:
0

Re: Large popup not working

Apologies for the delay:

http://store.korkage.com

21 Jan 2010, 8:15 PM
#6
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Large popup not working

RI_TEMPLATE_07
Is this a Template Monster template?
What version of ZenCart?
Are you/they sure that this is compatible with the Zen Cart version you have?

Try switching to the classic template and see if it works
If so look to your template

Look in your template structure at template_default and check for folders and files

folder - popup_image
file - tpl_main_page.php

Also your /jcsript folder for
/RI_TEMPLATE_07/jscript/jscript_imagehover.js"
Insure that it is a good file copy - - look for a "0" byte size

22 Jan 2010, 4:15 AM
#7
guile avatar

guile

New Zenner

Join Date:
Jan 2010
Posts:
7
Plugin Contributions:
0

Re: Large popup not working

Hi kobra,

Zen Cart is 1.3.8
Creator of this template confirmed it works with ZC 1.3.8 (the 'larger image functionality' was working at one point, but the larger images were the same size as the main page image. )

Folder popup_image exists
File tpl_main_page.php exists and looks correct from what I can tell.

As for jscript_imagehover.js, the filesize is 6kb. The settings in the file are:

Global variables for sizes of hoverimg
// Defined in "showtrail()", used in "followmouse()"
var zoomimg_w=0;
var zoomimg_h=0;

Is this what you mean by '0' bytes?

Will have to try switching to classic template and let you know what happens...

17 Apr 2010, 3:32 AM
#8
firefly143 avatar

firefly143

New Zenner

Join Date:
Apr 2010
Location:
UK
Posts:
25
Plugin Contributions:
0

Re: Large popup not working

hi guile,

i have exactly the same problem with this template and i have noticed you have now corrected the issue, any chance of providing your findings to fix the problem so i can give it a go too.
thanks

19 Apr 2010, 2:28 PM
#9
benmckechnie avatar

benmckechnie

New Zenner

Join Date:
Nov 2007
Location:
North East United Kingdom
Posts:
25
Plugin Contributions:
0

Re: Large popup not working

Same here - I look forward to hearing any solutions if anyone has sorted this problem out.
My site is https://www.lookwhatwefound.co.uk/store and the problem seems to be with any jscript pop-up (inc. cvv help, larger image etc). The browser gives an error which when clicked gives the following:
Webpage error details:

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; Trident/4.0; GTB0.0; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; .NET CLR 1.1.4322; .NET CLR 3.5.30729; .NET CLR 3.0.30729; OfficeLiveConnector.1.4; OfficeLivePatch.1.3; Creative AutoUpdate v1.40.01)
Timestamp: Mon, 19 Apr 2010 14:27:13 UTC

Message: Invalid argument.
Line: 13
Char: 461
Code: 0
URI: http://www.lookwhatwefound.co.uk/store/includes/templates/lwwf/jscript/jscript_jquery_png.js[/I][/I][/I]

23 Apr 2010, 12:08 PM
#10
firefly143 avatar

firefly143

New Zenner

Join Date:
Apr 2010
Location:
UK
Posts:
25
Plugin Contributions:
0

Re: Large popup not working

benmckechnie i dont know if this will help you but i have now solved my problem (large image not showing). I downloaded a new css javascript loader from Rubik intergration this is the link you need http://blog.rubikintegration.com/2009/08/08/zencart-css-javascript-loader-released/ i followed the instructions included and hey presto images now working, hope this helps.:clap:

25 May 2010, 1:12 AM
#11
ce2000 avatar

ce2000

New Zenner

Join Date:
Oct 2007
Posts:
4
Plugin Contributions:
0

Re: Large popup not working

YESSSSS It WORK'S even with 1.3.9a version whooooo thx guys!!!!:smile::smile::smile::smile:

4 Jun 2010, 8:41 PM
#12
krisdiamond avatar

krisdiamond

New Zenner

Join Date:
May 2009
Posts:
28
Plugin Contributions:
0

Re: Large popup not working

can someone help me fix my popup window, cannot get it to open up to show image now :-(

thanks in advance

17 Sep 2010, 11:11 AM
#13
derek53 avatar

derek53

Zen Follower

Join Date:
Jun 2009
Location:
uk
Posts:
111
Plugin Contributions:
0

Re: Large popup not working

I have recently installed zencart Zen Cart 1.3.8a and had a supplier install a product/price/images feed. I do not know if the feed made the l;arger image link to fail, but it does not work and i am concerned as it cost megga bucks to have installed and if i mess up a reinstall of zencart then it will be a costly mistake. At the moment it looks bad as the images are quite small. What should i do and will it mess up the product feed ? Thanks for any advice

17 Sep 2010, 3:38 PM
#14
ajeh avatar

ajeh

Oba-san

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

Re: Large popup not working

Why would you recently install an outdated, insecure and buggy version of Zen Cart v1.3.8 when the current version is Zen Cart v1.3.9f ... :unsure:

17 Sep 2010, 4:20 PM
#15
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Large popup not working

derek53:

it looks bad as the images are quite small
larger image function displays the image at it's full size
One of the images, /images/Alfresco%20Pillar%20400.jpg, size is 150px × 150px
That function in ZenCart does not upsize the image
Use/install an image handler and larger base images
Or use the multi image system builtin
https://www.zen-cart.com/tutorials/index.php?article=224

17 Sep 2010, 7:34 PM
#16
derek53 avatar

derek53

Zen Follower

Join Date:
Jun 2009
Location:
uk
Posts:
111
Plugin Contributions:
0

Re: Large popup not working

Ajeh:

Why would you recently install an outdated, insecure and buggy version of Zen Cart v1.3.8 when the current version is Zen Cart v1.3.9f ... :unsure:

It wasnt outdated when i instaled it :censored: