By priceline on
Any module similar to Galleria?
http://drupal.org/project/galleria
This doesn't have drupal 5 version, but my site is being developed on Drupal 5 because of some module constraints.
If not, any suggestions to implement the same with jCarousel?
http://drupal.org/project/jcarousel
I also need left and right arrows to navigate to more images in the thumbnail. Thanks,
Comments
Galleria with Drupal 5
I got galleria to work with Drupal 5 by following the instructions on the website http://devkick.com/lab/galleria/
1. Download and install the Drupal Jquery module.
2. Download the Galleria plugin and the galleria.css file and install them in folder sites/all/modules/galleria.
3. Add the following in the template.php:
function _phptemplate_variables($hook, $vars) {
switch($hook) {
case 'page':
drupal_add_css('sites/all/modules/galleria/galleria.css', 'module', 'screen');
drupal_add_js('sites/all/modules/galleria/jquery.galleria.js');
$vars['scripts'] = drupal_get_js();
$vars['styles'] = drupal_get_css();
5. Add the following function in template.php:
function "theme"_views_view_list_"view name"($view, $nodes) {
replace return theme('item_list', $items) with
return theme('item_list', $items,NULL,"ul class=gallery", NULL);
6. Add the following lines inside your of the page.tpl.php file:
'<'script type"="text/javascript">jQuery(function($) { $('ul.gallery').galleria(); });"'<'/script''>'
7. Create a page view to show a list of images.