| 273 | | You now have to use the ![[Image]] macro The simplest way to include an image is to upload the image and put the filename in a macro call like so ![[Image(dress.gif)]]. |
| 274 | | |
| 275 | | for example: [[Image(dress.gif)]] |
| 276 | | |
| 277 | | |
| 278 | | (or see TracWikiMacros for the syntax). |
| | 273 | You now have to use the ![[Image]] macro. The simplest way to include an image is to upload it as attachment to the current page, and put the filename in a macro call like `[[Image(picture.gif)]]`. |
| | 274 | |
| | 275 | In addition to the current page, it is possible to refer to other resources: |
| | 276 | * `[[Image(wiki:WikiFormatting:picture.gif)]]` (referring to attachment on another page) |
| | 277 | * `[[Image(ticket:1:picture.gif)]]` (file attached to a ticket) |
| | 278 | * `[[Image(htdocs:picture.gif)]]` (referring to a file inside project htdocs) |
| | 279 | * `[[Image(source:/trunk/trac/htdocs/trac_logo_mini.png)]]` (a file in repository) |
| | 280 | |
| | 281 | Example display: [[Image(htdocs:../common/trac_logo_mini.png)]] |
| | 282 | |
| | 283 | See TracWikiMacros for further documentation on the `[[Image()]]` macro. |