RapidAlbum Slimbox lightbox [ setname ] gets the wrong name when a page block
Posted: 08th July 2008 11:30 PM

Hi

What I’m trying to achieve can be seen in this example page.  I want thumbnails that when clicked opens up different sets of lightbox set of images.

The way I did this is to use a pageblock pointing to a RapidAlbum using slimbox template but with some CSS on my blocks page to turn off the thumb nails so the page block is invisible

.album-wrapper { display:none; }

It works fine except that when the RapidAlbum is used in a pageblock then the lightbox [setname] is set to the page name of the blocks page rather than the page name of the rapidalbum.

Therefore if I put more than one pageblock on my page pointing to different RapiAlbums then unfortunately all the lightbox [setnames] are the same and so I will just get one big album no matter which image I click.

I wonder if it would be possible to fix this somehow so that the setnames are unique for each pageblock that points to a rapid album.

Or - is there just a better way to do this.  I didn’t really want to manually create all the lighbox links myself when RapidAlbum can do it.

best wishes

Lee

#1.  Posted: 09th July 2008 07:08 PM

I’ve created a slightly tweaked version of the Slimbox template for you (and others) to try. It’s at

http://www.smackie.org/Dropbox/SlimboxMulti.bundle.zip

Instead of the page name, this template uses the “Notes” metadata field for the gallery name for each image. If you don’t put anything in the Notes field, the photo won’t belong to any gallery and you won’t get next and previous arrows.

You can edit the Notes field in the metadata editor (bottom left button next to the + and -). You can call the galleries anything you like - just make sure that all the images that you want to show in one gallery have the same Notes entry (e.g. “Life”, “Work”, etc).

This will also let folks who want to have multiple Slimbox gallery “chains” in one page do just that.

Cheers

Scott…

#2.  Posted: 09th July 2008 07:59 PM

Hi Scott

thanks for that!  I will give it a try later

best wishes

Lee

#3.  Posted: 10th July 2008 10:42 AM

Hi Scott

I works pretty well. 

1. In the case where the user want to shows all the thumbs and display different lightbox[ sets] depending which thumb is clicked - then it works well.  If you could edit the notes fields of multiple items at once it would be quicker.

2. In the case when the user want to have one main thumb per lightbox gallery then it is now possible but with a bit of extra work.

a.  the main thumb and it’s link and lightbox[] rel need to be added manually.  And user needs to be carefull which image they link to manually so that the same image isn’t included twice in the set.  One way would be to have 1 RapidAlbum to hold the category thumbs which the user would use for the manual links and one or more RapidAlbums to hold all the images with there notes fields edited as required.

b.  If the user is using a pageblock to import the RapidAlbum in to a blocks page then the pageblock should be the last added block on the page so that blocks output it last in the source.  Otherwise it can happen that when the user clicks the manually added category thumb that it appears as the last entry in the lightbox set rather than the first. 

What would be best is if RapidAlbum could support case 2.  So maybe the user could select in the media tab which image is the main thumb and then RapidAlbum could output just that thumb and the rest as empty links.  ( although it would require that RapidAlbum page to be enabled, so the images would be uploaded )

But many thanks for providing the template as it does allow me to do what I want.

best wishes

Lee

PS - I think the lightbox[] picks up everthing rather than nothing.

#4.  Posted: 13th July 2008 12:37 PM
Scott Mackie - 09 July 2008 07:08 PM
I’ve created a slightly tweaked version of the Slimbox template for you (and others) to try. It’s at

http://www.smackie.org/Dropbox/SlimboxMulti.bundle.zip

I cannot seem to get Slimbox. The developer site does not respond. Is there an alternative dl site?

Also,

Your theme change seems to be exactly what I am looking for.

David

 Signature 

I really enjoy using Bluehost, and they will give me money if you sign up through this link!

I am also an affiliate of the UBBCentral forum and BBS software. They focus on security, and their BBS skinning is superb.

#5.  Posted: 13th July 2008 01:18 PM

Hi

put the bundle in

look in

/Users/ your user name /library/Application Support/ RapidWeaver/

right click RapidAlbum.rwplugin and show the package contents

then go to Contents/Resources/Templates

Put the bundle in the templates folder

You can also find slimbox here

http://code.google.com/p/slimbox/downloads/list

best wishes

Lee

#6.  Posted: 13th July 2008 03:21 PM

Brilliant, many thanks.

One more question (of course).

Is there a way in Lightbox / Shadowbox / Slimbox to show the picture name in the enlarged image?

TY again

David

 Signature 

I really enjoy using Bluehost, and they will give me money if you sign up through this link!

I am also an affiliate of the UBBCentral forum and BBS software. They focus on security, and their BBS skinning is superb.

#7.  Posted: 14th July 2008 07:29 AM

Hi David

In the Rapid Album setup/descriptions tab select display descriptions for photos and then + key add the kinds of information you would like to display.

Then back on the RapidAlbum Media list you can enter/edit those pieces of information.  Caption is included in the list for each item.  Just double click to edit the Caption.

Other metadata can be edited by clicking the item inspector icons which is on the botton left of the Media list

best wishes

Lee