git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] gitweb: Avoid overflowing page body frame with large images

From
Tony Finch <dot@dotat.at>
Date
Feb 7, 2014, 15:02 UTC
Message-ID
<alpine.LSU.2.00.1402071458040.15645@hermes-1.csi.cam.ac.uk>
In-Reply-To
<85BCA9A4-5EC3-4488-A4E4-4F86739B6450@kellerfarm.com>
Andrew Keller <andrew@kellerfarm.com> wrote:
Show 5 quoted lines
>
> With that said, I don't think it's unreasonable for a software project
> to contain images larger than a browser window.  And, when that happens,
> I'm pretty confident that the default behavior should be to scale the
> image down so the user can see the whole thing.

Right. And if you want to see the unscaled version of the image you can view the blob_plain version instead of the (scaled html-wrapped) blob.

Seems sensible in principle to me but I have not reviewed the code.
Tony.
-- 
f.anthony.n.finch  <dot@dotat.at>  http://dotat.at/
Forties, Cromarty: East, veering southeast, 4 or 5, occasionally 6 at first.
Rough, becoming slight or moderate. Showers, rain at first. Moderate or good,
occasionally poor at first.
Previous: Andrew Keller
Message 7 of 7 in “gitweb: Avoid overflowing page body frame with large images”
  1. gitweb: Avoid overflowing page body frame with large imagesAndrew Keller, Feb 7, 2014
  2. Andrew KellerFeb 7, 2014
  3. gitweb: Avoid overflowing page body frame with large imagesAndrew Keller, Feb 17, 2014
  4. Junio C HamanoFeb 19, 2014
  5. Vincent van RavesteijnFeb 7, 2014
  6. Andrew KellerFeb 7, 2014
  7. Tony FinchFeb 7, 2014

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.