PDA

View Full Version : Missing Images


martinh
21-Jun-2005, 05:09 PM
I am trying to include a manufacturers logo with each product within a store and have created a customvar called "manuflogo" (ironically). I have altered the ACT_productline.html template to include this customvar.

Set the Custom Properties as Searchable No , Use as customvar Yes , File name Yes and the image name as the value (with extension).

The image files are within the main site1 directory. I can't get the images to preview. What am I missing ? Is it the file path ? At present it is set to "manufaclogo.jpg".

Thanks in advance

Martin

NormanRouxel
21-Jun-2005, 05:24 PM
You just need the file name in there. Actinic will take care of adding a path when Previewing.

Do a Preview and then a View Source of your page to see what's being generated.

fergusw
21-Jun-2005, 05:30 PM
Check that you have included the CUSTOMVAR inside hte <img src="CUSTOMVAR:MANUFLOGO"> html in the template otherwise the image will not display on the browser page.

If you have then Norman's advice on finding out where the browser is looking for the file in the preview is the best way to indentify if the image is in the location it should be.

martinh
01-Jul-2005, 02:34 PM
Thanks everyone - sorry for the delay - it now works fine (it would appear that it was the preview pages not pullingthe image from the right place. Changed source code to "/image.jpg" and it works fine now.

Martin