collapse

* User Info

 
 
Welcome, Guest. Please login or register.

* Recent Posts

Can't get RSG "Show My Galleries" to work by Dampfnudel
[February 25, 2019, 11:01:55 AM]


Change the order of uploaded images in the gallery by whazzup
[February 19, 2019, 10:37:29 PM]


Upload timeout for large galleries (500 images each) by whazzup
[February 11, 2019, 10:07:25 PM]


Greetings from Ronald Smit by whazzup
[January 06, 2019, 03:39:22 PM]


Pluign and module by whazzup
[June 08, 2018, 11:57:13 PM]


Version 4.4.1 released by whazzup
[May 31, 2018, 04:31:16 PM]


search.html.php refer to rsgsearch.css with a wrong path by whazzup
[January 13, 2018, 08:12:04 PM]


Slow Gallery with many Photos by whazzup
[September 22, 2017, 09:22:33 AM]

Author Topic: Family Photo Gallery  (Read 14338 times)

Offline leahcim_dahc

  • Newbie
  • *
  • Posts: 10
Family Photo Gallery
« on: December 30, 2007, 05:47:06 AM »
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/


Chad
« Last Edit: January 02, 2008, 03:42:30 PM by leahcim_dahc »

Offline Roger Barnes

  • Newbie
  • *
  • Posts: 8
Re: Family Photo Gallery
« Reply #1 on: February 03, 2008, 10: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.

Offline leahcim_dahc

  • Newbie
  • *
  • Posts: 10
Re: Family Photo Gallery
« Reply #2 on: February 17, 2008, 05:28:50 AM »
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&amp;Itemid=$Itemid&amp;page=inline&amp;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

Offline Bjorn Hansen

  • Newbie
  • *
  • Posts: 1
Re: Family Photo Gallery
« Reply #3 on: May 27, 2008, 03:16:26 PM »
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

Offline jon kulas

  • Newbie
  • *
  • Posts: 5
    • ABQ Art Review
Re: Family Photo Gallery
« Reply #4 on: June 06, 2008, 04:53:31 AM »
Well done.  What component are you using for your blog?  It looks great too!

JK