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
* more things in FAQ
* Update docs/faq_general.md
Co-authored-by: Martin Stone <[email protected]>
* Update docs/faq_troubleshooting.md
Co-authored-by: Martin Stone <[email protected]>
---------
Co-authored-by: Martin Stone <[email protected]>
Go into your _Settings_ then _More_, find `SA_enabled` in the _"Smart Albums"_ section and set it to `0`.
82
70
83
71
### How to disable the 'zoom' animation while browsing pictures?
84
72
@@ -186,7 +174,7 @@ Change the URLs `https://fonts.googleapis.com` and `https://fonts.gstatic.com` t
186
174
187
175
### How to add custom scripts?
188
176
189
-
If you want to add custom scripts, for example to add an analytics service, you can add the script code to the `additional_footer_text` setting. For example, adding `<script>alert('Hello World!');</script>` to it will display an alert dialog with `Hello World!`in it every time you load the page.
177
+
Edit the `custom.js` file in `/path/to/lychee/public/dist/` or use the _"Personalize JS"_ area in _Settings_.
190
178
191
179
### How is the upload folder protected?
192
180
@@ -204,16 +192,6 @@ Right now, the protection is basically through the use of difficult to guess nam
204
192
205
193
You can edit your `.env` and modify the `SESSION_LIFETIME=120` part (in minutes).
206
194
207
-
### How can I clear the Logs?
208
-
209
-
To remove the `Notice` and `Warnings`, simply click on the button at the top of the Log page.
210
-
However if the page is too heavy to load, you can either manually empty the `Logs` table or use artisan:
211
-
212
-
```bash
213
-
cd Lychee
214
-
php artisan lychee:logs clean
215
-
```
216
-
217
195
### How can I see the correct client IP address when running Lychee behind Cloudflare?
218
196
219
197
Please see [https://github.com/monicahq/laravel-cloudflare](https://github.com/monicahq/laravel-cloudflare). The Lychee file that needs changing can be found [here](https://github.com/LycheeOrg/Lychee/blob/master/app/Http/Middleware/TrustProxies.php).
@@ -240,10 +218,6 @@ No this is normal. This user does not have the ownership of that Album, so the r
240
218
241
219
### The divider h1 shows the text "Admin" when logged in with an ordinary user. Shouln't this be "Albums"?
242
220
243
-
<!-- TODO add deprecation notice once https://github.com/LycheeOrg/Lychee/pull/1539 is merged
244
-
> {note} This is a behavior of Lychee that only occurs if the admin user did not log in after the update. Please contact the admin to log in once. After this, the admin's username is shown instead of `Admin`.
245
-
-->
246
-
247
221
Actually no, this is because the user does not have any albums (yet). The `h1` divider is to show who is the owner of those albums. See below.
0 commit comments