From 8c4c4080725fea14834059ba1673ed14898368fd Mon Sep 17 00:00:00 2001 From: nodiscc Date: Fri, 17 Jun 2022 13:03:58 +0200 Subject: [PATCH] doc: shaarli configuration: update thumbnails-related configuration settings/examples - remove obsolete config keys --- doc/md/Shaarli-configuration.md | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/doc/md/Shaarli-configuration.md b/doc/md/Shaarli-configuration.md index 429e129e..f3139a12 100644 --- a/doc/md/Shaarli-configuration.md +++ b/doc/md/Shaarli-configuration.md @@ -62,8 +62,6 @@ Some settings can be configured directly from a web browser by accesing the `Too "rss_permalinks": true, "links_per_page": 20, "default_private_links": true, - "enable_thumbnails": true, - "enable_localcache": true, "check_updates_branch": "stable", "check_updates_interval": 86400, "enabled_plugins": [ @@ -102,9 +100,10 @@ Some settings can be configured directly from a web browser by accesing the `Too "hide_timestamps": false, "remember_user_default": true }, - "thumbnail": { - "enable_thumbnails": true, - "enable_localcache": true + "thumbnails": { + "width": 125, + "height": 90, + "mode": "common" }, "plugins": { "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. - **show_atom**: Display ATOM feed button. -### Thumbnail +### Thumbnails -- **enable_thumbnails**: Enable or disable thumbnail display. -- **enable_localcache**: Enable or disable local cache. +- **width:** width of generated thumbnails, in pixels +- **height:** height of generated thumbnails, in pixels +- **mode:** enable thumbnails for `all` shaares, or `common` media hosts, or `none`. ## Plugins configuration