diff options
author | Matthew Somerville <matthew-github@dracos.co.uk> | 2018-11-13 11:39:16 +0000 |
---|---|---|
committer | Matthew Somerville <matthew-github@dracos.co.uk> | 2018-11-14 13:52:15 +0000 |
commit | c4cb0a4d2754c2a5ead4fcb6300c473aa8357b95 (patch) | |
tree | 7b8c9e24692d609b862bbd5122446846d8f052be /docs | |
parent | 9e9460b8ff4bdccf9dc0166331688f2f0818b29f (diff) |
Add option to symlink full size photos.
Diffstat (limited to 'docs')
-rw-r--r-- | docs/customising/config.md | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/docs/customising/config.md b/docs/customising/config.md index e0761cb8e..f9b2fc213 100644 --- a/docs/customising/config.md +++ b/docs/customising/config.md @@ -64,6 +64,7 @@ The following are all the configuration settings that you can change in `conf/ge * <code><a href="#photo_storage_options">PHOTO_STORAGE_OPTIONS</a></code> * For local filesystem storage: * <code><a href="#upload_dir">UPLOAD_DIR</a></code> + * <code><a href="#symlink_full_size">SYMLINK_FULL_SIZE</a></code> * For Amazon S3 storage: * <code><a href="#bucket">BUCKET</a></code> * <code><a href="#access_key">ACCESS_KEY</a></code> @@ -1158,6 +1159,7 @@ ALLOWED_COBRANDS: </p> <ul> <li><code><a href="#upload_dir">UPLOAD_DIR</a></code></li> + <li><code><a href="#symlink_full_size">SYMLINK_FULL_SIZE</a></code></li> </ul> <p> For the <code>S3</code> backend, the following apply: @@ -1197,6 +1199,20 @@ PHOTO_STORAGE_OPTIONS: </dd> <dt> + <a name="upload_dir"><code>SYMLINK_FULL_SIZE</code></a> + </dt> + <dd> + <p> + Defaults to false; if this is true, then requests for full size images + will be symlinked from the photo cache, not copied there. You can use this + if static files are being served by your web server. + </p> + <p> + Only applies when <code>PHOTO_STORAGE_BACKEND</code> is <code>FileSystem</code>. + </p> + </dd> + + <dt> <a name="bucket"><code>BUCKET</code></a> </dt> <dd> |