Giter VIP home page Giter VIP logo

auto-generating-gallery's Introduction

Auto Generating Gallery

This is build with the awesome php framework Laravel 4.

See the demo

Pretty, simple and easy gallery.

  1. Upload albumfolder via ftp
  2. Visit domain.com/import
  3. Done ;)

TOC


Previews

Index view

Album preview

Album view

Album preview

Image view

Image preview


Installation

Like with Laravel 4 you need to install all the nessesary packages with composer:

composer install

Configure the database settings in app/config/database.php And migrate the database with:

artisan migrate

Change configuration of the gallery in app/config/filegallery.php, eg. set the Facebook App id for the commenting system and Google analytics id.

That should be it ;)


Albums

Albums will be created from the folders in the uploads folder. The foldername will be used as the albumname, and the folders will be renamed to a more webfriendly name (strip special characers and replace spaces with dashes).

Albums


Images

Images will be created from the imagefiles in the album folders. Don't worry about the names they will be renamed to more webfriendly names (strip special characers and replace spaces with dashes).

Images


Image descriptions

To create a description for an image, create a *.txt file with the same name as the imagefile, and write the description in that file.

Description


Album cover

To set an image from the album as the cover picture, create an empty *.txt file, and name it %imagefilename%_cover.txt

Cover


Ready file

To avoid starting import before you have all the files uploaded and ready, create an empty *.txt file named ready.txt to the uploads folder when you are ready to import the files.

Cover


Starting import

To start the import, make sure you have uploaded the files and created the ready-file. Then go to the route /import, eg. mywebgallery.com/import. It will be working some time depending on the size of the images you want to import ;)

auto-generating-gallery's People

Contributors

martindilling avatar

Watchers

 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.