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>