]> Lady’s Gitweb - Gitweb/commit
gitweb: Allow PNG, GIF, JPEG images to be displayed in "blob" view
authorJakub Narebski <redacted>
Mon, 4 Dec 2006 22:47:22 +0000 (23:47 +0100)
committerLady <redacted>
Mon, 6 Apr 2026 04:07:11 +0000 (00:07 -0400)
commit5f86db6f28d1656f22d351bb41dfc5994254b1ecde530d8f31ebdf48ae9166af
treead9e6d88564fde3e9f838e9c949833dc03be0ec868991bc53dccc70568ec11f6
parentf73ac309a1a55a0d027b1f8c33df57bcdd9f5880fa841d64e97d1cf61de5b49d
gitweb: Allow PNG, GIF, JPEG images to be displayed in "blob" view

Allow images in one of web formats (PNG, GIF, JPEG) - actually files
with mimetype of image/png, image/git, image/jpeg - to be displayed in
"blob" view using <img /> element, instead of using "blob_plain" view
for them, like for all other files except also text/* mimetype files.

This makes possible to easily go to file history, to HEAD version of
the file, to appropriate commit etc; all of those are not available
in "blob_plain" (raw) view.

Only text files can have "blame" view link in the formats part of
navbar.

Signed-off-by: Jakub Narebski <redacted>
Signed-off-by: Junio C Hamano <redacted>
gitweb.perl
This page took 0.165277 seconds and 4 git commands to generate.