4mj feedburner
674mj twitter

Slimbox WordPress Plugin

WordPress plugin used to overlay images on the current page into neat Javascript-powered overlay popups.
This plugin includes the new Slimbox 1.64 javascript written by Christophe Beils and got transformed into a WordPress Plugin by me. Slimbox is a 7kb visual clone of the popular Lightbox JS v2.0 by Lokesh Dhakar, written using the ultra compact mootools framework. It was designed to be small, efficient, more convenient and 100% compatible with the original Lightbox v2.
Because Slimbox was designed to be 100% compatible with Lightbox, you can just replace the Lightbox 2 WordPress Plugin whit Slimbox Plugin and your Lightbox effects will work just as well as before.
Use the title attribute if you want to show a caption. Click on the images below for an example.


test1Roma 2

Installation

  • Upload slimbox-plugin folder to the /wp-content/plugins/ directory.
  • Activate the plugin through the ‘Plugins’ menu in WordPress.
  • Add a rel=”lightbox” attribute to any link tag to activate the lightbox, or rel=”lightbox[roadtrip]“ for image set.
  • Optional: Use the title attribute if you want to show a caption.
  • If you want to add automatically the lightbox effect to your post’s images, open lighbox.php and remove the comment ‘//’ from lines 21 to 24.

Single example:
<a href=”img1.jpg” rel=”lightbox” title=”my caption”>thumbnail1</a>
Image set example:
<a href=”img1.jpg” rel=”lightbox[roadtrip]“>thumbnail1</a>
<a href=”img2.jpg” rel=”lightbox[roadtrip]“>thumbnail2</a>
<a href=”img3.jpg” rel=”lightbox[roadtrip]“>thumbnail3</a>
Tnx to my sister for the photos! Link me in your site!

Changelog

Version 1.3 (22-08-2008)

Update Slimbox to version 1.64

  • v1.64
    • Fixed a bug where in some cases, Flash animations inserted using SWFObject would not show properly after Slimbox closes.s.
  • v1.63, requires mootools >= 1.2.
    • Updated code for mootools 1.2.
    • Slimbox is now fully compatible with Opera 9.5 and quirks mode web pages!

Version 1.2 (09-06-2008)

Update Slimbox to version 1.52

  • v1.52 (2008-06-08)
    • Added the “loop” option to allow navigation between the first and last images of a Slimbox gallery, when there is more than one image to display.
    • Fixed a bug which allowed to change the image while Slimbox was closing.
    • API: The Slimbox elements functions now return “this” to allow chaining.
    • Small optimizations.
  • v1.51 (2008-05-30)
    • Fixed an error which occurred when Slimbox was used in combination with SWFObject in Firefox. Also fixes a memory leak in Internet Explorer.
  • v1.5 (2008-05-23)
    • Most of the code has been rewritten with a new approach. It s now much smaller! (4kb)
    • Added the “overlayOpacity” option to specify the level of opacity of the overlay.
    • Added the “counterText” option to specify a custom or localized counter text.
    • Slimbox does not take up any space at the bottom of the page any more in some browsers.
    • Now Slimbox does not wait for the caption animation to complete before enabling navigation. So you can navigate faster between images.
    • Keyboard events are now captured when Slimbox is open to prevent page scrolls when using the arrow keys to navigate.
    • You can now have two times the same image in an images set.
    • The CSS file now includes Z-index definitions that are required if your web page design relies on elements with Z-index.
    • The provided GIF images are now smaller.
    • API: Slimbox now extends the Element and Elements classes. You can now associate a Slimbox gallery to any group of link elements using $$(elements).slimbox([options]).
    • API: You can now specify different options for each group of link elements where you applied the slimbox([options]) function.
    • API: When you call slimbox() on elements, you can now specify an optional filter function and an optional mapper function for maximum flexibility (see documentation).
    • The Lightbox compatibility code is now fully optional. It s implemented in a few lines using the new API and a filter function.
    • API: The main entry point has been renamed from “Lightbox” to “Slimbox”
    • API: Lightbox.show() and Lightbox.open() have been merged into Slimbox.open()
    • The Slimbox distribution now includes mootools, an example page and a Readme file.

Version 1.0 (29-07-2007)

First version.

Download Slimbox WordPress Plugin

If you appreciated this plugin or my support, donate me so i can buy a cup of coffee, tnx u!
caffe

Scritto da Peppe | 29 lug 07
3 lug 08 , 10:40 am

sascha rieger:

wy doen´t it work automatically for pages, and only for post´s.

thanks

sascha

3 lug 08 , 12:42 pm

sascha rieger:

sorry, i´ll checked it.

[...] Slimbox Plugin 1.0 [...]

5 lug 08 , 5:27 pm

Randy:

It would be a nice plug-in if it actually worked. Re-installed LightBox2. Maybe check to make sure it works before you release something next time.

[...] Slimbox Plugin 1.0 [...]

[...] Slimbox Plugin 1.0 [...]

[...] поставил себе ахренительный плагин Slimbox – зацените, как теперь картинки открываются . И ещё – [...]

11 lug 08 , 1:03 am

mike:

The plugin works fine but when it is installed I cannot navigate from a single post to a WordPress page in IE7. IE raises an error and will not display the page. Works fine in Firefox. When I uninstall your plugin I can navigate from a single post to a page as expected.

Any idea what is happening?

11 lug 08 , 1:04 am

Peppe:

Hi link me your problem.

[...] Slimbox wordpress plugin [...]

13 lug 08 , 10:21 am

Bastiaan Naber:

I get this error when I enable this plugin:

iterator is undefined
http://bastiaannaber.com/wordpress/wp-includes/js/prototype.js?ver=1.6
Line 697

This is my page:
http://bastiaannaber.com/wordpress/?p=4&language=en

I can’t get it to work

[...] 函式,會導致程式效能降低,如果沒有連回 Flickr 這樣的需要者,建議使用原版的 plugin [...]

[...] Slimbox Plugin 1.0 [...]

21 lug 08 , 3:27 am

Dusky:

Will you be adding Ajax support like you did for the Lightbox 2 plugin?

22 lug 08 , 7:11 pm

Li-An:

Conflict between the plugin and… videos from YouTube !?! All my posts with embedded player give an error and failed to open…

23 lug 08 , 1:59 am

Peppe:

@Bastiaan Naber: plz activate it, so i can see the problem.

23 lug 08 , 6:47 am

Bastiaan Naber:

I have updated to version 2.6 of wordpress and now the plugin does work. Weird. Nice work!

[...] out all I needed to do was download the SlimBox plugin, enable it then go into the NextGen gallery settings and change the thumbnail effect to [...]

23 lug 08 , 9:41 pm

KitFisto:

When you click on text and then open a image which overlays where you clicked, the cursor (little | ) line will not be covered.

30 lug 08 , 7:19 am

Emil:

Works well, much nicer than Lightbox.

Thanks,
Emil

[...] というプラグインのテスト。実際は slimbox plugin [...]

1 ago 08 , 9:57 pm

tmutz:

works great… thank you very much!

4 ago 08 , 10:27 pm

AoOs:

Hi, thanks for a super plug-in. I enjoyed it quite a bit until it suddenly stopped working.

I have deactivated it now on my site, but I had two problems that I really think you should fix for your next release.

1st. The plug-in stopped working properly: The second picture I opened with Slimbox, in one session, and thereon, opened twice.

2nd. IE users couldn’t get access to my site from time to time. IE would state that an “illegal action” had taken place and go to a blank screen.

Hope you can fix it,
AoOs

4 ago 08 , 10:35 pm

Joe:

doesn’t work for me.. it puts double “” in the code and nuthing happens

[...] 前两天Wordpress放出了0.0.1的版本升级,新版本为2.2.3。喜欢尝鲜的我又一次地为这0.0.1付出了宝贵生命中的十几分钟。升级完毕后我习惯性的检查了一下目前使用的插件有没有更新。结果在我用的Lightbox插件作者Blog上找到了一个叫做Slimbox的插件。该插件号称在完全实现并兼容Lightbox 2功能的同时,其大小仅为7kb。我立即下载尝鲜。但体验的结果很是糟糕:在Firefox下确实完全没有任何问题,但在IE 7下却会导致页面无法加载。于是决定放弃,仍旧使用Lightbox的插件。 [...]

[...] Slimbox Plugin 1.0 [...]

[...] (ns. lightbox). Löysin minulle annetusta osoitteesta vain kaksi tarkoitukseen sopivaa, joista ensimmäisen testaaminen kaatui sen toimimattomuuteen. Kommentteja kyseistä pluginista lukiessani huomasin [...]

[...] I noticed there’s also an other Slimbox – WordPress plugin but it is outdated and the automatic attachment of code it doesn’t seem to be working, though I haven’t made extensive tests. I’m talking about the one made by Peppe Argento. [...]

16 ago 08 , 10:58 pm

maurizio:

Ho installato il plugin “slimbox” e da solo funziona (anche se non centra bene la foto nella pagina ma la sposta in basso); il problema per

[...] Größe bestaunen zu dürfen. Eigentlich kein Problem. Gibt es doch genügend Plugins, z.B. das Slimbox-Plugin oder eben das (deutlich größere) Lightbox-Plugin. Beide Plugins sind eigentlich gleich – in [...]

19 ago 08 , 12:08 pm

Gavin Steele:

How do you get the effect in the top right of this site?

How do you get the page to fold back?

thanks

19 ago 08 , 7:35 pm Slimbox Plugin installiert

[...] Das Plugin zum Download gibt es hier: http://www.4mj.it/slimbox-wordpress-plugin/ [...]

22 ago 08 , 4:17 am

Robert Irizarry:

Any plans to upgrade the plugin to incorporate the latest versions of mootools and slimbox?

22 ago 08 , 10:17 am

Peppe:

ok

22 ago 08 , 10:42 am

Peppe:

I did it! say me if is all ok.

22 ago 08 , 3:54 pm

Robert Irizarry:

Wow! That was fast. Thanks so much for updating to the latest Slimbox!

22 ago 08 , 5:13 pm
22 ago 08 , 5:28 pm

Robert Irizarry:

If I may suggest a new feature, I’d like to see the global setting (currently uncommenting 4 lines) moved to a Setting.

The way it is now, any updates to the plugin result in these being reset to require tags.

22 ago 08 , 10:37 pm

Peppe:

you are right…

[...] Slimbox : It’s an excellent plugin based on Slimbox script. It’s been made smaller in size and [...]

[...] Slimbox : zoom sur les images trop larges. [...]

[...] Slimbox Plugin 1.3 by Peppe Argento Used to overlay images on the current page. This plugin includes the new Slimbox 1.64 javascript written by Christophe Beils and got transformed into a WordPress Plugin by me. [...]

[...] Slimbox Plugin 1.3 by Peppe Argento Used to overlay images on the current page. This plugin includes the new Slimbox 1.64 javascript written by Christophe Beils and got transformed into a WordPress Plugin by me. [...]

9 set 08 , 12:43 am

Nadav Lazar:

Hi,
Thanks for Slimbox! Cool plugin.
I\\\\’m using it in conjunction with \\\\”WP Slimbox Reloaded\\\\” plugin which applies it automatically to all the pictures, but on the index page it creates separate arrays for different posts. Smart.
Anyway – while Slimbox works fine on the index page, it doesn\\\\’t work for some reason in the single pages.
Any idea? My blog is in Hebrew but code is international, right?
Thanks,
Nadav, Israel.
http://blog.hadugmaniot.co.il/

[...] Slimbox – by the same guy as a plugin below.  I thought it might work because since it’s not actually Lightbox, it wouldn’t conflict with Photoxhibit.  But it didn’t end up working. [...]

[...] Slimbox Plugin - красиво отображает картинки при их открытии, через js и оверлеи; [...]

« 1 2 3 4 5 6 7 8 » Mostra tutto

Lascia un commento

4MJ – Internet News © 2002 - 2010 è basato su piattaforma WordPress
Progetto e Design sono esclusiva proprietà di Giuseppe Argento.
Mappa Sito, Articoli (RSS) e Commenti (RSS) | Contatti
designed by giuseppe argento