Zen Cart Logo
Forums / All Other Contributions/Addons / What is the function to generate image file name in IH2?

What is the function to generate image file name in IH2?

Locked

Views: 828

Results 1 to 1 of 1
This thread is locked. New replies are disabled.
16 Dec 2007, 12:54 PM
#1
suman07 avatar

suman07

New Zenner

Join Date:
Dec 2007
Posts:
62
Plugin Contributions:
0

What is the function to generate image file name in IH2?

Hello
I downloaded Image Handler to add in my project. But I could not find which function generates the image filename because I need it to include in a separate page.
I used

include ("../includes/functions/extra_functions/functions_bmz_io.php");
include ("../includes/extra_configures/bmz_io_conf.php");
$image=getCacheName($rs['products_image'],".jpg");

Here $rs['products_image'] is a row from jewelry_products table
my SQL goes like this
$sql="SELECT * FROM jewelry_products WHERE master_categories_id=".$catid."";
But $image's value is not matched with the actual path.
Has anybody idea about it?
Thank You