Image on a Form

Contains tips for configurators working with Aware IM
Post Reply
[email protected]
Posts: 278
Joined: Tue Aug 05, 2008 3:16 pm

Image on a Form

Post by [email protected] »

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.
kklosson
Posts: 1628
Joined: Sun Nov 23, 2008 3:19 pm
Location: Virginia

Post by kklosson »

I've never tried it but can you put an HREF tag in an HTML form item?
[email protected]
Posts: 278
Joined: Tue Aug 05, 2008 3:16 pm

Yep

Post by [email protected] »

Yes, you can. I just don't know where to put the image so that it works.
aware_support
Posts: 7525
Joined: Sun Apr 24, 2005 12:36 am
Contact:

Post by aware_support »

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" ... >
Aware IM Support Team
Post Reply