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.
 
 
 
Airikr 08f3515316 Minor update 2 weeks ago
ajax Second release 2 weeks ago
images Deleted photos from Git 2 weeks ago
javascripts Second release 2 weeks ago
languages Minor update 2 weeks ago
stylesheets Second release 2 weeks ago
vendor Second release 2 weeks ago
.gitignore Second release 2 weeks ago
.htaccess Second release 2 weeks ago
LICENSE Second release 2 weeks ago
README.md Second release 2 weeks ago
bunnycdn-storage.php Second release 2 weeks ago
composer.json Second release 2 weeks ago
composer.lock Second release 2 weeks ago
debug-mode.php Second release 2 weeks ago
errors.php Second release 2 weeks ago
feed-json.php Second release 2 weeks ago
feed.php Second release 2 weeks ago
galleria.sql Second release 2 weeks ago
index.php Second release 2 weeks ago
page-about.php Second release 2 weeks ago
page-legal.php Second release 2 weeks ago
page-photo-view.php Second release 2 weeks ago
page-photo.php Second release 2 weeks ago
site-footer.php Second release 2 weeks ago
site-functions.php Second release 2 weeks ago
site-header.php Minor update 2 weeks ago
site-settings.php Minor update 2 weeks ago
update-all.php Second release 2 weeks ago
update-photo.php Second release 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.