Created How to Add Images to a Project (markdown)

Curtis Gedak 2019-06-04 10:50:56 -06:00
parent b453087cd5
commit 02f0773bbb

@ -0,0 +1,63 @@
## How to Add Images to Manuskript Project
To reference images with current versions of Manuskript be sure to store the images outside of the project file(s) and directories.
One option is to store the images in a directory at the same level as the `project.msk` file. For example:
- Create an `images` folder at the same directory level as the `project.msk` file
- To reference an image use: `![My Image One Title](images/myimage1.jpg)`
With setting "_Save to one single file_" enabled this looks like:
```
.
|
+-- images --+-- myimage1.jpg
| |
| +-- ...
|
+-- myproject.msk
```
With setting "_Save to one single file_" disabled this looks like:
```
.
|
+-- images --+-- myimage1.jpg
| |
| +-- ...
|
+-- myproject --+-- infos.txt
| |
| +-- labels.txt
| |
| +-- ...
| |
| +-- outline --+-- ...
| | |
| | +-- ...
| |
| +-- ...
| |
| +-- world.opml
|
+-- myproject.msk
```
If the project was intended to be published on the web then you might compile/export the project as HTML and then place the `project.html` and `images` folder at the same location on the web server.
On a web server this might look like:
```
.
|
+-- images --+-- myimage1.jpg
| |
| +-- ...
|
+-- myproject.html
```