Download the PHP package cecil/photo-stream without Composer
On this page you can find all versions of the php package cecil/photo-stream. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download cecil/photo-stream
More information about cecil/photo-stream
Files in cecil/photo-stream
Package photo-stream
Short Description Photo Stream is a self hosted static website for your photos, with really goods loading performances, powered by Cecil.
License MIT
Informations about the package photo-stream
Photo Stream
Photo Stream is a self hosted static website for your photos, with really goods loading performances, powered by Cecil.
Demo: https://photo-stream-demo.cecil.app (hosted by Netlify and fed by Unsplash).
Features
- Responsives images & mobile friendly
- Files optimized and lazy loaded
- Rich content caption
- Image placeholder (low quality or dominant color)
- Keyboard navigation
- Direct download button
- Simple workflow: drag & drop and commit
Install
PHP 8.1+ and Cecil 8.0+ are required.
First you should clone or download the Git repository, or run composer create-project cecil/photo-stream myproject
.
The repository come with a default version of cecil.phar
, so you can you use it immediately, or you can download the latest release throught the following command:
Usage
Add photos
Just drop image files in the static/photos
directory.
Add details (optional)
For each photo you can add a title, an alternative text and the author name/URL, through the data/photos.yaml
file:
Configuration
You can define gallery title, baseurl, author, colors, thumbnails size, sort, etc. by editing config.yml
file:
Preview locally
You can double-click on the command shortcut:
- preview.command on macOS
- preview.cmd on Windows
Or run the following command in your terminal:
Localize
You can easily localize Photo Stream in your language.
Add languages
config.yml
:
Add translations
In the translations
directory, copy translations.en.yaml
to translations.<language_code>.yaml
then translate each key.
Deploy
First build the website:
Then copy generated files in _site
to your Web server.
Or use a provider:
License
Photo Stream is a free software distributed under the terms of the MIT license.
PhotoSwipe is under the terms of the MIT license.
Photos from the demo are under the Unsplash license.