[Date Prev][Date Next][Thread Prev][Thread Next][Interchange by date
][Interchange by thread
]
[ic] Re: Path in javascript function
>> But I would like to see:
>> bild2.src=3D"/kabelshop/images/deutsch/foundation/pic_allg/pic_wahl.gif"
>>=20
>> Where is the first part (/kabelshop/images/deutsch/) gone ?
>>=20
>> I tested this again and again. What am I doing wrong ?
>=20
> Interchange parses most of the HTML tags with image URLs and
> prepends them with the ImageDir configuration value. In a
> foundation-based catalog try:
>=20
> bild2.src=3D"__IMAGE_DIR__/__THEME_IMG_DIR__pic_allg/pic_nwahl.gif";
>=20
> Ciao
> Racke=20
>=20
Hi,
thanks for the hint but now I get
bild2.src=3D"/kabel_shop_local/images/foundation/pic_allg/pic_nwahl.gif";
In my catalog.cfg I set:
# Set the image path for relative images
ImageDir __IMAGE_DIR__
ImageDirInternal http://__SERVER_NAME____IMAGE_DIR__
# Establish the default at startup
ImageDir /kabel_shop_local/images/deutsch/
Locale de_DE ImageDir /kabel_shop_local/images/deutsch/
Locale fr_FR ImageDir /kabel_shop_local/images/france/
Locale en_US ImageDir /kabel_shop_local/images/english/
But I think that=B9s nothing special.
So why the difference inside javascript. I think the code should be
interpreted in both cases the same way.
Best regards
G=F6tz Verdieck
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
Goetz.Verdieck@com4office.de