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

Edit | Attach | Watch | Print version | History: r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r3 - 2003-09-13 - ArthurClemens
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2017 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.