Simple 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!
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.
- PHP 5.4 (short array syntax)
- Laravel Framework: 4.2.*
- Intervention Image: 2.*
- DropzoneJS: 3.10.2
- DataTables: 1.10.0
- Twitter Bootstrap: 3.2.0
- Magnific Popup: 0.9.9
git clone https://github.com/ksdev-pl/Laravel-Image-Archive.git
composer install
- Configure database connection in
/app/config/database.php
php artisan migrate
- Point web root to
/public
folder, the rest should be protected - Folders within
/app/storage
require write access by the web server - Sign in with email:
admin@admin.com
and password:admin
- Create new user with admin privileges and delete default account
- If you wish to change file types that users are allowed to upload, update
$rules
and$mimeTypes
in theImage
model - In
Image
model$rules
you can also change max file size - User roles and corresponding privileges:
- Restricted - upload only
- Normal - upload, edit & delete
- Admin - manage users
Laravel Image Archive is released under the MIT license.