this post was submitted on 27 Nov 2023
1 points (100.0% liked)

Self-Hosted Main

511 readers
1 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

For Example

We welcome posts that include suggestions for good self-hosted alternatives to popular online services, how they are better, or how they give back control of your data. Also include hints and tips for less technical readers.

Useful Lists

founded 1 year ago
MODERATORS
 

Hi All,

I host my website on a dedicated host. All images are also on the same server. Time has come to move images to storage/file server. I'm aware of Google and AWS solution which I don't want to use them due to cost. I want to host it on my other dedicated server which I'll use solely as file server for images.

I need some pointers on how to do it.

Are there any free open source solution available?

top 1 comments
sorted by: hot top controversial new old
[–] [email protected] 1 points 11 months ago

Same problem here ...

I wanted a static site to be generated from a directory with a whole lot of photos... [ just files .. no back end web server / php or database ]

I ended up writing a script to wrangle the image files, and piGallery2 to show them. The script finds the images, makes thumbs, renames/resizes/converts and theres a single html with javascript that reads the list, and uses piGallery2 to show the photos.

ps. I wanted to use avif file formats, as the files are smaller than jpg files, by a lot.

Sample here, with a few pics from pexels : http://quato.xyz/pix/pexels_italy/

[ it is a static site, so no server code .. although the web front end does use javascript .. I just copied the bundle of files under my current web server directory ]