|Version 22 (modified by 10 months ago) ( diff ),|
Welcome to Trac
Trac is a minimalistic approach to web-based management of software projects. Its goal is to simplify effective tracking and handling of software issues, enhancements and overall progress.
Embed an image in wiki-formatted text.
The first argument is the file specification. The file specification may reference attachments in three ways:
module:id:file, where module can be either wiki or ticket, to refer to the attachment named file of the specified wiki page or ticket.
id:file: same as above, but id is either a ticket shorthand or a Wiki page name.
fileto refer to a local attachment named 'file'. This only works from within that wiki page or a ticket.
The file specification may also refer to:
- repository files, using the
- files, using direct URLs:
/filefor a project-relative,
//filefor a server-relative, or
http://server/filefor absolute location. An InterWiki prefix may be used.
- embedded data using the
dataURL scheme, provided the URL is enclosed in quotes.
The remaining arguments are optional and allow configuring the attributes
and style of the rendered
- digits and unit are interpreted as the size (ex. 120px, 25%) for the image
middleare interpreted as the alignment for the image (alternatively, the first three can be specified using
align=...and the last three using
link=some TracLinks...replaces the link to the image source by the one specified using a TracLinks. If no value is specified, the link is simply removed.
inlinespecifies that the content generated be an inline XHTML element. By default, inline content is not generated, therefore images won't be rendered in section headings and other one-line content.
nolinkmeans without link to image source (deprecated, use
key=valuestyle are interpreted as HTML attributes or CSS style indications for the image. Valid keys are:
- align, valign, border, width, height, alt, title, longdesc, class, margin, margin-(left,right,top,bottom), id and usemap
margin-* can only be a single number (units are pixels).
marginis superseded by
centerwhich uses auto margins
[[Image(photo.jpg)]] # simplest [[Image(photo.jpg, 120px)]] # with image width size [[Image(photo.jpg, right)]] # aligned by keyword [[Image(photo.jpg, nolink)]] # without link to source [[Image(photo.jpg, align=right)]] # aligned by attribute
You can use an image from a wiki page, ticket or other module.
[[Image(OtherPage:foo.bmp)]] # from a wiki page [[Image(base/sub:bar.bmp)]] # from hierarchical wiki page [[Image(#3:baz.bmp)]] # from another ticket [[Image(ticket:36:boo.jpg)]] # from another ticket (long form) [[Image(source:/img/bee.jpg)]] # from the repository [[Image(htdocs:foo/bar.png)]] # from project htdocs dir [[Image(shared:foo/bar.png)]] # from shared htdocs dir (since 1.0.2)
Adapted from the Image.py macro created by Shun-ichi Goto <gotoh@…>
All aspects of Trac have been designed with the single goal to help developers write great software while staying out of the way and imposing as little as possible on a team's established process and culture.
As all Wiki pages, this page is editable, this means that you can modify the contents of this page simply by using your web-browser. Simply click on the "Edit this page" link at the bottom of the page. WikiFormatting will give you a detailed description of available Wiki formatting commands.
"trac-admin yourenvdir initenv" created a new Trac environment, containing a default set of wiki pages and some sample data. This newly created environment also contains documentation to help you get started with your project.
TracGuide is a good place to start.
The Trac Team
- TracGuide -- Built-in Documentation
- The Trac project -- Trac Open Source Project
- Trac FAQ -- Frequently Asked Questions
- TracSupport -- Trac Support
For a complete list of local wiki pages, see TitleIndex!
How to quickly set up Trac on an empty virtual machine:
) - added by 19 months ago.
testing file attachment. enjoy this scenic vista of tatooine.
) - added by 17 months ago.
Testing features to decide whether or not to use Trac 1.4 for guest contributors at Merry Themes
- test.txt (4 bytes ) - added by 8 months ago.
- ТК ТК.docx (11.6 KB ) - added by 2 months ago.
Download all attachments as: .zip