My personal gallery.
https://g.airikr.me
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
2 weeks ago | |
---|---|---|
ajax | 2 weeks ago | |
images | 2 weeks ago | |
javascripts | 2 weeks ago | |
languages | 2 weeks ago | |
stylesheets | 2 weeks ago | |
vendor | 2 weeks ago | |
.gitignore | 2 weeks ago | |
.htaccess | 2 weeks ago | |
LICENSE | 2 weeks ago | |
README.md | 2 weeks ago | |
bunnycdn-storage.php | 2 weeks ago | |
composer.json | 2 weeks ago | |
composer.lock | 2 weeks ago | |
debug-mode.php | 2 weeks ago | |
errors.php | 2 weeks ago | |
feed-json.php | 2 weeks ago | |
feed.php | 2 weeks ago | |
galleria.sql | 2 weeks ago | |
index.php | 2 weeks ago | |
page-about.php | 2 weeks ago | |
page-legal.php | 2 weeks ago | |
page-photo-view.php | 2 weeks ago | |
page-photo.php | 2 weeks ago | |
site-footer.php | 2 weeks ago | |
site-functions.php | 2 weeks ago | |
site-header.php | 2 weeks ago | |
site-settings.php | 2 weeks ago | |
update-all.php | 2 weeks ago | |
update-photo.php | 2 weeks ago |
README.md
Galleria is a photo gallery for my photos. Currently, no watermark are added when photos are being uploaded. I don't know if I want to keep it this way and rely on the rights and terms. With that said, watermarks may come later on.
Setting up the settings file
If you want to try Galleria on your own machine, you have to download create a new JSON file for the settings. Change null
for each line to your info. Both ende_key
and ende_key_iv
needs to be 128 character long with random lowercase, uppercase, digits, and special characters. update.php
will guide you if you've done it wrong. default_lang
needs to be the same name as the filename in /languages
(for an example, sv
for sv.json
).
{
"default_lang": null,
"ende_key": null,
"ende_key_iv": null,
"database": {
"host": null,
"database": null,
"username": null,
"password": null
}
}
Features
- Adds tags and geographical data from the image's metadata.
- Deletes images from the server and the database if the original file are missing.
- Compresses the images using Imagick. Thumbnails will be compressed further to minimize heavy load.
- Strips the metadata from the images (not from the original images, of course).
- Keyboard shortcuts.
- Zooming on images.
- Fully functional even if JavaScript are disabled (besides of zooming and viewing the map).
- RSS feeds has been added, but it is not finished and therefore not released on the website. However, you can take a look at it right now: https://g.airikr.me/feed, https://g.airikr.me/feed/most-viewed & https://g.airikr.me/feed/most-rated. Append
/lang:en
to view the feed in English (tags excluded for now). - Blocks nasty things like bots and crawlers from entering the website using Crawler-Detect.
- When viewing a photo, similar photos will be listed based on the tags.
- Filter photos by year only, month only, year and month, date (year, month, day), or by the hour.
Will be added in the future
- Automatically translate the tags from Swedish to English so they are not only in Swedish.
- Using CSS for zooming on images if JavaScript are disabled (such as CSSBox).
- Detailed statistics about the photos.
- View the map as an image. Touch or hover the map to zoom in.
- Filtering photos based on location (city, county, or country).
- Search for photos based on tags, date, time, season, and more.
- Touch geastures to go to the previous photo and the next photo.
- Be able to comment photos.
Features that will maybe be added
- Set a watermark on photos while they are being uploaded.
- Add tiny amount of metadata to the photos. But since you can strip the metadata from an image with ease, I think this feature will be useless.
Known bugs
- The keyboard shortcut S+M+R (resets the map after zooming) doesn't work.