You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be great if ThumbnailRatio can be config when memos start。
It wolud be more great if ThumbnailRatio can be config as steps , for example:
--thumbnail-ratio some_expression
some_expression will tell memos : when size>5M,set ratio = 0.3; when size > 3M & size < 5M , set radio = 0.6 ; default 0.8
Type of feature
Other
Additional context
The network bandwidth of my website is insufficient, the default ThumbnailRatio value 0.8 (resource_service.go line 394) maybe too big.
The text was updated successfully, but these errors were encountered:
As far as i know the widest a thumbnail image will be in the current UI is 940px (in the user feed). It would be good to scale down thumbnails to that size / use that ratio.
This was discussed while the feature was added. Cant remember off the top of my head why the ratio of 0.8 was chosen. Could have something to do with not linking the thumbnail width to the current UI width in case the UI changes. it could also be that users with larger than 1080p screens have a wider feed? Not sure.
I ended up writing a separate script that loops through the thumbnails folder and resizes images that arent resized to 940px width to fit my setup
Describe the solution you'd like
It would be great if ThumbnailRatio can be config when memos start。
It wolud be more great if ThumbnailRatio can be config as steps , for example:
--thumbnail-ratio some_expression
some_expression will tell memos : when size>5M,set ratio = 0.3; when size > 3M & size < 5M , set radio = 0.6 ; default 0.8
Type of feature
Other
Additional context
The network bandwidth of my website is insufficient, the default ThumbnailRatio value 0.8 (resource_service.go line 394) maybe too big.
The text was updated successfully, but these errors were encountered: