Search

Google
 

Thursday, July 5, 2007

Radiant Photo Gallery with lightbox Effect

Gallery

Created by: Andrea Franz - bigchieflabs.com/blog/
Version: 0.5.2

The Gallery extension allows to manage galleries of images.
Features:

* Image/file upload (or retrieving by url)
* Import (FTP)
* Images/files sorting (drag-n-drop)
* Automatic thumbnail generation for images.
* Image crop (ALPHA version)

Installation

Get the latest version of gallery extension with darcs:

darcs get http://darcs.bigchieflabs.com/radiant/extensions/gallery/

…or download it in your vendor/extensions folder from here:

http://darcs.bigchieflabs.com/radiant/extensions/gallery/gallery.tar.gz

From your Rails app root type theese commands:

rake radiant:extensions:gallery:install
rake radiant:extensions:gallery:example

The second one creates an example of GalleryPage you can find at "your_site_url/gallery-example". Check it out after creating a new Gallery in your radiant administation panel.
Dependencies

Gallery extension requires RMagick

Usage
List all gallery in a Gallery page

Create a new page and set Gallery as PageType.


Galleries



List gallery items in a simple page

You can list all the items of a gallery specifying its id:

Direct access to gallery items

You can access directly to a gallery item, but you must specify 2 attribute. The gallery id, and the position of the item:


Lightbox style

In order for lightbox to work you have to include this Radiant tag in your layout HEAD section:



Now you can use the tag in a simple page specifying the gallery id:



…or in a Gallery page:


Galleries


Enjoy!

5 comments:

Anonymous said...

there is some problem in loading gallery plz tell me the solutions how it will work

Vijayta Panchal said...

hi rahul
for the solution of this problem u have to remove all tabs from the all RHTML file in gallery extension.panchal

Anonymous said...

Hey its really good to found this extension. I like lightbox effect in this extension.... :) :)

Anonymous said...

I am sure this article has touched all the internet visitors, its really really nice article on building up new website.


Here is my weblog how to buy a car
Feel free to visit my blog post ; buying a car with bad credit,buy a car with bad credit,how to buy a car with bad credit,buying a car,buy a car,how to buy a car

Anonymous said...

Make ѕure that the center of the rear vieω mirror,
аnԁ buy сars wіth bad сrеdit a
Mascоt, a green aligator named Ѕwampу.
These companiеs сan be fοunԁ both onlіne or
in your arеa.

Rеview my ωeb-ѕite - worldgrow.net

Is this post help u.