User Name
Password
AppleNova Forums » Third-Party Products »

Looking for simple photo publishing tool for self-hosted


Register Members List Calendar Search FAQ Posting Guidelines
Looking for simple photo publishing tool for self-hosted
Thread Tools
turtle
Lord of the Rant.
Formerly turtle2472
 
Join Date: Mar 2005
Location: Upstate South Carolina
 
2023-02-06, 09:42

As the title says, I'm looking to be able to build simple sites from a group of photos. Kinda like we used to be able to do with Aperture. Take a folder with a bunch of images in it and "publish" to website. While I could manually code stuff I'm more interesting in something that is simple and straightforward. I don't want to use hosting sites or "cloud" services for this. I host my own stuff so what I'm looking for is something that builds sites like this old one from a while ago.

I don't have to have the text fields although those would be nice. For the camera meta data it isn't important either. Really, I'm just looking to be able to take a batch of images and publish to the web where I can put on my server and allow others to flip through them.

Anything out there like that?

Louis L'Amour, “To make democracy work, we must be a nation of participants, not simply observers. One who does not vote has no right to complain.”
Visit our archived Minecraft world! | Maybe someday I'll proof read, until then deal with it.
  quote
PB PM
Sneaky Punk
 
Join Date: Oct 2005
Location: Vancouver, BC
Send a message via Skype™ to PB PM 
2023-02-06, 15:28

Think you’ll have to build something yourself, everything died or been pushed to cloud services now. I haven’t seen anything like what you want for years. Doubt there is anything for modern Macs. Might have more luck with a windows or Linux app.
  quote
turtle
Lord of the Rant.
Formerly turtle2472
 
Join Date: Mar 2005
Location: Upstate South Carolina
 
2023-02-06, 16:34

Man that sucks. I have no interest in using services and being able to put up a bunch of images in a group was awesome.

Maybe I'll build an old OS X VM and put Aperture back on there.

The problem is formatting has changed and the sites don't display with the times.

Louis L'Amour, “To make democracy work, we must be a nation of participants, not simply observers. One who does not vote has no right to complain.”
Visit our archived Minecraft world! | Maybe someday I'll proof read, until then deal with it.
  quote
Brad
Selfish Heathen
 
Join Date: May 2004
Location: Zone of Pain
 
2023-02-06, 19:52

Since you're comfortable hosting your own servers, you could try Piwigo. I used it ages ago (it's been at least a decade by now) for a few small galleries on a personal site, and it looks like it's matured a bit since then. They appear to have mobile apps now for uploading and managing your galleries.

https://github.com/Piwigo/Piwigo
https://piwigo.org/guides/install/manual

Beware that it's PHP on MySQL. So, definitely follow all your usual security precautions.

The quality of this board depends on the quality of the posts. The only way to guarantee thoughtful, informative discussion is to write thoughtful, informative posts. AppleNova is not a real-time chat forum. You have time to compose messages and edit them before and after posting.
  quote
turtle
Lord of the Rant.
Formerly turtle2472
 
Join Date: Mar 2005
Location: Upstate South Carolina
 
2023-02-06, 21:03

Yeah, that won't work then. If I want that headache for something like this then I would just stick with WordPress. I'm really after basic HTML "sites" like we used to be able to publish with Aperture. I think iWeb could too, but Aperture is more fitting for my normal usage.

Louis L'Amour, “To make democracy work, we must be a nation of participants, not simply observers. One who does not vote has no right to complain.”
Visit our archived Minecraft world! | Maybe someday I'll proof read, until then deal with it.
  quote
noleli2
Senior Member
 
Join Date: May 2004
Location: Chicago
 
2023-02-06, 23:45

I haven’t tried any, but there are a few Eleventy photo gallery starter projects.
  quote
turtle
Lord of the Rant.
Formerly turtle2472
 
Join Date: Mar 2005
Location: Upstate South Carolina
 
2023-02-07, 08:41

Thanks, I'll check them out and see what might work for me.
  quote
turtle
Lord of the Rant.
Formerly turtle2472
 
Join Date: Mar 2005
Location: Upstate South Carolina
 
2023-02-07, 12:54

This has promise. "thumbsup"

Says it is cross platform too.
Quote:
Thumbsup is a command-line tool. Building a gallery is as simple as

Code:
thumbsup --input ./myphotos --output ./gallery
  quote
Brad
Selfish Heathen
 
Join Date: May 2004
Location: Zone of Pain
 
2023-02-08, 00:28

Nice find! Static is superior in so many ways.

Do let us know how you feel about thumbsup if you give it a try. I'm curious and might bookmark that for future projects.

The quality of this board depends on the quality of the posts. The only way to guarantee thoughtful, informative discussion is to write thoughtful, informative posts. AppleNova is not a real-time chat forum. You have time to compose messages and edit them before and after posting.
  quote
turtle
Lord of the Rant.
Formerly turtle2472
 
Join Date: Mar 2005
Location: Upstate South Carolina
 
2023-02-08, 11:41

I'm struggling to get this installed and working. I don't know "npm" and only the basics of brew so I'm really at a loss. I opened an issue in hopes someone could help me get it figured out.

I tried their docker version on my NAS but wasn't able to get it to actually parse the source folder. It exists and perms are right but it just wouldn't do it. So I build a whole new VM just to run thumbsup.

Louis L'Amour, “To make democracy work, we must be a nation of participants, not simply observers. One who does not vote has no right to complain.”
Visit our archived Minecraft world! | Maybe someday I'll proof read, until then deal with it.
  quote
turtle
Lord of the Rant.
Formerly turtle2472
 
Join Date: Mar 2005
Location: Upstate South Carolina
 
2023-02-08, 15:53

It works. The issue resulted in a failure with Node 19. I downgraded to 18 and it built right away. I built an album but it is family so I'm not going to be sharing it publicly here. I'll build another one and link to it though with images I already link to here on AN.

Edit: Here.

Louis L'Amour, “To make democracy work, we must be a nation of participants, not simply observers. One who does not vote has no right to complain.”
Visit our archived Minecraft world! | Maybe someday I'll proof read, until then deal with it.
  quote
turtle
Lord of the Rant.
Formerly turtle2472
 
Join Date: Mar 2005
Location: Upstate South Carolina
 
2023-02-09, 09:30

Ok, so I went through and built the same collection of photos from my original AppleTV HDD Upgrade thread and ran it through the build with each of the four built in themes.
Original from Aperture here.
Mosaic here.
Cards here.
Classic here.
Flow here.
For this batch of images, Flow looks pretty amazing actually!

Source:
Code:
$ ls -lah /mnt/nfs/TimeLapse/thumbsup/In/appletvupgradeFlow/ total 8.4M drwxrwxrwx. 3 1028 users 4.0K Oct 2 2021 . drwxrwxrwx. 4 1032 users 4.0K Feb 9 09:09 .. -rwxrwxrwx. 1 1028 users 359K May 18 2016 picture-10.jpg -rwxrwxrwx. 1 1028 users 440K May 18 2016 picture-11.jpg -rwxrwxrwx. 1 1028 users 407K May 18 2016 picture-12.jpg -rwxrwxrwx. 1 1028 users 414K May 18 2016 picture-13.jpg -rwxrwxrwx. 1 1028 users 442K May 18 2016 picture-14.jpg -rwxrwxrwx. 1 1028 users 349K May 18 2016 picture-15.jpg -rwxrwxrwx. 1 1028 users 294K May 18 2016 picture-16.jpg -rwxrwxrwx. 1 1028 users 312K May 18 2016 picture-17.jpg -rwxrwxrwx. 1 1028 users 272K May 18 2016 picture-18.jpg -rwxrwxrwx. 1 1028 users 397K May 18 2016 picture-19.jpg -rwxrwxrwx. 1 1028 users 387K May 18 2016 picture-1.jpg -rwxrwxrwx. 1 1028 users 271K May 18 2016 picture-20.jpg -rwxrwxrwx. 1 1028 users 428K May 18 2016 picture-21.jpg -rwxrwxrwx. 1 1028 users 317K May 18 2016 picture-22.jpg -rwxrwxrwx. 1 1028 users 364K May 18 2016 picture-2.jpg -rwxrwxrwx. 1 1028 users 388K May 18 2016 picture-3.jpg -rwxrwxrwx. 1 1028 users 359K May 18 2016 picture-4.jpg -rwxrwxrwx. 1 1028 users 354K May 18 2016 picture-5.jpg -rwxrwxrwx. 1 1028 users 347K May 18 2016 picture-6.jpg -rwxrwxrwx. 1 1028 users 301K May 18 2016 picture-7.jpg -rwxrwxrwx. 1 1028 users 450K May 18 2016 picture-8.jpg -rwxrwxrwx. 1 1028 users 466K May 18 2016 picture-9.jpg -rwxrwxrwx. 1 1028 users 54K May 18 2016 terminal1.png -rwxrwxrwx. 1 1028 users 50K May 18 2016 terminal2.png -rwxrwxrwx. 1 1028 users 49K May 18 2016 terminal3.png -rwxrwxrwx. 1 1028 users 48K May 18 2016 terminal4.png -rwxrwxrwx. 1 1028 users 46K May 18 2016 terminal5.png -rwxrwxrwx. 1 1028 users 3.6K May 18 2016 terminal6.png
The command to build is pretty straight forward:
Code:
thumbsup --input /mnt/nfs/TimeLapse/thumbsup/In/appletvupgradeFlow/ --output /mnt/nfs/TimeLapse/thumbsup/Out/ --theme "flow"
Output:
Code:
$ ls -lah /mnt/nfs/TimeLapse/thumbsup/Out/ total 200K drwxrwxrwx. 5 1028 users 4.0K Feb 9 09:11 . drwxrwxrwx. 11 1032 users 4.0K Feb 9 09:10 .. -rwxrwxrwx. 1 1025 users 18K Feb 9 09:10 index.html drwxrwxrwx. 6 1025 users 4.0K Feb 9 09:11 media drwxrwxrwx. 7 1025 users 4.0K Feb 9 09:11 public -rwxrwxrwx. 1 1025 users 120K Feb 9 09:10 thumbsup.db -rwxrwxrwx. 1 1025 users 0 Feb 9 09:10 thumbsup.log $ ls -lah /mnt/nfs/TimeLapse/thumbsup/Out/media/ total 56K drwxrwxrwx. 6 1025 users 4.0K Feb 9 09:11 . drwxrwxrwx. 5 1028 users 4.0K Feb 9 09:11 .. drwxrwxrwx. 2 1025 users 4.0K Feb 9 09:10 large drwxrwxrwx. 2 1025 users 4.0K Feb 9 09:10 small drwxrwxrwx. 2 1025 users 4.0K Feb 9 09:10 thumbs $ ls -lah /mnt/nfs/TimeLapse/thumbsup/Out/public/ total 192K drwxrwxrwx. 7 1025 users 4.0K Feb 9 09:11 . drwxrwxrwx. 5 1028 users 4.0K Feb 9 09:11 .. -rwxrwxrwx. 1 1025 users 1.6K Feb 9 09:10 core.css -rw-r--r--. 1 1025 users 0 Feb 9 09:10 .gitkeep -rw-r--r--. 1 1025 users 94K Feb 9 09:10 jquery.min.js drwxr-xr-x. 2 1025 users 4.0K Feb 9 09:10 justifiedgallery drwxr-xr-x. 7 1025 users 4.0K Feb 9 09:11 lightgallery drwxr-xr-x. 6 1025 users 4.0K Feb 9 09:11 lightslider -rw-r--r--. 1 1025 users 1.8K Feb 9 09:10 play.png -rwxrwxrwx. 1 1025 users 2.2K Feb 9 09:10 theme.css drwxr-xr-x. 3 1025 users 4.0K Feb 9 09:10 videojs
I was gonna drill down each folder level but your get the idea.

Of course there is a config file option so if you know you want certain settings all the time you just reference the JSON file and it will run off of those. Yeah, this is exactly what I was looking for. I can take a folder full of images and run the command to output a nice and simple gallery that is able to be completely standalone. On top of that, it uses the .db to prevent rerunning the same images it has already done if you just add more images to the source folder and rerun the builder. This also has the ability to handle videos though I don't know how often I would use that, it is an option. This is the cheat-sheet for all the flags you can issue via CLI or config file.

My uses are really one off for things like this AppleTV upgrade I did. However I can see how this would be beneficial for someone publishing galleries more often. Of course, being CLI means you can easily automate it as well. A cron and all you have to do is add images to the source folder and it can do everything for you.

Yeah, all around this is exactly what I was looking for. I'm so happy I stumbled onto it.

Louis L'Amour, “To make democracy work, we must be a nation of participants, not simply observers. One who does not vote has no right to complain.”
Visit our archived Minecraft world! | Maybe someday I'll proof read, until then deal with it.
  quote
Brad
Selfish Heathen
 
Join Date: May 2004
Location: Zone of Pain
 
2023-02-09, 10:06

Nice! Looking good, and thank you for sharing each example and providing that detailed write-up!
  quote
turtle
Lord of the Rant.
Formerly turtle2472
 
Join Date: Mar 2005
Location: Upstate South Carolina
 
2023-02-09, 10:56

No problem! I'm still playing with it and decided to give another chance to running it on my MBP instead of the purpose built VM. I had to remove node 19 and install node 18. Not only that, but brew by default puts everything to zsh instead of bash. So I'm gonna finally move to zsh on mine for stuff like this. I've actually had a few things that brew installed that never worked and I assumed many different things than because it installed to my zsh profile instead of bash.

However, it works on my MBP and I had it hit a folder with a bunch of images and videos too! It had a total of 1423 files (some are PDFs and skipped) in multi depth subfolders. It crushed through all of them fairly quickly:
Code:
turtle2472@Quicksilver ~ % SECONDS=0 && thumbsup --input /Users/turtle2472/SynologyDrive/Images --output /Users/turtle2472/Desktop/Out/DriveImages --theme="flow" --no-usage-stats \ && duration=$SECONDS && maths="$(($duration/3600)) hours, $(($duration%3600 / 60)) minutes and $(($duration % 60)) seconds elapsed." && echo $maths ┌────────────────────────────────────────────────────────────────────────────┐ │ │ │ Thanks for using thumbsup! │ │ │ │ Don't forget to check out the docs at https://thumbsup.github.io/docs. │ │ │ │ When building a gallery, thumbsup reports anonymous stats such as the │ │ OS and gallery size. This is used to understand usage patterns & guide │ │ development effort. You can disable this by specifying --no-usage-stats. │ │ │ │ This welcome message will not be shown again for this gallery. │ │ Enjoy! │ │ │ └────────────────────────────────────────────────────────────────────────────┘ ✔ Indexing folder ✔ Processing media ✔ Creating website ┌────────────────────────────────────┐ │ │ │ Gallery generated successfully! │ │ 15 albums, 1380 photos, 3 videos │ │ │ └────────────────────────────────────┘ 0 hours, 9 minutes and 51 seconds elapsed. turtle2472@Quicksilver ~ %
Edit: I couldn't resist so I added 4 more images to the source folder and ran again just to test. It really did just rebuild with the new images and didn't re-convert everything else.
Code:
turtle2472@Quicksilver ~ % SECONDS=0 && thumbsup --input /Users/turtle2472/SynologyDrive/Images --output /Users/turtle2472/Desktop/Out/DriveImages --theme="flow" --no-usage-stats \ && duration=$SECONDS && maths="$(($duration/3600)) hours, $(($duration%3600 / 60)) minutes and $(($duration % 60)) seconds elapsed." && echo $maths ✔ Indexing folder ✔ Processing media ✔ Creating website ┌────────────────────────────────────┐ │ │ │ Gallery generated successfully! │ │ 15 albums, 1384 photos, 3 videos │ │ │ └────────────────────────────────────┘ 0 hours, 0 minutes and 8 seconds elapsed. turtle2472@Quicksilver ~ %

Louis L'Amour, “To make democracy work, we must be a nation of participants, not simply observers. One who does not vote has no right to complain.”
Visit our archived Minecraft world! | Maybe someday I'll proof read, until then deal with it.

Last edited by turtle : 2023-02-09 at 11:12.
  quote
Brad
Selfish Heathen
 
Join Date: May 2004
Location: Zone of Pain
 
2023-02-09, 19:14

Well, it's not just brew. macOS itself switched the default shell from bash to zsh with Catalina, I think. It's been a long time!
  quote
drewprops
Space Pirate
 
Join Date: May 2004
Location: Atlanta
 
2023-02-09, 19:28

This is really cool y'all.


...
  quote
turtle
Lord of the Rant.
Formerly turtle2472
 
Join Date: Mar 2005
Location: Upstate South Carolina
 
2023-02-10, 14:54

Ok, I decided to test it with some videos. These are time lapse videos I've built using my scripting. These are 1080p at the start and give a view of the sky with some tree tops framing. Think of it like a "weather cam".
Code:
┌───────────────────────────────────┐ │ │ │ Gallery generated successfully! │ │ 1 albums, 0 photos, 3 videos │ │ │ └───────────────────────────────────┘ 0 hours, 2 minutes and 4 seconds elapsed.
The original files were 118.8MB total for all three and they processed pretty quickly. It is just ffmpeg doing the conversion so it would be faster on more modern hardware than my 2016 MBP.

Anyway, you can view the "site" here. This time I did add the "--title" flag so it shows a specific one for the model of camera the images came from.

Louis L'Amour, “To make democracy work, we must be a nation of participants, not simply observers. One who does not vote has no right to complain.”
Visit our archived Minecraft world! | Maybe someday I'll proof read, until then deal with it.
  quote
Posting Rules Navigation
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Post Reply

Forum Jump
Thread Tools
Similar Threads
Thread Thread Starter Forum Replies Last Post
Simple open source photo organizer? tsa Genius Bar 1 2008-10-10 22:56
What is the best publishing software? HTee Third-Party Products 3 2005-11-20 12:59
Publishing Ical section8joe Genius Bar 0 2005-11-09 21:04
Photo managment tool for lots of photos (a la ACDSee/PC) ghoti Third-Party Products 3 2005-04-18 16:46
Tool time at Pixar / Review Sketch tool amarone General Discussion 0 2004-12-11 12:13


« Previous Thread | Next Thread »

All times are GMT -5. The time now is 12:18.


Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004 - 2024, AppleNova