Edgewall Software
Modify

Opened 11 years ago

Closed 9 years ago

Last modified 8 years ago

#10022 closed enhancement (worksforme)

Add a caption parameter to the Image macro

Reported by: Ryan J Ollos <ryano@…> Owned by:
Priority: normal Milestone:
Component: wiki system Version: 0.12dev
Severity: normal Keywords: bitesized
Cc: Mikael Relbe Branch:
Release Notes:
API Changes:
Internal Changes:

Description

It would be nice if a caption could be passed to the Image macro and added above or below the image.

Further enhancements could include:

  • An anchor on the caption.
  • Option for automatic generation of Figure N: prefixes for all of the captions on the page.

Attachments (0)

Change History (7)

comment:1 by Remy Blank, 11 years ago

Keywords: bitesized added
Milestone: unscheduled

comment:2 by kenneth.dammyr@…, 10 years ago

Supported!

A caption would improve the general look of the entire wiki-page, making it more inviting to read.

comment:3 by Ryan J Ollos <ryano@…>, 9 years ago

Abandoned plugin that implements this feature: th:TracFigureMacro.

comment:4 by Christian Boos, 9 years ago

Also, see #!imagebox WikiProcessor from TH:WikiExtrasPlugin.

The idea of generating ids and anchors is interesting and could probably share a few mechanisms with the footnotes (also: a related macros for creating a list of figures).

in reply to:  3 comment:5 by Christian Boos, 9 years ago

Replying to Ryan J Ollos <ryano@…>:

Abandoned plugin that implements this feature: th:TracFigureMacro.

Now hosted in a fossil repository trac-figure … Nice ;-)

in reply to:  description comment:6 by Christian Boos, 9 years ago

Cc: Mikael Relbe added
Resolution: worksforme
Status: newclosed

Replying to Ryan J Ollos <ryano@…>:

It would be nice if a caption could be passed to the Image macro and added above or below the image.

Further enhancements could include: […]

I think the ImageBox from TH:WikiExtrasPlugin is ideally suited for this.

Mikael: so what about preparing a TracDev/Proposals for integration of this plugin into tracopt/wiki/ ;-) We could work out there the little details that need to be addressed for this to happen.

comment:7 by Christian Boos, 8 years ago

Milestone: unscheduled

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The ticket will remain with no owner.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from (none) to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.