P
P
pazhitnov2013-01-12 00:14:18
CMS
pazhitnov, 2013-01-12 00:14:18

Recommend a WEB gallery for local files

Good afternoon!

Please advise some tool for convenient remote web access to a local photo storage from the point of view of a web server. A NAS is connected via nfs to a machine with LAMP, on which there are almost 70 thousand photos (JPG, RAW) with a total volume of 340 gigabytes. I value photographs very much. But I also don’t see the point of mass importing the gallery. I would like to be able to work with this array through the browser: place tags, delete something, rotate, comment, and so on. To then conveniently show guests or at a party, if necessary. Essential Linux/Apache, the rest is not important.

Is there such a thing?

I visited a number of sites of the most popular galleries, but according to the description of the features, it is not clear whether I will have to upload all these volumes, and it’s also stupid to install only to then look in vain for the required function.

In fact, even a local shotwell on such a volume works ugly: everything has not been indexed.

Answer the question

In order to leave comments, you need to log in

8 answer(s)
P
pazhitnov, 2013-01-18
@pazhitnov

I tell about the results of my research for those 7 people who subscribed to the answers to this topic.
I found a solution that completely covers my needs, this is phTagr. Among the shortcomings was the lack of Russian localization, but in a couple of days in my free time I translated most of the text as best I could, at the same time I mastered poedit. I sent the result to the upstream, so my translation is already in the developer branch, otherwise you can download it separately and install it.
Surprisingly, I didn't have to finish anything at all, I got what I wanted, even image rotation! A little later on the mailing list, I found a letter from a person with one-to-one tasks like mine, and even the number of files almost matched.
Some things are not quite obvious, in particular, to rotate an image, you must first select it, and then rotate it. But it turned out to be even more convenient, since it is rarely necessary to rotate one photo, usually there are several of them on the page, and it is easier to select all the necessary ones and rotate everything at once.
The import is not entirely obvious: the user must specify the paths from where files can be imported.
Tags are stored in the database, BUT! You can transfer them to the EXIF ​​fields of the photo, facilitating indexing by third-party services or migration to another system. The author makes reservations that the original file is changing, but for me it's not scary, I have snapshots of the file system.
There is video support.
Convenient work with tags, dates, convenient filter.
There is a lite (mobile) version, so I'm looking at pictures from an old Samsung S3310 over 2G.
Slideshow filtered in fullscreen! (via flash, alas, but at least this way)
Access: possible both for users who add images, and for "guests" who can watch what they are allowed to.
A typical scenario: we throw out a page of random photos, we cling to our eyes for one “oh! this is Katya's wedding!”, click on the date under the photo, get all the images of that day, select everything, put the category “wedding”, after which we begin to select all the photos with each of the participants and place tags. A few minutes and, voila! — a bunch of photos categorized and tagged!
In general, I'm happy.
Briefly about those products that I have looked at (maybe it will save someone some time):
theopenphotoproject.org/ - requires installation in the root of the site, the ability to categorize images is poor. Still, the tool was written to interact with cloud services, that is, not for my tasks.
coppermine-gallery.net/ - scary design, "folder" organization, not exactly what I wanted. And most importantly, the paths to the image files in the database are relative, and it is not clear how to insert the path to /tank/Photo/2009/2009-12-18/DSC1290.JPG there without editing the code.
www.zenphoto.org - I liked it at first sight, but after trying to work, I realized that for my typical scenario, I get an infernal number of clicks on one photo.
www.resourcespace.org/- solves somewhat different tasks, not limited to images, but concentrating on teamwork.
piwigo.org - Failed to install. After installation, a blank screen, error 500 in the logs. Most likely this is my fail, but by this time the favorite had already been determined, and I did not understand.

G
Godless, 2013-01-12
@Godless

It seems to me that the task is very specific. I think that there is hardly anything ready, especially without imports and for such a volume.
try something simple, let's say in php. There are templates for the galleries themselves, for display. I understand that the photo archive itself is neatly scattered in folders. can simple base with tags + web folder view in file mode to set tags, navigation + button to view in gallery mode.
when I was looking for something ready for myself, I stumbled upon gallery 3. I was satisfied with everything in it. But! My task is not like that, I published only selected photos, (there is a link in the profile) i.e. Uploading 40 photos is not a problem…
just as an idea, maybe not a ready-made system right away, but something + a ready-made/your own plugin(s) will suit you?
If you happen to find it, please post. most interesting. Of course, their photos are not 340G, only 50 so far))

E
Evgeny Elizarov, 2013-01-12
@KorP

I had the same problem about a year ago. The same on the home server is a cloud of pictures that sometimes you want to show relatives, but do not drag all these gigabytes. At first, I also went your way - searching for a gallery, but in the end I didn’t really find anything, especially since I didn’t want to duplicate photos from occupying hards. As a result, I threw in a simple script in php, which presses and displays pictures on the fly. Of course, there are no tags, the ability to delete something, rotate, comment, and so on, but you can finish it yourself if you wish, since it’s not so difficult. If interested, I'll post the script.

D
desper, 2013-01-12
@desper

There is theopenphotoproject.org , but it also seems to need to be imported there. The gallery's web interface is adapted for mobile devices, there are applications for iOS and Android.

L
LLazy, 2019-02-01
@LLazy

If it hasn't lost its relevance - https://larsjung.de/h5ai/
This is not a gallery in the literal sense, but for a quick view of photos, this is exactly what you need. Understands symlinks. I collected links to all folders with photos in one directory, it works.
5c541ad5012ec166604109.jpeg

D
Diam0n, 2013-01-12
@Diam0n

like this?

P
pazhitnov, 2013-01-13
@pazhitnov

So far I settled on phTagr: simple, pretty, concise. Information about the files is stored in the plate, and there is a full path. There is not enough orientation change and cropping (is it necessary?).
It seems that the task will be reduced to writing a pearl script to add information about the original to the database and create the necessary previews.
Confusingly, for 100 megabytes of files, it creates 20 megabytes of previews and icons. That's a lot for my size...

I
Igor, 2019-10-05
@RuLim

I was puzzled by the same question, I tried phTagr, but I could not configure it to work correctly under nginx.
I found https://tinywebgallery.com/ for myself
From the pros - simple installation, simple setup, does not use the database, it worked immediately without dancing with a tambourine. And most importantly, it understands the symlink and creates galleries based on it!
Of the minuses - it slows down on a large amount of files, although this may be while the cache is being created.
UPD. Manually created the cache. Well, sooo long, apparently due to the large volume of local files. But now the gallery is working fast.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question