We relaunched the TWiki.org project with an expanded TWiki charter, and we invite you to participate! The TWiki.org Code of Conduct agreement took effect on 27 Oct 2008. We ask existing twiki.org users to opt-in. You must opt-in to participate in the Blog, Codev, Plugins and TWiki webs. -- PeterThoeny - 27 Oct 2008
Tags:
archive_me1Add my vote for this tag create new tag
, view all tags
It is now possible to define the format of the link of attached files and images in the TWikiPreferences and user preferences. This only applies when you checkmark the link check box in the attach screen.

In case you want to try it out before the next Beta is out you can set this in the preferences:

  • Format of file link when the link check box is checked: (can be overwritten by user preferences)
    • Set ATTACHEDFILELINKFORMAT = \t* $name: $comment
    • Note: Keyword $name gets expanded to filename; $comment to comment; \t to tab (3 spaces for bullets).

  • Format of images when the link check box is checked: (can be overwritten by user preferences)
    • Set ATTACHEDIMAGEFORMAT = \t* $comment:
      $name
    • Note: Above image is shown as broken, it gets expanded correctly when you attach an image.
    • Note: Keyword $name gets expanded to filename; $comment to comment; $size to width="..." height="..." attribute of img tag; \t to tab (3 spaces for bullets).

Hard-coded formatting is used in case the preferences settings are missing.

Commited to TWikiAlphaRelease.

-- PeterThoeny - 16 Aug 2001

See also: AttachedImageDefaultAltText

Topic revision: r3 - 13 Sep 2003 - 14:21:12 - ArthurClemens
 
TWIKI.NET
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback