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.