Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
app
 
 
 
 
 
 
tmp
 
 
 
 
 
 
 
 

README.md

Slim Image Archive

Simple*, fast and secure archive for images:

  • Create multiple categories with multiple albums with multiple images!
  • Manage multiple users with different privileges!
  • Easily navigate between all those things!
  • Protect your photos from the NSA! (not really)

The purpose of this project was for internal use of a company, so no big effort went into the presentation - it's simple and clean bootstrap ready for further improvements.

(*) I won't argue if you'll say that this code is an overkill.

Slim Image Archive Slim Image Archive

Dependencies

and a slug method taken from:

Installation
  • git clone https://github.com/ksdev-pl/Slim-Image-Archive.git
  • composer install
  • Import slim-image-archive.sql to your database
  • Configure your database connection in /app/app.php lines 60-63
  • Point web root to /public folder, the rest should be protected
  • Add write privileges to /tmp folder (with subfolders)
  • Sign in with email: admin@admin.com and password: admin
  • Create new user with admin privileges and delete default account
Things to know
  • If you wish to change allowed types of files that user can upload, update $mimeTypes in Image model, and both .htaccess files under /files folder and its /thumbs subfolder
  • In /app/views/image/create.html.twig you can change maxFileSize option for upload script
  • Exception logs are stored in /tmp/logs
  • User roles and corresponding privileges:
    • Normal - upload only
    • Extended - upload, edit & delete
    • Admin - manage users
License

Slim Image Archive is released under the MIT license.

About

Simple, fast and secure archive for images

Topics

Resources

License

Releases

No releases published

Packages

No packages published
You can’t perform that action at this time.