Mar 29 2006
FAlbum With Lightbox2
Lightbox JS v2.0 was released today and, as I liked what I saw I decided to add it into my FAlbum mashup. Now, when you select a thumbnail in FAlbum you will get the lightbox as before but now, if there were other thumbnails on the page, you will be able to go to the next and previous thumbnails using the lightbox controls.
I’ve also fixed a potential bug with the close and loading icons, so please let me know if you have any problems.
Once again, the mashup is available as both the diff files and full plugin from my downloads page. Its only tested with FAlbum 0.6.4 so don’t complain about it not working with other versions of FAlbum. To get the lightbox to work you must enable it in the FAlbum admin control panel and you’ll probably want to clear the FAlbum cache.
Hey Gringod,
Nice site you have. Via via I ended up on your site and I like your FAlbum with your lightbox mashup. I’d like to use it on my site too, but I have troubles getting FAlbum working. I use the one provided by the developer, but it keeps telling me there is an fatal error when i want to continue the setup within the WP controlpanel:
I use WP 2.0.1 and the version of FAlbum I try to install is FAlbum-0.6.4. Do you think you know what I can do to make this working?
You are Dutch right? Alvast bedankt voor de hulp:)
Sam
Maybe you experienced the same
the msg it displays btw:
Initial Setup
Fatal error: Call to a member function debug() on a non-object in /usr/home/web/snl67220/wordpressblog/wp-content/plugins/falbum/FAlbum.class.php on line 1313
Hi Sam, I’ve had a look at the source code for your error and it seems to be a problem with the logging system that FAlbum uses. A few things you can check are:
In the FAlbum folder there should be a lib/Log/null.php file, and that file should be readable by all users (some thing like CHMOD 644).
If that is correct you could try modifying line 67 of FAlbum.class.php from:
$this->logger = & Log :: singleton('null', 'LogWindow', '', $conf);to:
$this->logger = & Log :: singleton('display', 'LogWindow', '', $conf);If that doesn’t work give me a should and I’ll have another poke around.
Hi Gringod,
I have been playing around with your solution and though the idea is very nice, I found it difficult to get it running smoothly. So the solution I found was to install FAlbum and the lightbox 2.0 plugin. I then added “rel=lightbox” to the a href at line 23 of falbum/templates/tag-thumbnails.tpl .
It would be complete if I’d test for the lightbox plugin but I’m kind of lazy
Thanks for the original idea!
ok, ok, so my solution wasn’t complete. The way I did it for the albums is:
I added
$data['bigpicture'] = FALBUM_FLICKR_URL_IMAGE."/{$server}/{$photo_id}_{$secret}.jpg";
at line 283 of FAlbum.class.php
and changed line 20 of templates/album-thumbnails.tpl to
<a href='<?php echo $row['bigpicture']; ?>' rel='lightbox'>The same can be applied to the tag-page.
Hi dog of Dirk,
It wasn’t until after I had released my second version of this plugin that I saw the wordpress Lightbox JS plugin otherwise I may have used that, and some users may still find that a better alternative. I only released my solution so that other could benefit from my work.
I personally think that the FAlbum plugin requires a lot of work on it to clean it up as there seems to be quite a few people having problems installing it but there doesn’t seem to be much activity from the RandomByte website.
I’ve made a new version of this plugin using FAlbum 0.6.5. Get the low down here.
Wow, I LOVE this. I’ve been wanting to do it ever since I discovered falbum and the lightbox. But here’s my question. How the heck did you get lightbox 2.0 to work with WordPress?! I’ve gotten it to work on a test page, but when I try to implement it into my WordPress theme, it’s no go.
Thoughts?
hey kelley (.com
)
I had a look at your site and it seems that the address of the lightbox scripts is wrong. I’m currently using the Lightbox 2.0 plugin and FAlbum 0.6.5.
You might want to have a look at my most recent mashup and grab the latest version of the LightboxJS plugin.
If you want the old way that the I used the lightbox let me know and I’ll sort it for you
I LOVE YOU!
I didn’t realize you made a WordPress plugin. Of course, Iwas perusing when I was half asleep last night. It works now. You’re my hero!
Sorry, I can’t take credit for the LightboxJS plugin… I’m just making use of it.
Its times like this that I enjoy coding for free
Well, you still helped me get it working. hehe… Think you can help me further?
I’ve installed the Lightbox JS plugin, and your modified Falbum plugin. Both are activated, and I’ve got the Lightbox turned to ‘true’ in my Falbum admin panel, but it still is not working. Now when I click a thumbnail in the falbum gallery, it opens the image directly (as if I were just linking to the image URL itself), not in a lightbox. T_T Any idea what’s wrong?
See my album page at: http://heykelley.com//twitch/wp-content/plugins/falbum/wp/album.php
It seems to be working fine. One thing you need to be aware of is that LightboxJS doesn’t start working until the page is completely loaded… this is due to a limitation of javascript and the way pages are loaded by browsers.
I’m heading off sailing for the weekend now, if you need any more help mail me at aidy [at] gringod [dot] com and I’ll respond when I get back.
ps. You’ve got some really good picture going on there
Hmm okay, well it works in IE but not in Firefox… WHich is strange because I can look at your gallery in Firefox and it works with the lightbox, but not mine. Argh!
Well, I’ve had you gallery working in both IE and Firefox. Have you made sure that you haven’t got some javascript features disabled in Firefox. It might be worthwhile trying to clear your Firefox browser cache.
I saw you wrote another comment but it seems I deleted it by accident with a load of spam… sorry.
See, that’s what is strange. If I had something awry with my Firefox, you’d tink that it wouldn’t work on your blog either, but it does. It’s just mine that doesn’t work. T_T
I haven’t had time to mess with it, though, so anyway, thanks.
Okay I’m back to trying to figure this out, and it’s really boggling my mind. I’ve upgraded to the latest version of WordPress. I’ve got the lightbox plugin, which works fine for normal images I post in a blog entry. I’ve got your hacked version of FAlbum installed, which works fine. EXCEPT for the fact that those gosh darn Falbum images will not open in the lightbox! Wtf?! Seriously, it’s driving me nuts. My only other idea is that maybe for some reason it’s not liking the rel=”lightbox[FAlbum]“, and just wants “rel=”lightbox”. But I’m not sure what you changed to get this to show up in the script. Care to point me in the right direction?
(Sorry to be such a bother).