PDA

View Full Version : Customvar images


shagon
18-Aug-2005, 07:37 PM
Hi all,

Can anyone help me? I’m trying to design my product line template and have added a couple of custom variables so that I can add 2 extra images to the template.

My code on the template is:
<td valign="middle" align="center" width="90" height="90"><img src="CUSTOMVAR:DETAIL1"></td>

And on the product line in the catalogue I have added the custom variable and in the value field I have the image name “STAPER1.gif”. this file is being stored in the Site1 directory.

I think that the code is working because when I preview the site I get a red X were the image should be, like it can’t find the image.

Can anyone help me its driving me nuts and I just can’t see what’s wrong.

Help

wjcampbe
18-Aug-2005, 08:43 PM
Did you include the quotes in the variable value? If yes, then remove them and try it again.

If not, can you provide the url for the page with the problem so we can have a look.

shagon
18-Aug-2005, 09:42 PM
HI

No i didnt include the quotes.

Here is the link to the page.

http://www.shagon.co.uk/acatalog/Professional_Hair_Clippers.html

Like i said the code seems to be working, it cart find the image

pinbrook
18-Aug-2005, 09:48 PM
Does Actinic upload customvar images, or do you need to add them to Additional Files to get them to the webserver?

wjcampbe
18-Aug-2005, 10:27 PM
When I look at the source code I see scr=" " - no file name, which would indicate the Customvar is not being loaded properly. Can you go to one of your products and check
1) that on the properties tab, you have the two customvars listed
2) that each is ticked in the 'use as customvar colum'

NormanRouxel
19-Aug-2005, 08:30 AM
To get Actinic to upload these images via CUSTOMVAR's they should be in Site1, and you need to check Is File Name and uncheck Use File Content.

Also, if using Business, you need to uncheck Searchable and check Use as CUSTOMVAR.