RedmineAttachedFiles » History » Version 3

« Previous - Version 3/7 (diff) - Next » - Current version
Etienne Massip, 2013-04-11 22:06


Redmine Attached Files

Introduction

Attached files can be added to different resources within the Redmine system:

Usage

Inline Images

Attached files can be shown within the parent page by targeting it's name via image url (i.e. !attached_image!).

Non plain text files

Keep in mind there is a dedicated documents module for storing technical and user documentation that can be linked via the wiki and a dedicated files module for publishing versions of the tracked project, as a bundle (release).

However, if that doesn't fit the bill, file upload support provides a way to distribute any file for user download.

File storage

Uploaded attached files are stored in <Redmine install dir>/files directory subdirectories named after the year the file has been uploaded.

The uploaded file name is prefixed with a unique id based on it's parent for directory storage. Multiple files can be uploaded with the same name, however a link within the wiki will only show the most recently uploaded one.

Attach files form

Regardless where an attached file is added, the input form is as shown below. Adding multiple attached files at once is possible using the "Add another file" link.

The optional description is used for an alt text if the image is shown using !image_url! within the parent.

Upload file input form

Files added via "New File"

At the bottom of many of the pages in Redmine is a "New File" link. Attaching a file makes that page the parent of the file and it is limited in scope to that page.

See the Usage section for more information.

UploadFile.png - Upload file input form (13.2 KB) Mischa The Evil, 2010-10-17 06:08

Be_Funky_Collage2.jpg (285 KB) Ashamol E, 2018-01-30 06:08

logo.png (6.36 KB) Ashamol E, 2018-01-30 06:10

O1.htm Magnifier (11.7 KB) Ashamol E, 2018-02-13 10:22