Papazol » 21 окт 2012, 14:03
To caddis
To store images linked to relative path, you must have a separate folder, or multiple folders. It is better if these folders will be located inside the main directory SASPlanet, as the paths are written relatively to this particular directory. Folder names can be arbitrary.
The default folder is "MediaData" inside folder with the executable file, but if you want to change the name, you will need to create a new section in SASPlanet.ini describing the beginning of path to images (before editing the ini-file you should close SAS.Planet). For example, we have created one folder "pictures" and want to put into it all the images. Then we write:
[PATHtoMediaData]
PrimaryPath =.\pictures
This entry indicates that the beginning of the path to image files, denoted in the tags by the word "Mediadata", located in the SASPlanet\pictures folder. You can also specify the full path, for example, PrimaryPath=D:\media\pictures.
Now to attach labels to images from a folder "pictures" write tags like this:
<img src="sas://MediaData/image.jpg"/>
If we want to sort the images in different folders according to some features, such as the seasons, we create a folders within a folder "pictures": "winter", "spring", "summer", "autumn", and to attach to the label images from a folder, for example, "spring", write tag like it:
<img src="sas://MediaData/spring/image.jpg"/>
This info from WikiSASsia, translated to English by Google Translator with my little help.