[ic] usertag image: Does it work?

Jonathan Clark interchange-users@icdevgroup.org
Wed Sep 11 04:12:02 2002


> I have attempted to use the usertag
> image and seem to be running into a
> problem. I have attempted to use
>
> [image [loop-field image] imagesubdir=thumb]
>

This won't work. You have a parameter with a space in it. You
need:Interchange will treat this as you passing three parameters.

[image src="[loop-field image]" imagesubdir=thumb]

> [image [item-field image]
> imagesubdir=thumb]
>
> [image [item-code]]
> [image [loop-code]]

This is correct syntax and should work, assuming that [item-code] or
[loop-code] is set, and is either a valid filepath or an sku in the products
table.

> and many more variations.
> I am not sure if this is a
> working tag since a search
> in the docs for image.tag
> or image tag have nothing
> The only info outside of the
> list was perldoc in the
> usertag itself

Yes, many things in interchange are self-documenting. The usertag file
itself is the best place to look.

>
> Please let me know if this is
> a working tag or not, I was certian
> that this tag was simple.
>
> If it does work, then what the
> heck am I doing wrong.
>
> all of my images are named
> not from the sku. So sku
> image name should not work.

have you tried:

	[image src=/path/to/image/file.gif]
or
	[image os28004]

to see if it works without passing ITL to it? The path is in html space. You
would also need to have IMAGE_DIR set correctly.

good luck!

Jonathan
Webmaint.