|
Title: Family Photo Gallery Post by: leahcim_dahc on December 29, 2007, 11:47:06 pm My family photo gallery. Not many images uploaded yet, template and component undergoing slight modifications. Modified the image popups to use Rocket Theme's mootools based "Rokzoom". Been working on XHTML validation for a few components, RSGallery2 is one I haven't had to mess with. Great component. Thanks!
http://mckissick.net/component/option,com_rsgallery2/Itemid,96/ (http://mckissick.net/component/option,com_rsgallery2/Itemid,96/) Chad Title: Re: Family Photo Gallery Post by: Roger Barnes on February 03, 2008, 04:24:49 pm I like how you go from thumbs to mootools (lightbox) effect. Can you share how you did that? I use Rocketheme templates too.
Title: Re: Family Photo Gallery Post by: leahcim_dahc on February 16, 2008, 11:28:50 pm Roger-
Sorry I didn't respond sooner. I have been temporarily unavailable for the past couple of weeks. Thanks for the interest in the gallery. It was rather simple to get the effect. I simply made a change to line 20, in the thumbs_table.php for the semantic template. Changes made are as follows: Old Code: <a href="<?php echo sefRelToAbs( "index.php?option=com_rsgallery2&Itemid=$Itemid&page=inline&id=".$item->id ); ?>"> <img alt="<?php echo htmlspecialchars(stripslashes($item->descr), ENT_QUOTES); ?>" src="<?php echo $thumb->url(); ?>" /></a> Replaced with: <a href="<?php echo imgUtils::getImgOriginal( $item->name ); ?>" rel="rokzoom" title="<?php echo htmlspecialchars(stripslashes($item->descr), ENT_QUOTES); ?>"><img alt="<?php echo htmlspecialchars(stripslashes($item->descr), ENT_QUOTES); ?>" src="<?php echo $thumb->url(); ?>" /></a> RSGallery2 version: 1.14.0 Joomla! version: 1.0.14 Chad Title: Re: Family Photo Gallery Post by: Bjorn Hansen on May 27, 2008, 08:16:26 am Hello,
Nice gallery you have :) In version 1.14.3 (SVN 649) I can't find the same code...do you know how to use rokzoom in this version ?? Bjorn Title: Re: Family Photo Gallery Post by: jon kulas on June 05, 2008, 09:53:31 pm Well done. What component are you using for your blog? It looks great too!
JK |