Notice: We are now selling NEW Gelbooru Merch~! Domestic shipping is free on all orders! Do you have an artist tag on Gelbooru? Let us know so we can properly credit you!

Ticket Information - ID: #1249

ID:Category:SeverityReproducibilityDate SubmittedUpdated By:
0001249Feature RequestnormalN/A12/12/22 11:47PMsecret64
Assigned to:geltas
View StatusPublic
Target Version:N/A
Summary:Display the post at a size that fits the entire image in the viewport
Description:Right now the "Disable Image Constraint" unchecked will fit the image width to the viewport, but I'd much rather the image fit both dimensions in the viewport so it's resized as large as possible without clipping either one. This could be an option in settings. Having "Always Show Original" unchecked almost achieves this, but it still clips sometimes and you have to sacrifice that convenience if you wanted it.

In windows background image terms, my proposal is "fit", how it currently is is "fill", and expand image is "center"(sorta). It would also be convenient to be able to switch between these three while viewing a post.
Additional Info:
secret64 replied at 2022-12-12 23:52:11
Also, display the image centered on the screen horizontally. Maybe centered on the viewport would look fine, but I think centered across the whole window would look better. It could be centered vertically if it happens to be shorter than the viewport.

I was gonna make this a seperate ticket, but it sorta goes in tandem with this one.

secret64 replied at 2022-12-12 23:52:52
Also have the image actively resize if the window resizes to keep the entire thing visible.