On Wed, 21 Feb 2018 01:13:34 GMT, John Smith wrote:

(...)

 img(src=f)

as shown here: upload test

I'm not sure if it's something silly I'm overlooking, or a fundamental concept I just don't know about. The vibed-github didn't seem to have anything in the examples, nor in the docs, unless i missed it.

Also keep in mind this is just a quick and dirty prototype to get things working.
But I'd appreciate any advice/insight for a more "proper" version.

Thanks in advance.

The problem lies in DirEntry.name storing the full relative path of the image (e.g. "./public/uploads/foo.png"). Using img(src="uploads/#{std.path.baseName(f)}") instead should make it work, AFAICS.