Image on a Form
-
- Posts: 278
- Joined: Tue Aug 05, 2008 3:16 pm
Image on a Form
I want to insert an image onto a form. Where should I put the image file on the server within the AwareIM file structure? I use the same image in menus and things like that. I would hope that I can just point to that image so as to not have to copy the images back over everytime I upgrade the version of AwareIM.
-
- Posts: 278
- Joined: Tue Aug 05, 2008 3:16 pm
Yep
Yes, you can. I just don't know where to put the image so that it works.
-
- Posts: 7525
- Joined: Sun Apr 24, 2005 12:36 am
- Contact:
Well, if you are using href than the reference to the image will be external to Aware IM and you will have to worry about providing the image with your software.
The root directory for external resources such as images in Aware IM is AwareIM/Tomcat/webapps/AwareIM. So if you put an image into this directory you can refer to it as: <img src="myimage.jpg" ... >
You can also create a sub-folder under this directory and refer to the image like this:
<img src="myfolder/myimage.jpg" ... >
The root directory for external resources such as images in Aware IM is AwareIM/Tomcat/webapps/AwareIM. So if you put an image into this directory you can refer to it as: <img src="myimage.jpg" ... >
You can also create a sub-folder under this directory and refer to the image like this:
<img src="myfolder/myimage.jpg" ... >
Aware IM Support Team