Swfir spiffs up Web site images

A couple of weeks ago the boys over at Happy Cog released to the wild an updated version of the swfir (pronounced “swif-fer”). For those keeping score, SWFIR stands for “Shockwave Flash Image Replacement”, and it’s an easy way to give the images on your Web site a little zing.

To get it to work, you add the swfir javascript function in the head tag of your page and then a 3-line javascript just before the close-body tag. The script looks for any image on your Web page with a class of “swfir” and replaces it w/a Flash object based on that image.

You can easily adjust the script parameters to give your target image a:

  • border
  • rounded corners
  • shadow
  • tilt

…and more. You can see a demo on swfir.com.

What’s more, the swfir was designed to support standards-based design concepts and works on all the major browsers.
This is a great feature for Web designers to add to sites with simple content management systems and that will be used by people with little knowledge of graphic design to upload photos. Instead of posting simple - and sometimes bland - photography, by building the swfir into a dynamic page template designers can easily make these sites look more sophisticated and professional.
Pemaquid is actually building the swfir into a new version of the Pemaquid Content Manager on site we’ll be launching in the next two weeks. Stay tuned for that.

Leave a Reply

You must be logged in to post a comment.