Git Product home page Git Product logo

digikamwebui's Introduction

======= digikamWebUi

main screenshot

Most important features are

  • user management: a user can
    • The root user can manage users permissions by drag’n drop from lists
    • see albums from an available albums list
    • see tags from an available tags list
    • not see pictures tagged with a forbiden tag on an available album
    • not see pictures from a given album on an available tag
    • rate pictures
    • tag / untag pictures
  • Images preview: Pictures can be displayed as lists from albums or tags, or one by one
    • Exif data
    • Geolocalisations (google maps)
    • rating/tags/album related…
  • Cache management
    • Thumbnails are generated at loading and stored in a cache folder
    • The cache is optimized to not reload preview already downloaded by the browser

Photo Preview

More information available at http://lauters.fr/blog/digikamwebui/

To install the web interface in X steps:

  • download the sources and put them into your WWW folder ( ie. /var/www/digikamWebUi )
  • setup your webserver (ie. apache2 ) for CakePhp applications
    • enable mod_rewrite in apache
    • change the default for AllowOverride in apache to ALL in your apache configuration file /etc/apache2/sites-enabled/000-default.conf
    • give to the app/tmp directory the right permissions (write).
    • be sure to have installed mysql support for php in case you use mysql.
    • be sure to install sqlite suport in php in case you use sqlite
  • setup databases (file app/config/database.php, doc here http://book.cakephp.org/2.0/en/development/configuration.html )
    • The digikam one (containing the collection): public $default = array( 'datasource' => 'Database/Sqlite', 'database' => '/PATH/TO/digikam4.db', ); That's all for this one
    • The WebUi one (user management, user rights...)
      • Schema creation The SQL file to execute is app/Model/Datasource/digikamWebUi.sql
      • CakePhp configuration public $digikamWebUi = array( 'datasource' => 'Database/Sqlite', 'database' => 'PATH/TO/A/NEW/DATABASE/digikamWebUi.db', );
  • create the admin user (Which is the first one registered) http://localhost/digikamWebUi/users/add
  • check the registered path in app/config/bootstrap.php Configure::write('Digikam.root', '/home'); // this path will be prepended to the AlbumRoot.specificPath from the digikam database to get the complete path to the album.
  • Login
  • Add users and manage their right

In case of error, you can first refer to the CakePhp documentation http://book.cakephp.org/2.0/en/installation.html Tips

  • To activate debug informations, reasons of 500 errors, warnings... Please set Configure::write('debug', 0); to 2 in app/config/core.php
  • When debug is activated, you can add debug($myVar); to get the content of a var displayed (in app/Controller/ImagesController.php:download

digikamwebui's People

Contributors

mehdilauters avatar

Watchers

 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.