Changeset 6303
- Timestamp:
- 12/09/07 08:21:10 (2 years ago)
- File:
-
- 1 edited
-
trunk/trac/wiki/default-pages/WikiFormatting (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/trac/wiki/default-pages/WikiFormatting
r6298 r6303 271 271 Urls ending with `.png`, `.gif` or `.jpg` are no longer automatically interpreted as image links, and converted to `<img>` tags. 272 272 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. 279 284 280 285
Note: See TracChangeset
for help on using the changeset viewer.
