image problem

pied

New member
Joined
Sep 17, 2007
Messages
1
Hello,

I am having a problem with adding images. What I have done so far:
- add the image to the files_user.conf file: IMG_SKIN_HEADER_SUB=images/header-sub.gif
-insert the code to the file header-bar.html:
<img src="/|LANG_IMG_SKIN_HEADER_SUB|"> and also tried:
<img src="/|IMG_SKIN_HEADER_SUB|">

I just don't get it to work. When I check the properties for the image (right click mouse) the adres is: http://www.domain.nl:2222/none.

Can somebody tell me what I forget to do, or do wrong? I am using the Dutch version of the enhanced skin.

Thanks,
Peter Bakker
 
If I remember right...

You have to define it in a couple of places for it to display. You define the image in one of the .conf (files_admin.conf, files_reseller.conf & files_user.conf) like this:

MY_NEW_IMG=images/yourimage.gif

There should be other images defined like this, so if you want group your new ones where the other ones are defined.

Then define it in your language folder in the if_images.html file:

LANG_IMG_SKIN_NEW_IMAGE=MY_NEW_IMAGE

Then you can call the image in your html like this:

<img src="/|LANG_IMG_SKIN_NEW_IMAGE|">

I hope this works for you, I kinda messed around until I was able to get my own images to appear and this is how I was able to do it.
 
Back
Top