On Tue, Sep 15, 2015 at 6:18 PM, The Tick <the.t...@gmx.com> wrote:
>
> I did run across a way to embed an image that is checked in as part of a
> project:
> http://stackoverflow.com/questions/3982999/fossil-how-to-display-checked-in-image-files-on-wiki-pages
>
> However, if I do that, then the image would be included in the project
> download, right? I guess one small image would not be that big a deal, but
> it would be good to not foist unnecessary files on users.
>

What about your project's "user manual"? Screenshots are often included, so
would be reasonable to include in the source "tarball".

FYI, Fossil can automatically create "tarballs" of the files in the
repository for a specified version, which defaults to the latest.

I suppose a work-around would be to add the image(s) to a specific version
of your project, commit that version, then remove (rm) the image(s) from
the next version and commit that. Then your pages can link to the image(s)
at that specific version of your project, while the automatically made
tarballs would not have it/them.

Also, besides Fossil created tarballs, your project's build procedure can,
possibly should, create release packages. Such packages would contain only
what you choose to put in them. (But, see below.) The specific version
"trick" I described would work for these, as well as images.


> I'd like to put a small screenshot image to illustrate the project's GUI.
> Eventually, I will use Chisel to host this project, so perhaps there's a
> way to host an image file outside of a project's repository? (And, of
> course, to reference the image with an <img...> tag.)
>

As best I can tell, ChiselApp.com doesn't provide for hosting files outside
of a Fossil repository. So, if you need to host files (images, release
packages, other) outside of a Fossil repository, you will need some other
arrangement. Unfortunately, I don't have any recommendations for "general
purpose" image /file hosting. Although photo sharing sites like photobucket
would *technically* work, using one that way might be against the terms of
service.
_______________________________________________
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