Paul Stamatiou

25 year old developer and startup guy living in SF

Appsumo contest Entrepreneur's Book collection
Checkout AppSumo's contest for the Entrepreneur's Book Collection!
Picplum Banner

HOW TO Quickie: Image Reflections

24 Dec 2005

Reflection.js is a simple piece of javascript that can add some slick looking reflections to any image on your site. All you need to do is add class="reflect" to the image. If you are using the K2 WordPress theme you can call reflection.js and the requisite prototype.js (assuming you have uploaded it into the K2 » js folder) by adding the following to the top of header.php:

<script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/js/prototype.js"></script>
<script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/js/reflection.js"></script>

Come back soon!

Subscribe via RSS or email.

AppSumo. Deals on tools for startups. Check em out.