Comments (11)
This is most likely due to a timeout either by apache or Php.
from lychee-v3.
Can you try setting php_script_limit
to 1
in the advanced options?
In general, this problem is fully fixed in https://github.com/LycheeOrg/Lychee-Laravel (soon-to-be-v4).
from lychee-v3.
Where can I find the advanced options? I dont see it on the site.
from lychee-v3.
Go to Settings, scroll to the bottom, click More. You'll see all the settings listed. Change the value of php_script_limit
from 0
to 1
and save the settings.
from lychee-v3.
I got this issue resolved by increasing the timeout in the php.ini.
the issue now is that since there are so many pictures, the pictures never load on the site. So the site initially loads with a total of 12k + pictures in the unsorted album. When I click on the album the site freezes and never returns any pictures. How can I fix this?
from lychee-v3.
I don't have experience with 12k+ albums in Lychee v3 but I have one such album in Lychee-Laravel (soon-to-be v4) and, as the two versions currently share the same front end code, here's my advice:
Don't do it 😄
At least the v4 server can handle such albums relatively OK, but the front end, and actually by the look of it the web browser itself, is really struggling. There've been proposals to introduce pagination or infinite scroll to combat that, but no code so far. The only improvement we did implement to make this less painful is the lazy loading of photos (so the browser doesn't download them until they are visible). Still, for me a 13k+ album does load, but it takes some 25 seconds for the first photos to render (on a dual-core i7 CPU).
My advice is to keep albums to around 1000 photos. That number seems to be handled much better.
from lychee-v3.
Importing from server creates albums for folders, so sorting before you import is an option too.
from lychee-v3.
ok I can easily split this into 1000 pictures per directory. This will create about about 1200 directories. How can I import them automatically? Is there a backend script or something to import all these directories?
from lychee-v3.
ok I can easily split this into 1000 pictures per directory. This will create about about 1200 directories.
12, surely?
How can I import them automatically? Is there a backend script or something to import all these directories?
It's been a while, but I'm pretty sure you just upload the parent. i.e. tell it to import from uploads/import
and have e.g. uploads/import/a
, uploads/import/b
etc as subdirectories.
from lychee-v3.
Fixed?
from lychee-v3.
Time to close.
from lychee-v3.
Related Issues (20)
- Feature request: Rotate photo HOT 3
- When importing from a url (dropbox, url) the import class changes the image title
- Impossible to connect lychee to mariaDB container on rpi3 HOT 3
- Migration guide from electerious/Lychee? HOT 1
- upload fails with "No Api method specified HOT 14
- Cannot log in because users cannot be created in Lychee HOT 2
- CLI to trigger import? HOT 4
- Video import via "Import from Server" does not work HOT 4
- Feature request: Fallback/option to disable video thumbnail creation HOT 2
- "Upload failed, server returned an unknown error" HOT 1
- Add russian localization - file attached HOT 3
- Lychee doesn't work with images "in situ" ? HOT 9
- An upload-folder is missing or not readable and writable HOT 4
- Thumbnail Preview keep proportion HOT 9
- Unable to download large-ish albums HOT 1
- Feature request : albums inside an album HOT 2
- Server error or API not found with php7.3 HOT 4
- WEBP support HOT 1
- Error: Missing parameters. Can not execute function Lychee\\Access\\Admin::setPositionAction HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lychee-v3.