Forums / General Questions / If my large image pop up opening 100% what can I do?

If my large image pop up opening 100% what can I do?

Locked

Views: 1,267

Results 1 to 9 of 9
This thread is locked. New replies are disabled.
12 Oct 2006, 10:15 PM
#1
oavs avatar

oavs

Totally Zenned

Join Date:
Jan 2006
Location:
Downunder - QLD - Gold Coast
Posts:
921
Plugin Contributions:
0

If my large image pop up opening 100% what can I do?

Hi

My large popup NOT opening 100%. Can some one please look and advise?
here is the URL http://www.arthq.com.au/store/

Many thanks in advance

Downunder QLD

13 Oct 2006, 1:46 AM
#2
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,684
Plugin Contributions:
0

Re: If my large image pop up opening 100% what can I do?

Have you modified the pop-up code or are you using Image Handler?

Please do not PM for support issues: a private solution doesn't benefit the community.

Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

13 Oct 2006, 3:40 AM
#3
oavs avatar

oavs

Totally Zenned

Join Date:
Jan 2006
Location:
Downunder - QLD - Gold Coast
Posts:
921
Plugin Contributions:
0

Re: If my large image pop up opening 100% what can I do?

Thanks so much for answering as I got nowhere in the IH2 posts.

I am basicly building a frame around the images with an option to change frame color but I need to get this pop up size corrected first. As I said it works 100% without the extra divs I have added. ... and I need those divs there to build the picture frame effect.

Normally it open in fit-to-size but I have some divs around the image and some text below the image and the div and the image will not open 100%.

here is the code after the mod. (As you can see secondary problem or solution I will need will be how to change the border color using mouse over CSS.) and yes I am using image handler 2.

<body id="popupAdditionalImage" class="centeredContent" onLoad="resize();"> <div> <?php // $products_values->fields['products_image'] if (file_exists($_GET['products_image_large_additional'])) { echo '<a href="javascript:window.close()">' . zen_image($_GET['products_image_large_additional'], $products_values->fields['products_name'] . ' ' . TEXT_CLOSE_WINDOW) . '</a>'; } else { echo '<a href="javascript:window.close()">' . zen_image(DIR_WS_IMAGES . $products_image, $products_values->fields['products_name'] . ' ' . TEXT_CLOSE_WINDOW) . '</a>'; } ?> </div> <div align="center"> <a href="#"><span class="popupImageBgBlu">Blue</span></a> <a href="#"><span class="popupImageBgRed">Red</span></a> <a href="#"><span class="popupImageBgGre">Green</span></a> </div> </body>

Downunder QLD

13 Oct 2006, 6:19 AM
#4
oavs avatar

oavs

Totally Zenned

Join Date:
Jan 2006
Location:
Downunder - QLD - Gold Coast
Posts:
921
Plugin Contributions:
0

Re: If my large image pop up opening 100% what can I do?

Kim:

Have you modified the pop-up code or are you using Image Handler?

Kim I need your help please.

Regardless og IH2 If I enter my <div> it still behaves the same without opening 100%. I understand if you do not want to comment on the mods but if you look the code that you will see regardless of the IH2 code it will still not open 100%.

I need a direction where I can look and fix this problem please :-)

Downunder QLD

17 Oct 2006, 10:39 AM
#5
oavs avatar

oavs

Totally Zenned

Join Date:
Jan 2006
Location:
Downunder - QLD - Gold Coast
Posts:
921
Plugin Contributions:
0

Re: If my large image pop up opening 100% what can I do?

great stuff..

Downunder QLD

17 Oct 2006, 2:59 PM
#6
vger avatar

vger

Past Contributor

Join Date:
Nov 2004
Location:
Norfolk, United Kingdom
Posts:
3,189
Plugin Contributions:
0

Re: If my large image pop up opening 100% what can I do?

You'll need to modify the pop-up code to well beyond 100% to allow for the fact that you're pulling in not just the image but the frame as well.

Vger

17 Oct 2006, 8:56 PM
#7
oavs avatar

oavs

Totally Zenned

Join Date:
Jan 2006
Location:
Downunder - QLD - Gold Coast
Posts:
921
Plugin Contributions:
0

Re: If my large image pop up opening 100% what can I do?

Thank you.

Now I know why cats and birds do not mix :-)

Can you please tell me where would I find the pop up code? and If I did increase its size would that mean that it may not work if the image sizes are in varing sizes?

Thanks or I should say .. meaw

Downunder QLD

18 Oct 2006, 12:15 AM
#8
vger avatar

vger

Past Contributor

Join Date:
Nov 2004
Location:
Norfolk, United Kingdom
Posts:
3,189
Plugin Contributions:
0

Re: If my large image pop up opening 100% what can I do?

Well, there's this one:

includes\templates\template_default\popup_image\tpl_main_page.php

Vger

18 Oct 2006, 12:21 AM
#9
oavs avatar

oavs

Totally Zenned

Join Date:
Jan 2006
Location:
Downunder - QLD - Gold Coast
Posts:
921
Plugin Contributions:
0

Re: If my large image pop up opening 100% what can I do?

yes I know that but there is no way of controlling or overriding javascript page opening size on the page.

Downunder QLD