Coder Social home page Coder Social logo

johnulist / slim-image-archive Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ksdev-pl/slim-image-archive

0.0 3.0 0.0 127 KB

Simple, fast and secure archive for images

License: MIT License

PHP 77.91% HTML 20.46% CSS 1.12% JavaScript 0.50%

slim-image-archive's Introduction

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: [email protected] 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.

slim-image-archive's People

Contributors

ksdev-pl avatar

Watchers

James Cloos avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.