BookStackApp / BookStack

A platform to create documentation/wiki content built with PHP & Laravel
https://www.bookstackapp.com/
MIT License
15.3k stars 1.9k forks source link

Add other scaled images in gallery #5187

Open vdomos opened 2 months ago

vdomos commented 2 months ago

Describe the feature you'd like

Would it be possible to add other image formats such as scaled-300- and scaled-800- ? The thumb-150x150 distorts the image and the scaled-1680- is too large for me

Describe the benefits this would bring to existing BookStack users

The page will render better

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

I'm not aware of any other solution

Have you searched for an existing open/closed issue?

How long have you been using BookStack?

Under 3 months

Additional context

No response

ssddanbrown commented 3 weeks ago

Thanks for the request @vdomos,

Personally I'm not too keen on complicating matters around this with options and/or additional thumb generation since there's been little previous desire for this and tbh I think the benefits would be generally quite negligible. especially where images could be optimized before upload if really required for a specific use-case.

vmario89 commented 1 week ago

have found some issue related to this: the thumbs for large images (eg. 880x500px) are created by 440x250px, but in mobile view the thumb size exceeds up to 552px. that scales up to pixeled image

featured-image