Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

possibility to reduce dimensions of scaled images #4951

Open
1 task done
tipuraneo opened this issue Apr 15, 2024 · 0 comments
Open
1 task done

possibility to reduce dimensions of scaled images #4951

tipuraneo opened this issue Apr 15, 2024 · 0 comments

Comments

@tipuraneo
Copy link

Describe the feature you'd like

I'd like to see the possibility to define dimensions of down scaled images. 1680 pixel should be kept as default.

Describe the benefits this would bring to existing BookStack users

Properly sized images reduce bytes transferred and increase page load speed. In most cases the can cut loading time by half. Jpeg images having half dimensions have roughly one third of the size.

Currently images are 1680 pixel wide regardless of the dimensions used for presentation. Depending on the dimensions used for presentation this leads to files which are much bigger than necessary. According to website analytic tools like https://gtmetrix.com/ or https://pagespeed.web.dev/ images have a major impact on bytes transferred. Very often they recommend to probably size images to reduce loading time.

I know different users are using different themes with different maximum width. But static 1680 pixel might be unflexible and for some users to wide.

image
image

Can the goal of this request already be achieved via other means?

Since v0.26.2 BookStack re-scales images to 1680 pixel width because in some cases 840 pixels which were used till this version looked blurry in some cases. #1108

Have you searched for an existing open/closed issue?

  • I have searched for existing issues and none cover my fundamental request

How long have you been using BookStack?

3 months to 1 year

Additional context

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

1 participant