#6673 Handle github images/files within the wiki

unreleased
open
nobody
General
nobody
2013-09-19
2013-09-19
No

Copied from https://sourceforge.net/p/allura/tickets/6534/#9e5f/6c13/82b8/6599/29c1

You can have any type of file in the wiki repo and can reference it from the page. When referencing image from the page text it ends up embeded into a page, and when referencing something else (e.g. pdf) it just displayed as link to the file.

I've created example page showing this capabilities https://github.com/jetmind/dot/wiki/Files

Source looks like this:

[[Example pdf|example.pdf|width=400px]]

[[Link to image|/image.jpg|width=400px]]

[[image.jpg|frame|alt=hello|width=400px]]

[[http://eofdreams.com/data_images/dreams/image/image-07.jpg|width=400px]]

Also, when embedding an image there are couple of available options (like show in frame, resize, align, etc). Don't sure if we can convert all of those.

I think we can upload such files as attachments to pages from where they are referenced, and convert links/embedd tags to markdown format.

Related

Tickets: #6534

Discussion


Log in to post a comment.