Stillgelegte Projekte/Ubershowcase

Aus LaborWiki
Version vom 8. April 2014, 00:56 Uhr von Marcus (Diskussion | Beiträge) (Marcus verschob die Seite Ubershowcase nach Stillgelegte Projekte/Ubershowcase, ohne dabei eine Weiterleitung anzulegen)
(Unterschied) ← Nächstältere Version | Aktuelle Version (Unterschied) | Nächstjüngere Version → (Unterschied)
Wechseln zu: Navigation, Suche

About

Ubershowcase is a web gallery creator written in ruby using rMagick, exifr and builder. It is a simple "drag the stuff in a folder, I'll take care of the rest"-solution. For the front-end the Thickbox framework is used.


Motivation

I tested minishowcase, which does not show EXIF data. Spent one evening with bulky php/AJAX-code without much comments trying to add such features. Sucked. Wrote my own gallery creator according to my needs in Ruby, using the Thickbox framework as front-end. No need for server-side dynamic code a.k.a. dirty php gedrische anymore.


Features

  • Creates thumbnails (size of choice)
  • Client-side resizing of big images according to the users screen size (never touches the original! usable to browse your photo archive without having to worry about your precious originals)
  • Reads and displays EXIF data in a convenient way
  • Static web pages. It's hard to exploit static xhtml and css, right? Low load on server, as there is no need for re-rendering of pages and images on every view
  • Thickbox as shiny AJAX klickbunt front-end.


Download


Usage

  1. Copy the ubershowcase folder to a location accessible by your webserver
  2. Edit some settings in the ubershowcase script
    1. @ROOTDIR = "/path/to/your/ubershowcase/directory/"
    2. @GTITLE = "Ubershowcase - lets rock!"
    3. DFILE = "_info.txt" (optional, see below)
    4. (there is more your can change, but change at least the path!)
  3. Each of your galleries should be a folder containing images. Place them in /path/to/your/ubershowcase/directory/galleries/
  4. You can add some information to your image sets by placing file called _info.txt in your galleries-folder and in each of its subfolders. You may use (x)html in these files. The filename is specified via the constant DFILE (see above). You may change it, if you like The content of _info.txt in your galleries folder show on your ubershowcase frontend.
  5. Make sure all libraries are there. You need:
    1. RMagick (check if your Linux distribution comes with a pre-compiled version, else compile it yourself)
    2. exifr (via ruby gems)
    3. builder (via ruby gems)
  6. Run the ubershowcase script.