[ic] UI and display of product images in UI::item edit page

Niels Svennekjær linux at post10.tele.dk
Thu Feb 17 08:25:32 EST 2005


In the item edit page in the UI, there are a 'Product images' line that 
displays image and thumb, IF the image names are SKU.gif and SKU_b.gif.

I would like the <img src=...> to be the one of the table 
products:image, but how ?

I have been looking on mv_metadata::products/extended, where there 
(among other things) are following lines

   <td><a href=\"javascript:mvpan_tripTab(2)\"><img border=0 id=item_img 
src=\"[var IMAGE_DIR]/items/[cgi item_id}.gif\"></a></td>
   <td><a href=\"javascript:mvpan_tripTab(2)\"><img border=0 
id=thumb_img src=\"[var IMAGE_DIR]/thumb/[cgi item_id]_b.gif\"></A></td>

How can I replace [cgi item_id] with to get the products:image data 
instead ?

I have tried different things, but I don't really know what the UI knows 
and can evaluate at this point..

- neils

More information about the interchange-users mailing list