-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to add images. #4
Comments
Sorry if it wasn’t clear from the description but this gallery only displays photos and videos that are already in an album, it currently does not have support to upload them, although I would welcome contributions to implement that. Right now, an “album” is defined as the contents of a folder placed at the top level of the mounted images directory. The “collection” concept is based off of the date of the photo or video metadata (each month is a collection). To display photos and videos in your case, create a directory in the location where you mounted the /images docker volume and drop your stuff into that subdirectory. |
Thanks! |
Well, I managed to log in with
What's wrong? |
Hi @kklepper - I believe this is because the files are not in an album sub folder as described above. Please try something like: |
Thanks for the quick reply. And it works! And it's fast! I started with 2MB samples, then added 4 8MB samples. It takes a little to transfer the data, but then browsing is immediate. Excellent! Next I used 16MB samples. Same here. Fullsize comes immediately, very nice, which explains that those pictures are really transferred fullsize, too, so your bandwidth will come into play. Very impressive to see the actual quality of the pictures at a mouse click. But then the browser should cache the images, right? It doesn't so my theory must be wrong. It is roughly 5 secs for a 16MB photo of 6MB filesize, if I am correct. I am on a 100MBit/s line. Also, sorting by date is fine, but subdirectories are not displayed. That makes it hard to keep order. I created directory Just discovered Fullscreen mode and Share. User credentials are in config.json, I found. Automatic collections by date is a great idea. Would it be possible to add a label to describe what happened that day? Responsive is a good name, except for the initial wait period. If the browser cache would work, it would be a one time issue. What about hundreds of pictures a day? Also using ftp is fine, but you cannot pick candidates this way. Drag and Drop is what users want, right? I implemented that technique in PHP for a contact form, so I know there should be ready to use libraries, no need to reinvent the wheel. But I'm sorry I am no expert in node and very short of time, too. This exploration is kind of a Christmas present. |
Oh, just found image information. How come size is 1.2MB when the file is 6,003KB?
|
As said, browser caching would help, but I think there is an easy solution to the wait period. Just show the first picture and then load the next in the background and so on. That should be possible with little effort, I guess. Found |
@kklepper - Thanks for the thoughtful comments. Since this is just a side project I don't have a lot of time to devote to it, but I'd love to see a lot of your suggestions realized and have thought to someday be able to include them in the project (small/incremental contributions are always welcomed):
Just a couple comments on your experience:
|
I created this container and was able to get it running.
I grabbed the default password from the config and logged in.
I see a button called albums, but pressing it does nothing. I can't figure out how to add images or albums.
Console has these errors:
Failed to load resource: the server responded with a status of 500 (Internal Server Error)
api.js:87 LIST ERROR: (500) No Albums Processed
The text was updated successfully, but these errors were encountered: