Hardware FixRecommendedDevice not working? Your driver may be the problemCheck updates for common hardware issues.Fix DriversOctober DealsAmazon USOctober deal check: compare before you payAmazon US: current deals, useful picks and tech finds.Check DealsPC HealthRecommendedCrashes, freezes, slowdowns? Check your PC nowSpot repairable issues before they interrupt work.Check PC×
Skip to content
VGSources
Blog

How to Use Your Own Server as a Self-Hosted Image Host

Learn how to run your own image host for photos, screenshots and videos: choose the right platform, size storage, install it, secure remote access and build reliable backups.
Length10 min Posted Quest giverVGSources Team
Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

The practical answer: install a photo application on your server, give it dependable storage for originals and generated previews, connect its database, and place the web interface behind HTTPS. For a Google Photos-style backup of game screenshots and phone photos, Immich is the closest fit. Choose Piwigo for a traditional web gallery, or Nextcloud when images must share storage and collaboration tools with other files.

What a self-hosted image host actually includes

A self-hosted image host is not just a folder exposed through a web server. A usable deployment has four parts:

As an Amazon Associate I earn from qualifying purchases.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
  • Image application: the interface for uploading, browsing, searching, organizing and sharing pictures or videos.
  • Storage: space for original files and the thumbnails, resized images, previews and video transcodes created by the application.
  • Database: a service that stores accounts, albums, metadata, permissions and search information when the application requires one.
  • Web endpoint: a local address for your home network, or a domain protected by HTTPS if you will connect from outside.

For a gaming use case, this can become a private library for console screenshots, PC captures, mod-development reference images, LAN-party photos and recorded clips. The application you choose matters more than the server brand: each platform has a different storage layout, client experience and upgrade process.

Choose the platform before buying storage

Platform Best fit Deployment model Important requirements and trade-offs
Immich Automatic phone backup, photo and video search, albums and a Google Photos-style interface Docker-based application stack Current guidance calls for at least 6 GB RAM and 2 CPU cores; 8 GB RAM and 4 cores are recommended. It uses a database and creates additional previews and video transcodes.
Piwigo A conventional web gallery with albums and manually managed uploads Nginx or Apache with PHP and MySQL/MariaDB Requires PHP 8.2 or newer on the maintained path, MySQL 5.6+ or MariaDB 10.1+, ImageMagick or GD, FTP access and capacity for cached image sizes.
Nextcloud Images stored alongside general files, sharing and collaboration Web application with preview-generation and hardening controls Useful when an image gallery is one part of a broader file platform. Preview generation and security settings need deliberate administration.

Use Immich when the server’s main job is replacing a cloud photo service. Use Piwigo when a curated gallery is more important than automatic mobile backup. Use Nextcloud when the same accounts and storage must serve documents, project files and images.

#1 Best Overall
Elebase USB to USB C Adapter for iPhone 18 Pro Max,USBC Car Charger Adapter | 4Pack Type C Female to A Male Cable Converter for Apple Duo 17 16 15 14 Plus,iWatch Watch 12 11 10,iPad 9 8 Air,Airpods 5 4
  • Read Before You Buy — No Video Output: These adapters support charging and USB 2.0 data transfer, but cannot transmit video signals. Except for standard USB webcams (which use USB data only), they are not compatible with HDMI/DisplayPort cables, video-capable USB-C hubs, or docking stations with video output.
  • Convert USB-A Ports to USB-C: Designed to connect USB-C earphones, cables, flash drives, card readers, and other USB-C accessories to standard USB-A ports. Plug-and-play with no drivers or software required.
  • Aluminum Alloy Housing: Built with a sturdy aluminum alloy shell that aids in heat dissipation and protects against daily wear and scratches. Designed to maintain a stable and secure connection.
  • Compact & Travel-Friendly: The ultra-compact design allows the adapter to stay plugged into your device without blocking adjacent ports or adding bulk, reducing wear and tear on your original USB ports.
  • 12-Month Warranty: Backed by a 12-month manufacturer warranty for peace of mind. Designed to meet strict quality control standards for reliable everyday performance.

Plan storage, CPU and memory

Calculate space for more than the original files

Reserve capacity for four categories:

  1. Original photographs and videos.
  2. Thumbnails for grid and timeline views.
  3. Resized or cached versions used for browsing and sharing.
  4. Video transcodes and temporary processing files.

Immich’s current requirements documentation says thumbnail generation and transcoded video add 10–20% on average to the photo library. That is an average, not a guaranteed ceiling: a library containing many videos or several generated sizes can grow differently. If your originals occupy 2 TB, reserve roughly another 200–400 GB for this documented average before accounting for backups or future growth.

Piwigo also requires room for uploaded pictures and its cached multiple sizes. Its cache behavior means a gallery that appears to contain only one copy of each image can consume substantially more than the source folder suggests.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Keep the database on reliable local storage

Immich recommends a local SSD for its Postgres database and does not support placing that database on a network share. Store the library on a Unix-compatible filesystem that preserves ownership and permission information. A network share may be suitable for some media layouts, but it should not be substituted for the database location when the application documentation says it is unsupported.

Size the machine for the chosen workload

Workload Planning guidance
Immich minimum At least 6 GB RAM and 2 CPU cores according to the current requirements page.
Immich recommended baseline 8 GB RAM and 4 CPU cores. This leaves more headroom for indexing, thumbnail jobs and concurrent uploads.
Piwigo The documented prerequisites specify the web stack and image tools rather than a universal RAM number. Allocate additional disk for cached sizes and monitor PHP, database and image-processing load.
Nextcloud Resource needs depend on the wider file workload and preview settings. Large preview queues require more CPU, memory and temporary storage than a basic file share.

An old Immich quick-start page described a 4 GB RAM and 2 CPU baseline for that version. For a new deployment, use the current 6 GB minimum and 8 GB recommendation instead; requirements can change as software versions add processing features.

Install Immich on your server

The following path follows Immich’s official Docker quick start without assuming a particular Linux distribution.

1. Prepare a dedicated application directory

Create a directory owned by the account that will maintain the stack. Keep the compose files separate from the media location so upgrades and backups are easier to reason about.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Rank #2
Sale
Anker USB-C Hub, 5-in-1 USB Hub for Laptops, 4K HDMI Multiport Adapter | USB C Dongle with 90W Max Power Delivery, 3×5Gbps USB A Data Ports, for MacBook, Dell, and More (Charger Not Included)
  • 5-in-1 USB-C Hub: Experience comprehensive connectivity featuring a Power Delivery input, two USB-A 2.0 ports, a USB-A 3.0 port, and an HDMI port. (Note: The USB-C power delivery input port is only for connecting an external wall charger to power your laptop and cannot power peripheral devices.)
  • 90W Pass-Through Charging: Achieve optimal charging with 90W pass-through power to your laptop, supported by a total input of 100W, with the hub reserving 10W for operational efficiency. (Note: Wall charger not included.)
  • Quick Data Transfers: Accelerate your productivity with rapid data transfers using a high-speed 5Gbps USB 3.0 port and two 480Mbps USB 2.0 ports.
  • 4K HDMI Display: Enhance your visual experience with a hub capable of delivering 4K resolution at 30Hz in both mirror and extend modes. Please note that this hub is compatible with MacBook (macOS 12 and newer), Windows 10 and 11, ChromeOS, and laptops equipped with DP Alt Mode and Power Delivery. Note: This device is not compatible with Linux.
  • What You Get: Anker USB-C Hub (5-in-1, 4K HDMI), welcome guide, 18-month warranty, and our friendly customer service.

2. Download the compose file and environment template

Use the files provided by the Immich quick-start documentation for the release you intend to run. Do not mix a compose file from one release with an environment template from another: variable names and services can change between versions.

3. Set the storage and database variables

Edit the environment file and set UPLOAD_LOCATION to the filesystem path where original uploads and the application’s library will live. Set the database variables required by the supplied compose file, including a strong database password that is not reused elsewhere. Verify that the container account can read and write the selected path.

4. Start the stack

From the directory containing the compose file, run:

docker compose up -d

Check the container status and logs if the web interface does not become available. An empty or unwritable upload path commonly causes failures during the first upload.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

5. Create the administrator account

Open the local web address shown by the quick-start instructions. Register the first account as the administrator, then sign in and upload one small test image before importing a large library. Confirm that the original appears at the expected storage location and that a thumbnail is generated.

6. Test mobile and desktop ingestion

Connect one phone or desktop client, upload a small batch and observe CPU, memory and disk growth. This catches permission, reverse-proxy and database problems before you commit a large archive of screenshots or videos.

Rank #3
Sale
Anker USB C Hub, 7in1 Multi-Port USB Adapter, 4K@60Hz USBC to HDMI Splitter | 85W Max PD, 2 USB 3.0 & 1 USBC Data Ports, SD/TF Card Reader, for Laptops/Mac and Other Type C Devices (Charger Not Included)
  • Sleek 7-in-1 USB-C Hub: Features an HDMI port, two USB-A 3.0 ports, and a USB-C data port, each providing 5Gbps transfer speeds. It also includes a USB-C PD input port for charging up to 100W and dual SD and TF card slots, all in a compact design.
  • Flawless 4K@60Hz Video with HDMI: Delivers exceptional clarity and smoothness with its 4K@60Hz HDMI port, making it ideal for high-definition presentations and entertainment. (Note: Only the HDMI port supports video projection; the USB-C port is for data transfer only.)
  • Double Up on Efficiency: The two USB-A 3.0 ports and a USB-C port support a fast 5Gbps data rate, significantly boosting your transfer speeds and improving productivity.
  • Fast and Reliable 85W Charging: Offers high-capacity, speedy charging for laptops up to 85W, so you spend less time tethered to an outlet and more time being productive.
  • What You Get: Anker USB-C Hub (7-in-1), welcome guide, 18-month warranty, and our friendly customer service.

7. Record the release and configuration

Write down the Immich version, compose files, storage paths and database location. Backup and restore procedures are version-sensitive; Immich specifically notes that its process changed in version 2.5.0, so instructions must match the release actually installed.

Install Piwigo when a classic gallery is the priority

Piwigo is a conventional web application rather than a bundled Docker photo stack. Its maintained installation path requires:

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
  • Nginx or Apache as the web server.
  • MySQL 5.6 or newer, or MariaDB 10.1 or newer.
  • PHP 8.2 or newer.
  • ImageMagick or GD for image processing.
  • An FTP client for uploading files; the project recommends FileZilla.
  • Enough disk space for originals and cached multiple sizes.

Provision the web server, PHP, database and image library first. Create a database and user with only the privileges Piwigo needs, upload the application files with your FTP client, then complete the browser-based installer. Create an album, upload a few images and verify that resized views work before importing the full collection. If thumbnails fail, inspect PHP limits, ImageMagick/GD availability and write permissions on Piwigo’s cache directories.

Use Nextcloud for images plus general files

Nextcloud is the sensible choice when your image collection must live beside project documents, save files or shared team folders. Its administration guidance covers HTTPS, preview-generation controls and hardening. The image experience is therefore shaped by the broader file platform rather than by a photo-only workflow.

Before importing a large library, decide which preview sizes are actually needed. Generating every available preview consumes CPU, temporary space and long-term storage. Apply the hardening guidance for your web server and deployment, and test sharing permissions with a non-administrator account so private game captures are not accidentally exposed.

Expose the server safely outside your home

LAN-only access

If you only need the gallery at home or in a private studio, keep it on the private network. A VPN is preferable when you need remote access without publishing the application directly to the internet. Restrict firewall rules to the required local interfaces and avoid forwarding database ports.

Rank #4
Sale
UGREEN USB to USB C Adapter Combo 4-Pack, 10Gbps USB C Converter Space Gray | Data transfer & Fast charging for MacBook, iPhone 17/16/15, iPad, Samsung Galaxy, Apple Watch
  • Dual Converters, Infinite Potential:Includes 2× USB C male to USB A female adapters and 2× USB A male to USB C female adapters. Perfect for a wide range of uses—tablets with Bluetooth keyboards, expand USB ports on macbook, and more. Two different converters for all your daily needs
  • Next-Level 10Gbps & 3A Charging: No more slow 480Mbps, this usb to usb c adapter has a transfer speed of up to 10Gbps, allowing you to do more transferring in less time. This usb adapter fits both USB A and USB C charger, supporting up to 3A fast charging
  • Upgraded Exquisite Craftsmanship: With an aluminum alloy housing and metal connector, the usbc to usb adapter is extremely durable and sturdy. Rigorously tested to withstand more than 10,000 times of plugging and unplugging, ensuring long-lasting performance
  • Broad Compatible: The usb c to usb adapter widely supports all USB C/ USB A devices like laptops, tablets, cellphones, car chargers, and phone chargers. Such as compatible with MacBook Pro/Air 2023/2022, Thunderbolt 4/3 Devices,Apple MagSafe Watch 9/8/7/SE/Ultra, iPad Pro 2022/2021, Samsung Galaxy S23/S20/S10, and iPhone 17/16/15 Pro. Plug and play
  • Please Note: To reach 10Gbps speed, keep the cable under 3.3 ft. For USB A Male to USB C adapters, try flipping the USB C connector. USB C Male to USB A adapters support bidirectional 10Gbps transfer within 3.3 ft

Public access

For an internet-facing service, use a domain name, an HTTPS certificate and a reverse proxy. Immich identifies Let’s Encrypt as a free certificate source and Nginx as a reverse-proxy option. The reverse proxy terminates TLS and forwards browser and client requests to the application on the private server network.

Configure the application with the same front-facing URL users will visit. Permit request bodies large enough for your largest upload; a proxy limit that is smaller than the image or video causes an apparently random upload rejection. Enable WebSockets where the application requires them, and use the Nginx or Apache examples in the platform’s documentation rather than guessing header or upgrade directives.

Understand the exposure risk

Immich’s remote-access guidance warns that an internet-facing instance carries security risk because the project is under active development. Public exposure therefore requires a maintenance routine: monitor release notes, update promptly, remove unused accounts, and inspect logs for repeated authentication failures.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Security checklist before importing private media

  • Use a long, unique administrator password and enable the strongest available account protection.
  • Serve every public request over HTTPS; do not send credentials or private image links over plain HTTP.
  • Expose only the reverse-proxy ports to the internet. Keep the database and internal service ports firewalled.
  • Apply least-privilege ownership and permissions to media, configuration and database files.
  • Keep the operating system, web server, PHP packages, containers and image application current.
  • Separate administrator, uploader and viewer accounts when the application supports those roles.
  • Review public-share links and revoke links that are no longer needed.
  • Test uploads, downloads, search and account recovery after every major upgrade.

Nextcloud’s hardening manual provides server-specific HTTPS and preview controls; the exact directives depend on whether the deployment uses Apache, Nginx, a container or another front end.

Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Back up the media and the database independently

A photo host has two different kinds of data. The media tree contains originals and generated files; the database contains the catalogue, accounts, albums, permissions and application state. Backing up only one creates an incomplete recovery.

  1. Back up the complete media or upload directory, including originals and any application-managed derivatives you intend to preserve.
  2. Export the database using the method documented for your installed application and release.
  3. Store at least one copy on different physical storage from the server. A second directory on the same disk is not a disaster-recovery copy.
  4. Protect backup credentials and restrict backup-file permissions, because exports can contain account and metadata information.
  5. Periodically restore to a spare system or isolated directory. A backup is only useful if the files and database can be reconnected successfully.

Follow the restore instructions for the exact Immich version installed. Its documentation records a procedure change in version 2.5.0, so an older walkthrough may not produce a valid current restore.

Best Value
Sale
Anker USB C Hub, 5-in-1 USBC to HDMI Splitter with 4K Display | 85W Max PD, 1 Powered USB-C 5Gbps & 2 Powered USB-A 3.0 5Gbps Data Ports, for MacBook Pro, MacBook Air, Dell and More (Black)
  • 5-in-1 Connectivity: Equipped with a 4K HDMI port, a 5 Gbps USB-C data port, two 5 Gbps USB-A ports, and a USB C 100W PD-IN port. Note: The USB C 100W PD-IN port supports only charging and does not support data transfer devices such as headphones or speakers.
  • Powerful Pass-Through Charging: Supports up to 85W pass-through charging so you can power up your laptop while you use the hub. Note: Pass-through charging requires a charger (not included). Note: To achieve full power for iPad, we recommend using a 45W wall charger.
  • Transfer Files in Seconds: Move files to and from your laptop at speeds of up to 5 Gbps via the USB-C and USB-A data ports. Note: The USB C 5Gbps Data port does not support video output.
  • HD Display: Connect to the HDMI port to stream or mirror content to an external monitor in resolutions of up to 4K@30Hz. Note: The USB-C ports do not support video output.
  • What You Get: Anker 332 USB-C Hub (5-in-1), welcome guide, our worry-free 18-month warranty, and friendly customer service.

Troubleshoot the failures you are most likely to see

Uploads stop at a fixed size

Check the reverse proxy’s maximum request-body setting first, then check application and web-server limits. If small files work and larger videos fail at the same point, a proxy limit is more likely than a damaged library.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Images upload but thumbnails are missing

Check write permissions on the cache or derivative directories, confirm that ImageMagick/GD is installed for Piwigo, and inspect the image-processing container logs for Immich or Nextcloud. A full filesystem can produce the same symptom, so compare available space with the expected 10–20% Immich derivative allowance.

The application cannot connect to its database

Verify the database variables, container network, credentials and local database path. For Immich, move the database to supported local SSD storage if it is currently on a network share; the project does not support that layout.

Remote access works in a browser but not in an app

Confirm that the application URL is configured as the public HTTPS address, WebSockets are passed through, and the certificate is trusted by the phone or desktop operating system. A proxy that serves ordinary HTML but blocks upgrade requests can produce this split behavior.

The server runs out of disk space after import

Measure originals, previews, caches, transcodes, database files and backups separately. Remove only derivatives that the application can safely regenerate, and expand storage before importing another large video batch. Do not delete files from an application-managed library unless its documentation explicitly describes that cleanup procedure.

What’s actually slowing this PC down?

Pick the symptom - the matching free tool is one click away.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

A practical decision framework

  • Choose Immich if automatic phone backup, timeline browsing, search, albums and video support are the central requirements, and you can provide at least the current hardware baseline.
  • Choose Piwigo if you already operate PHP/MySQL hosting and want a traditional, curated gallery with FTP-based imports.
  • Choose Nextcloud if images must share accounts, folders and collaboration controls with a broader file service.
  • Stay LAN-only or use a VPN if remote sharing is occasional and you do not want the maintenance burden of a public endpoint.
  • Use a public HTTPS reverse proxy only when you need access for people or devices that cannot join your private network, and accept the ongoing update and monitoring work.

Whichever platform you select, start with a small test library, verify uploads and restores, then scale storage and indexing. Treat generated previews as real capacity requirements, keep the database on supported reliable storage, and never make the server the only copy of irreplaceable images.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Leave a Reply

Your email address will not be published. Required fields are marked *

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

More quests from Patch Notes

  1. How to Set Up a RedM (RDR2) Server in 2026: License Key, txAdmin and server.cfg, Step by StepBlog11min
  2. Best RedM (RDR2) Server Hosting in 2026: Comparing Four Hosts on Slots, Memory and PriceBlog10min
  3. How to Host a Mindustry Server in 2026: server-release.jar, Port 6567 and the Commands That MatterBlog7min
Recommended PC Tool
Recommended PC Tool
Windows Errors? Fix Them Before They SpreadFree repair scan
Outdated Drivers Are Slowing You DownFree scan - exact matches

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.