DSA-3110 Hotspot Edition – User Manual
Images
There are several ways to add an image to a page. Two of them (through the
img
tag in the markup
code and through css) are described below.
In markup code
When you specify an image directly in the markup code (not in the css-file), for example, in the
img
tag, you should specify the prefix
templates/user
before the name of the file, as the CGI program is
located in the directory
/var/www
, and all files uploaded by a user are located in the
/var/www/templates/user/
.
Example:
<img src="templates/user/ttt.jpg" alt="ttt" />
Through css
To add an image, specify the name of the file containing the image in the css-file without any
prefixes.
Example:
div{
color: #FF0000;
background-image: url('ttt.jpg');
}
Other Files (xml, txt)
Other files are located in the same directory –
/var/www/templates/user/
. Using such files, note
that the CGI program is located in the directory
/var/www
.
Page 61 of 61