Stillgelegte Projekte/Ubershowcase: Unterschied zwischen den Versionen
Aus LaborWiki
Keine Bearbeitungszusammenfassung |
Marcus (Diskussion | Beiträge) K (Marcus verschob die Seite Ubershowcase nach Stillgelegte Projekte/Ubershowcase, ohne dabei eine Weiterleitung anzulegen) |
||
(4 dazwischenliegende Versionen von 3 Benutzern werden nicht angezeigt) | |||
Zeile 1: | Zeile 1: | ||
==About== | ==About== | ||
Ubershowcase is a web gallery creator written in ruby using rMagick, exifr and builder. | 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. | 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. | 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. | |||
Zeile 14: | Zeile 15: | ||
* 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 | * 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. | * Thickbox as shiny AJAX klickbunt front-end. | ||
==Download== | ==Download== | ||
Zeile 24: | Zeile 26: | ||
## @ROOTDIR = "/path/to/your/ubershowcase/directory/" | ## @ROOTDIR = "/path/to/your/ubershowcase/directory/" | ||
## @GTITLE = "Ubershowcase - lets rock!" | ## @GTITLE = "Ubershowcase - lets rock!" | ||
## DFILE = "_info.txt" (optional, see below) | ## DFILE = "_info.txt" (optional, see below) | ||
## (there is more your can change, but change at least the path!) | |||
# Each of your galleries should be a folder containing images. Place them in /path/to/your/ubershowcase/directory/galleries/ | # Each of your galleries should be a folder containing images. Place them in /path/to/your/ubershowcase/directory/galleries/ | ||
# 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. | # 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. |
Aktuelle Version vom 8. April 2014, 00:56 Uhr
About[Bearbeiten | Quelltext bearbeiten]
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[Bearbeiten | Quelltext bearbeiten]
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[Bearbeiten | Quelltext bearbeiten]
- 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[Bearbeiten | Quelltext bearbeiten]
Usage[Bearbeiten | Quelltext bearbeiten]
- Copy the ubershowcase folder to a location accessible by your webserver
- Edit some settings in the ubershowcase script
- @ROOTDIR = "/path/to/your/ubershowcase/directory/"
- @GTITLE = "Ubershowcase - lets rock!"
- DFILE = "_info.txt" (optional, see below)
- (there is more your can change, but change at least the path!)
- Each of your galleries should be a folder containing images. Place them in /path/to/your/ubershowcase/directory/galleries/
- 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.
- Make sure all libraries are there. You need:
- RMagick (check if your Linux distribution comes with a pre-compiled version, else compile it yourself)
- exifr (via ruby gems)
- builder (via ruby gems)
- Run the ubershowcase script.