Coder Social home page Coder Social logo

disimg's Introduction

README

By Mats Ljungquist

What?

DisImg is a picture album for close friends and relatives. The owner of the album uploads pictures and creates users/viewers for the album. The owner decides which pictures a viewer can see. Viewers can mark an interest in a picture (or quite possible the content...) and then the owner can view these markings. So the picture album can be used as a means to give away stuff no longer needed to friends and relatives.

Features

  • Captcha - securimage - this feature can be turned on/off in the config-file
  • Logging - homemade - this feature can be turened on/of in the config-file
  • jQuery plugins - form.plugin
  • jQuery UI - for dialogs and some other stuff
  • Thumbnails - support for creating of thumbnails through 'EasyPhpThumbnail'
  • jGrowl - for information messages
  • tinyeditor - for wysiwyg editing

Download and install

DisImg is on GitHub.

http://github.com/matslj/disimg/

Download it either by 'git clone' or as a tag-zip (preferably the latest tag) and then change the following define in 'config.php':

  • define('WS_SITELINK', 'http://<your domain + path to where index.php is located>/'); // Link to site.

So if you for example have your index.php in localhost/disimg/ then the above define should read:

define('WS_SITELINK', 'http://localhost/disimg/'); // Link to site. (Observe that the sitlink MUST end with a slash)

That was the installation of the code. Now the database has to be configured. To do this edit the file /sql/config.php with information about your database. Then, back in the browser, point your browser to:

the location of WS_SITELINK followd by ?p=install, for example http://localhost/disimg/?p=install

and then follow the instructions to in order to set up all the necessary tables and stored routines required by disimg (press 'Destroy current database and create from scratch'). Some sample data will also be installed.

Also there are two directorys that may need to be added manually to the root of your installation. These are:

  • log - log files will end up here. Make sure that the file permissions allow write. Toggle logging on off in config.php.
  • uploads - the uploaded files (and created thumbnails) will end up here. Make sure the the file permissions allow write.

You are also required to enter the system file path to the location of your uploads directory in the config.php file (FILE_ARCHIVE_PATH). This could for example be: /var/www/disimg/. See config.php for further explanation.

Now the complete power of DisImg is at your hands.

In final deployment, the install directory (/pages/install) should be erased.

An example of a pure standard installation of DisImg is available here (not available yet). Review it before moving on.

  1. DisImg, The license

Free software. No warranty.

. ..: © Mats Ljungquist, 2012

disimg's People

Watchers

James Cloos 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.