Merge pull request #1858 from nodiscc/doc-thumbnailer-mode

doc: shaarli configuration: fixes/improvements to thumbnails settings documentation
This commit is contained in:
nodiscc 2022-09-12 23:13:41 +00:00 committed by GitHub
commit 221a2534b2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -62,8 +62,6 @@ Some settings can be configured directly from a web browser by accesing the `Too
"rss_permalinks": true, "rss_permalinks": true,
"links_per_page": 20, "links_per_page": 20,
"default_private_links": true, "default_private_links": true,
"enable_thumbnails": true,
"enable_localcache": true,
"check_updates_branch": "stable", "check_updates_branch": "stable",
"check_updates_interval": 86400, "check_updates_interval": 86400,
"enabled_plugins": [ "enabled_plugins": [
@ -102,9 +100,10 @@ Some settings can be configured directly from a web browser by accesing the `Too
"hide_timestamps": false, "hide_timestamps": false,
"remember_user_default": true "remember_user_default": true
}, },
"thumbnail": { "thumbnails": {
"enable_thumbnails": true, "width": 125,
"enable_localcache": true "height": 90,
"mode": "common"
}, },
"plugins": { "plugins": {
"WALLABAG_URL": "http://demo.wallabag.org", "WALLABAG_URL": "http://demo.wallabag.org",
@ -221,10 +220,11 @@ Must be an associative array: `translation domain => translation path`.
- **rss_permalinks**: Enable this to redirect RSS links to Shaarli's permalinks instead of shaared URL. - **rss_permalinks**: Enable this to redirect RSS links to Shaarli's permalinks instead of shaared URL.
- **show_atom**: Display ATOM feed button. - **show_atom**: Display ATOM feed button.
### Thumbnail ### Thumbnails
- **enable_thumbnails**: Enable or disable thumbnail display. - **width:** width of generated thumbnails, in pixels
- **enable_localcache**: Enable or disable local cache. - **height:** height of generated thumbnails, in pixels
- **mode:** enable thumbnails for `all` shaares, or `common` media hosts, or `none`.
## Plugins configuration ## Plugins configuration