I've a built simple page that displays only the product's info, basically the center column minus navigation, price, add to cart buttons and other links.

I made this so I can put a link on my third-party site listings (such as eBay, amazon, etc) and when people click on it, it will open a new page showing only the product info, since putting a link to the regular ZC product page would be against the rules.

I put this script in my store's root directory and will put links in my third-party site listings using the products model or id something like this:
myzcstore/display_product_info?products_id=id_here or
myzcstore/diplay_product_info?model=model_here

Everything works perfectly, except I'm having trouble getting the product image. I'd like to use the medium image.

My php knowledge is really limited so this might be something simple, but it's been really hard for me.


Does anyone know what function/code is needed to get the medium image?

Using the zen_get_products_image($products_id) only retrieves the small image.

I've tried using this other line I found in tpl_modules_main_product_image.php
PHP Code:
echo '<a href="' zen_href_link(FILENAME_POPUP_IMAGE'pID=' $_GET['products_id']) . '" target="_blank">' zen_image($products_image_medium$products_nameMEDIUM_IMAGE_WIDTHMEDIUM_IMAGE_HEIGHT) . '<br />' TEXT_CLICK_TO_ENLARGE '</a>'
This hasn't worked either.
Could someone please help me figure this out?

Thanks.