Right now, when a customer hits a product.. it shows the product with a preview image and "Click for Larger" image link. When the customer clicks the "Larger Image", a popup with the large product opens up.
I wrote my own script to do something else, but I need the source of the image.
I.E, the source link of the large image to pass into my function.
displayImage(source_of_large_image);
I'm trying to make sense of this:
Code:echo '<a href="' . zen_href_link(FILENAME_POPUP_IMAGE, 'pID=' . $_GET['products_id']) . '" target="_blank">' . zen_image($products_image_medium, $products_name, MEDIUM_IMAGE_WIDTH, MEDIUM_IMAGE_HEIGHT) . '<br><div class="imgLink">' . TEXT_CLICK_TO_ENLARGE . '</div></a>';
I tried using zen_image($products_image_medium, $products_name, MEDIUM_IMAGE_WIDTH, MEDIUM_IMAGE_HEIGHT) but that gives me the entire thing with tags and all(<img src="" title...>). In addition, when I call this function the source is blank. All I care about is the source, physical path of the image.
Thank you in advance!




