|
I don't understand how to configure the preview image, is it part of the thumbnail or required configuring the whole part of media source? the preview image size can be configured in url by "?image_height=170", Also, how do I set the resolution of the preview image? |
Answered by
SmilyOrg
Dec 9, 2024
Replies: 1 comment 2 replies
|
Hey, I'm not sure what you mean with "preview image"? Normally thumbnails are created while indexing if none exist already, then while rendering, the closest thumbnail size is picked and re-encoded to fit the screen size automatically. |
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It uses a few different heuristics to choose which thumbnail to use amongst the available sources. Some of this is configurable and some of it isn't. The thumbnail sources are configured under sources in the config.
I'm assuming you don't have any other pregenerated thumbnails (like from Synology Moments), in which case you'll most likely be left with three sources:
sqlite: pregenerated thumbnails inphotofield.thumbs.db- hard-coded to 256pxgoexif: embedded thumbnails in the jpegs - depends on camera, but usually 100-300pximage/ffmpeg: original photos resized on the fly - whatever is neededWhile you can't configure the thumbnail size itself, you can influence which thumbnail is c…