#16 Show images in the sources as images
Closed: Fixed Opened by pingou.

For example: http://209.132.184.222/progit/blob/master/overview.png


Couple of links about the potential problems which are mostly CSRF and DOS

Since the images are on the server itself (within the git) this might be fine but we would have to make sure the image is an image first (try loading it with pillow?).

This is fixed: http://209.132.184.222/progit/blob/master/screenshots/overview_commit.png

What we did is checking if the file loads fine in python-pillow:

If so, then we display it as such:

And we add something in the logs if we failed to load the file:

Metadata