WP Wetfloor

Current Version: 1.6a
Included Reflection.js Version:1.6
License: MIT License
Last update: Oct 5, 2006
Requirements: Wordpress 1.5 – 2.x
Updates Feed: feed-icon-32x32.jpg

WP Wetfloor allows you to add reflections (a.k.a. the wetfloor effect) to images on your Wordpress blog. This plugin is a WordPress wrapper for Cow’s Reflections.js.

Changelog

Version 1.6a (download):
Better quicktag bar support. Now works with rich-text editor as well! Using reflection.js v1.6.
Version 1.5b (download):
Bug Fix: Button not showing on the “Write Page” page, insert button only when the quicktags bar is shown.
Version 1.5a (download):
Added height and opacity options.
Version 1.0b (download):
No change in my code. I only upgraded reflection.js to version 1.5.
Version 1.0 (download):
First version.

wp-wetfloor-banner.jpg

Credits

WP Wetfloor uses code from Cow’s Reflection.js. P-man graphic drawn by Jon.

Installation

  1. Extract the archive into your plugins folder. A new folder called wp-wetfloor will be added.
  2. Log into your admin panel, click on Plugins and activate the plugin.
  3. A new button called “Wetfloor” will be added onto the quicktags toolbar.

Usage

Click on the Wetfloor button (not available on rich text editor), enter the height and opacity without the % sign. You can also leave them blank to use the default values (50% height, 50% opacity).

You can also enter the code manually, add class=”reflect rheightxx ropacityxx” to any img tag, where xx is the height and opacity in percentage.

For example,
<img class="reflect rheight80 ropacity40" src="abc.jpg" />

For advanced users:
If you want to use action-driven reflections, please refer to Reflection.js ’s documentation.

Browser Compatibility

Please refer to Reflection.js for the supported broswer list.

Demo

wetfloor1.jpg
Default setting

The reflection can fade into different colours.

p-man.png
20% height and 80% opacity
p-man.png
70% height and 20% opacity
p-man.png
100% height and 100% opacity
Share:
  • Twitter
  • Facebook
  • Google Bookmarks
  • Tumblr
  • Posterous
  • Digg
  • StumbleUpon
  • del.icio.us
  • RSS

{ 38 trackbacks }

Riflessi in stile web2.0 con reflections web2.0
November 3, 2007 at 10:15 am
30 Free Resources for Photoblogging and Image Galleries (Wordpress) | Speckyboy - Wordpress and Design
March 30, 2008 at 9:56 pm
WordPress Plugins Database » Plugin Details » WP Wetfloor
April 1, 2008 at 11:21 pm
Blogaholic » Wet-Floor-Effekt mit Photoshop
April 6, 2008 at 7:37 am
WORDPRESS GOD: 300+ Tools for Running Your WordPress Blog
April 12, 2008 at 6:14 pm
The Ultimate WordPress Plugin Library : Get More Reviews
April 22, 2008 at 5:22 am
“En iyi nasihât; iyi örnek olmaktır.” » WordPress’ e yasal engel
June 7, 2008 at 8:02 am
# YaMTaR » Blog Archive » 50 Multimedya Wordpress plugin
July 11, 2008 at 12:59 am
bilgiservisim » » En iyi wordpress eklentileri
July 24, 2008 at 11:55 am
www.marwebdesign.net » Blog Archive » carousel.us-www.piksite.com
July 31, 2008 at 1:09 am
30 Free Resources for Photoblogging and Image Galleries (Wordpress) | onguides.net
September 23, 2008 at 10:40 am
Wordpress Eklentileri - VolkanDesign.Com - Bilişim ve Teknoloji üzerine
September 26, 2008 at 4:09 pm
50+ Plugins de Wordpress para Multimedia « Quest’s Blog
October 3, 2008 at 7:28 pm
İnternet Çöplüğü » Wordpress En iyi eklentiler ve açıklama 400 adet
October 6, 2008 at 10:26 am
50个与多媒体相关的Wordpress插件
November 2, 2008 at 3:16 am
ZDaYLaN.CoM - Fim İndir,Oyun İndir,Online İndirmeden Film İzle,ZDaYLaN,Daylan,Mardin,Mardin Resimleri,Mardin Yemek Tarifleri,Yemekleri » Açıklamalı 400 Wordpress Eklentisi - Wordpress
November 21, 2008 at 6:24 am
Açıklamalı 400 Wordpress Eklentisi
November 25, 2008 at 6:20 am
posted under education | No Comments » WORDPRESS: 300+ Tools for Running Your WordPress Blog | Making CIVIL More Enjoyable
December 11, 2008 at 6:43 am
wordpress photo gallery plugin | Manojpareta.info
December 12, 2008 at 8:16 pm
Multimedia Plugins for Wordpress | The Blog of Rob Eaton
January 19, 2009 at 12:38 am
300+ Tools for Running Your Wordpress Blog « Castalie’s Blog
January 19, 2009 at 4:10 pm
metal.ize » Archivos » Reflejo
February 8, 2009 at 4:57 pm
My Journal | Sayagi project
February 13, 2009 at 3:49 am
30 Free Resources for Photoblogging and Image Galleries (Wordpress) « Rich Magazine
February 18, 2009 at 6:27 am
wordpress Plugins top 50 | ajaxtime.com
April 15, 2009 at 1:24 am
50+ WordPress Plugins for Multimedia
May 11, 2009 at 7:02 am
WORDPRESS GOD: 300+ Tools for Running Your WordPress Blog /  My Site!
July 19, 2009 at 6:12 am
Aç?klamal? 400 Wordpress Eklentisi | Hakan ALLAR Yaz?l?r Com5 olarak Okunur
July 23, 2009 at 8:23 pm
150 Adet Wordpress Eklentisi Türkçe Aç?klamal? | Hakan ALLAR Yaz?l?r Com5 olarak Okunur
July 23, 2009 at 8:31 pm
Running Your WordPress Blog With 300+ Tools | oOrch Blog
September 21, 2009 at 6:37 am
WordPress Tools Collection | indimovi
December 15, 2009 at 12:46 pm
Wordpress 400 Eklenti « www.hakanersoy.org
January 2, 2010 at 4:26 am
En iyi WordPress eklentileri | bilginette
January 3, 2010 at 1:38 pm
50+plugin wprdpress media | [K]4[V]N.NET-All Keys For You!
January 8, 2010 at 1:39 pm
WORDPRESS GOD: 300+ Tools for Running Your WordPress Blog | The Twitter Blogger
January 19, 2010 at 8:56 pm
Los mejores plugins para Wordpress | TiDul
February 3, 2010 at 4:12 pm
30 Risorse gratis per trasformare Wordpress in un photoblog | Fabrizio Fancelli
February 26, 2010 at 3:24 am
50 plugins para manejo multimedia en Wordpress «
March 2, 2010 at 3:55 pm

{ 44 comments… read them below or add one }

Jorge Andres May 17, 2006 at 8:39 am

Works great! Thanks!!!

AkUzZeR May 17, 2006 at 2:07 pm

i have a problem with this plugin, i’ve activaded the plugin but it doesn’t works, i don’t know why :( i use de class=”reflect” after de please help me!

Siuyee May 17, 2006 at 3:29 pm

Can you show me where you used it?

sven May 17, 2006 at 10:42 pm

Wonderfull.
Great plugin.

Phunky May 18, 2006 at 12:34 am

What a strange plugin, but still tis very kewl :)

SiRGt May 18, 2006 at 6:02 am

great plug … my plugin list is growing.. thanks

Richard Hong May 18, 2006 at 11:16 am

just viewing this page in Mozilla but it doesn’t work. It works in IE though.

Siuyee May 18, 2006 at 11:33 am

I tested it with Firefox 1.5.0.3 on Windows, OS X and linux and they all work fine for me.

Have you check the compatibility list?

Browser Compatibility

WP Wetfloor is compatible with the following browsers:
Internet Explorer 5.5+, Mozilla Firefox 1.5+, Opera 9+ and Safari.

Is your Firefox 1.5+?

monkeypup May 18, 2006 at 1:19 pm

Richard-
I had this happen in FF 2.0a2. Are you using a non-official mozilla release? That might be it.

Nate May 21, 2006 at 6:01 am

Amazing I am using it now and it works great if you that stylish glass page feel!

ZeroStride May 21, 2006 at 2:47 pm

Hey, I didn’t see this show up in my quick tags. Running WordPress 2. Any thoughts?

Siuyee May 21, 2006 at 5:52 pm

On your quick tags bar, do you see buttons created by other plugins?

ada, May 22, 2006 at 7:12 am

Super plugin, I was thinking of adding this effect to my site, and here it is and easy to implement.

Thanks!

The Technocrat May 23, 2006 at 8:31 am

Cool plugin – a few things though:

reflection image needs to be resized if the original image is resized. Right now, it makes a reflection of the full-size image, and cuts off the reflection where the main image ends. To demonstrate this, put a 300px-wide image in a post and resize it to 150. Add the reflect class, and you’ll see what I mean.

Also along the same lines, the reflection image needs to carry the same properties as the original image, like alignment, etc. (we already talked about width). With the plugin as it is currently, it is impossible to have text wrapped around an image, as the reflection is not aligned, and the text is pushed below it.

Basically, both of these issues, and further issues down the line, can be solved if the reflection shared the same [img] properties as the original, except [height=] and [src=], of course.

If you don’t want to implement these fixes, let me know and I’ll pick up development of this plugin… Otherwise let me know and I can help continue the development on this site.

Siuyee May 23, 2006 at 9:06 am

As stated above, this plugin uses Cow’s Reflection.js script to generate the reflection. You might want to repost your thoughts on his blog instead?

The Technocrat May 23, 2006 at 9:31 am

ah, ok. so this plugin was made to encapsulate the reflection.js script, but not as a development path…gotcha. I’ll repost.

The Technocrat May 23, 2006 at 11:50 am

I posted over there, and he also noted I was using an old version of the script – looks like the plugin is using v1.0, he’s up to v1.5 these days…

Siuyee May 23, 2006 at 1:08 pm

If you haven’t seen this already :
http://www.siuyee.com/2006/05/23/reflectionjs-15-out/

Eric Litman May 30, 2006 at 1:46 pm

I don’t see it in my quicktags bar either, and in response to your question Siuyee, yes, several other plugins list themselves there.

Similarly, adding class=”reflect” without any additional options causes Safari to render some additional space below the image but it doesn’t show any reflection effect.

Any thoughts on how to debug this? I’m using your version 1.5a.

Thanks.

Eric Litman May 30, 2006 at 2:01 pm

OK, mea culpa. A quick review of the JavaScript shows me that an existing window.onload was getting in the way. I’m now scripting image reflections and all is well.

Thanks.

Siuyee May 30, 2006 at 3:26 pm

If you can see the reflections on this page with Safari, then there is probably some conflicting JavaScript (like you said). It looks fine on my Safari.

As for the quicktags bar, I will look into it. Are you guys using the latest version of WordPress?

Siuyee June 2, 2006 at 3:40 am

BTW, are you talking about the simple text-only editor or the rich text editor?

Peety July 10, 2006 at 6:36 am

Wonderful..
I am using it now..
This is onw plug in that i give A+++

(and thanks for updating it)

Maryndor August 9, 2006 at 3:09 pm

I cannot use that one. Just didn’t fit into my ideas, but nice one for sure!

John Hawkins August 15, 2006 at 7:29 am

Hi, as other people have said there is a problem with QuickTags.

no matter what i try i can not get it to display the quick tag for this plug-in, i do have a few other plug-ins that use custom quick tags and thier fine.

i can however just add the “class=”reflect rheight60 ropacity40″” to the image and it works fine.

im using WP 2.x (was a default install on my new server not sure what version but do know its 2+ haha)

trying to display the tag in FireFox 1.5/2 and MSIE6/7

Siuyee August 15, 2006 at 8:03 am

Are you referring to the bar in plain text mode or rich text mode? The plugin only adds a button to the plain text editor. It is using some pretty standard function to add itself to the quicktags bar, so I guess sometimes the quicktags bar might be broken by other plugins.

Peety August 20, 2006 at 12:44 pm

It works great..

Thank you SO much.. :D

Schlaefer September 21, 2006 at 12:46 am

Thanks for this great plugin.

maccougar September 28, 2006 at 10:25 pm

no matter what i do, i can’t get the button to show in my admin quicktag. I’m using WP2.0 too. I’ve turned off rich text and still it doesn’t work- ideas????.

Siuyee October 6, 2006 at 9:19 am

Thanks for testing 1.6a! :tongue_kao:

dan December 25, 2006 at 5:25 pm

Thanks! Works sweet!

micha January 3, 2007 at 3:19 am

really a simply great plugin!
i tried to use the wet floor plugin on images which are displayed side by side. but then the plugin always breaks the line so that each image appear in a single line.
does anyone else has the same problem? or is it the fault of my css?

Joe Vandal January 13, 2007 at 9:52 am

I like the wetfloor plugin, you can see me using it on my two random pic galleries. It worked great until the dreaded IE7 browser update!

I liked to set a shorter 20 or 30% reflection so you see the effect without being overwhelmed and not loosing too much white space.

However, my visitors with IE7 complained about the first two lines of whatever’s linked below the reflection not being clickable anymore. It was confusing because the links are still underlined.

Someone finally pointed out the reflection was probably overlapping, and when I changed the reflection to 40-50% those links became clickable again.

So the plugin needs some kind of IE7 workaround to not overlap the content below, possibly a z-layering thing?

And can we get a round of applause for Microsoft serving up another crappy browser that forces workarounds and hacks?

Roman January 16, 2007 at 7:14 am

I have a problem, please have a look at my Pics: http://www.romankeller.ch/blog/?page_id=756

Mark April 23, 2007 at 12:41 am

Hi, does anyone know of a plugin or css that can do reflection for TEXT? Like for eg :

text here

Thanks.

Phillip Kemp April 29, 2007 at 12:54 pm

Thank you for making such an easy plugin, i tried for hours to get a reflection before i remembered i was using wordpress,
silly wordpress

Have a fantastic day
Phillip

Dennis Hofmann June 2, 2007 at 1:46 am

Nice plugin, thank you!

Al June 12, 2007 at 10:48 am

I’m finding the same problem. I want to use this – I really really do. But if images can only exist on their own line then it’s not as much use to me as I would have hoped.

Unless the two of us are doing something wrong?

Javi July 5, 2007 at 7:11 am

Nice plugin!
Thanks from spain!

Mislove July 6, 2007 at 11:35 am

I have downloaded and uploaded the reflections.js file to every possible location on my server, including the content plugins directory as specified and I can’t get either reflections or wet floor (which I also downloaded and activated) to work!!! What the heck am I doing wrong??? I added

It doesn’t show the reflection!!!

What is the fix?? Anyone??

Web Design Analyst August 3, 2007 at 2:07 pm

Blogge uses reflection.js in a different concept. Check the combination with prototype.js.

Ara August 5, 2007 at 9:08 pm

i have tried every version. The quicktags button never shows up. what is wrong?

Mike August 12, 2007 at 3:58 am

It’s very beautifully.

ryuhack August 31, 2007 at 6:31 pm

well, i have a problem i could wish to solve, i installed the plugin but then an texot on the screen appeared : /* Plugin Name: WP Wetfloor Plugin URI: http://www.siuyee.com/projects/wp-wetfloor/ Description: WP Wetfloor is a WordPress wrapper for Cow’s Reflection.js, it adds reflections (a.k.a. the wetfloor effect) to images on your Wordpress blog. Version: 1.6a Author: Shirley Man Author URI: http://www.siuyee.com/ License: MIT License Tags: images, effect, wetfloor, javascript, reflection */ function wp_wetfloor_handler() { var isNum=/(^\d+$)|(^\d+\.\d+$)/; var imageurl = prompt(‘Location of image?\n(http://wet.com/floor.jpg)’, ”); if (imageurl) { var rheight = prompt(‘Height of reflection (without the %)?\nLeave blank for default.’, ”); reflectcode = ”; while (rheight && !isNum.test(rheight)) { rheight = prompt(‘Wrong input: Height of reflection (without the %)?\nLeave blank for default.’, ”); } if (rheight) { rheight = ‘ rheight’ + rheight; } var ropac = prompt(‘Opacity of reflection (without the %)?\nLeave blank for default.’, ”); while(ropac && !isNum.test(ropac)) { ropac = prompt(‘Wrong input: Opacity of reflection (without the %)?\nLeave blank for default.’, ”); } if (ropac) { ropac = ‘ ropacity’ + ropac; } reflectcode = ”; buttonsnap_settext(reflectcode); } }

and i cannot unninstall the plugin, so can you help me please!!
all help will be grateful

greeting : ryuhack

Leave a Comment