Thanks, that worked great!

As it turns out a quick way to do this without much typing is to go to the 
attachment details and simply copy the Image button link.
Then, put this inside a <img src="xxx"> tag
(where xxx is the copied link, but delete everything before the /raw -- 
usually, localhost:8080)

-----Original Message----- 
From: Andy Bradford 
Sent: Thursday, October 22, 2015 7:36 AM 
To: Tony Papadimitriou 
Cc: Fossil SCM user's discussion 
Subject: Re: [fossil-users] Questions about wiki linking to non-branch artifact 
IDs/images 

Thus said "Tony Papadimitriou" on Mon, 19 Oct 2015 16:24:49 +0300:

> My question is how  can I add this image to the repo  in a way that it
> is not part of any branch or ticket (e.g., attachment to a ticket)?

Attach it to the  Wiki page. Then add an img tag to  the Wiki page using
the /raw command:

<img src="/raw/UUID?m=image/jpeg">

You can get the  UUID of the artifact by clicking on  the details of the
attachment.

Here's documentation on the /raw command:

http://www.fossil-scm.org/index.html/help?cmd=/raw

Fossil proper  actually uses  Embedded Documentation  via /doc  to serve
images  within  its   pages.  For  example,  all  the   images  in  this
documentation are in the www repository directory, but served via /doc:

http://www.fossil-scm.org/index.html/doc/trunk/www/branching.wiki

Andy
-- 
TAI64 timestamp: 40000000562867dc
_______________________________________________
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to