This is what I have:
PHP Code:
// bof image added by inkuyo -->
echo ' <td class="dataTableContent" align="center" valign="top">' .zen_image(DIR_WS_CATALOG_IMAGES . zen_get_products_image( $order->products[$i]['id'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT)) . '</td>' . "\n";
// eof image added by inkuyo <--
Is there w away to call the image w/o having it nested? I think that is sloppy.
I made the mod for the admin catalog images but I used this code for that:
PHP Code:
echo '<br>'. zen_image(DIR_WS_CATALOG_IMAGES . $categories->fields['categories_image'] , SMALL_IMAGE_HEIGHT, SMALL_IMAGE_WIDTH)
The 2nd code did not seem to work though for the invoice. Not totally sure what variables use.