Edgewall Software

Changes between Version 87 and Version 88 of WikiFormatting


Ignore:
Timestamp:
Dec 9, 2007, 7:43:44 AM (15 years ago)
Author:
osimons
Comment:

Updating the text on [[Image()]] macro to leave out dependency on attachment - difficult to include when updating a default page in Trac installations.

Legend:

Unmodified
Added
Removed
Modified
  • WikiFormatting

    v87 v88  
    271271Urls ending with `.png`, `.gif` or `.jpg` are no longer automatically interpreted as image links, and converted to `<img>` tags.
    272272
    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 WikiMacros for the syntax).
     273You 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
     275In 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
     281Example display: [[Image(htdocs:../common/trac_logo_mini.png)]]
     282
     283See TracWikiMacros for further documentation on the `[[Image()]]` macro.
    279284
    280285
     
    291296 [[Timestamp]]
    292297
    293 See WikiMacros for more information, and a list of installed macros.
     298See TracWikiMacros for more information, and a list of installed macros.
    294299
    295300
     
    376381
    377382----
    378 See also: TracLinks, TracGuide, WikiHtml, WikiMacros, WikiProcessors, TracSyntaxColoring.
     383See also: TracLinks, TracGuide, WikiHtml, TracWikiMacros, WikiProcessors, TracSyntaxColoring.