by Jim » Thu Dec 08, 2011 3:01 pm
You will probably have to use one of the extra fields of the product for the image id, unless you know of a way to parse the attributes of the image in javascript and extract it from there.
Would it be possible to use the image name itself as the image id? Then you could use the template tag [--image product.graphic --] to get the image name and assign that to the imageid.