Inline Media in Twitter

Posted on April 3rd, 2008 | 1 Comment »

I started writing a twitter client yesterday to handle inline media and shortened url’s. While it’s not ready for general consumption yet, I went in and made a demo video, explaining what I was going for. Leave a comment if you’d like to give the interface a try, and you can always friend me up on twitter.

Using a Sony Eye-Toy HD with Leopard

Posted on March 28th, 2008 | No Comments »

Today, I decided I wanted to get my PS3’s EyeToy working with my macbook.  I like the idea of timelapse video, but hate the idea of pointing my laptop at something long enough to get a good video.  I plugged the camera in but had no luck first off.  System Profiler saw the camera, but I couldn’t get it to show up anywhere useful (namely, iStopMotion.)  A few google searches led me to Macam . The build I downloaded was from March of 07, so I wasn’t sure it would work.  It didn’t.

Another google search took me to Cristiano Betta’s blog, where he apparently had no trouble getting a PS2 Eyetoy to work with leopard.  I knew I was missing something, so I went back to the macam download page,  and looked for source.  The latest CVS build worked just fine, however.

That did it. It works.  I wish I could be more descriptive, but that’s all the info I have!

jQuery Lightbox in Drupal, via jLightbox

Posted on September 18th, 2007 | No Comments »

Daniel Kudwien took the time to package v0.2 of jQuery Lightbox as a Drupal module.  You can check it out at http://drupal.org/project/jlightbox

jQuery Lightbox Version 0.3

Posted on September 17th, 2007 | 15 Comments »

NOTE: jQuery Lightbox v0.3 is a very old release.  I’ve recently released version 0.5 and highly suggest you download that release as it fixes many bugs that exist in v0.3 as well as introduces a host of new features.

Nearly 50 days after the last release,  jQuery Lightbox has made it to v0.3, a stable version which should be ready to be used anywhere you’d like.  There haven’t been any major changes to the codebase,  mainly just bug fixes.  Here’s a brief list of issues that have been addressed:

  • Overlay image wasn’t properly resizing with the browser window.Fixed by changing the width of #overlay from a pixel width, to simply 100%
  • Clicking close would generate scrollbars in Firefox V2.0.0.5Fixed by modifying the style associated with the close button.
  • Clicking the “Next” and “Previous” buttons could render the lightbox in a constant state of loading.Issue diagnosed as jQuery firing multiple instances of the .click() method on mouse down.  Workaround was to introduce an “in progress” variable to all transitions, preventing multiple requests to load an image.  I’m not 100% happy with this method, but it works well for now.
  • Browsing through images of similar sizes could cause the lightbox to not show a new image.Fixed by removing conditional resizing of the lightbox.  Now  hDiff and wDiff are disregarded attempts to resize the box.  A horizontal and a vertical resize are requested on each image load.  This should have no negative effects on image galleries.
  • Several other small bug fixes surrounding CSS.

With this,  jQuery Lightbox should now act as a fully functional lightbox replacement.  The next steps in the process will be to rewrite portions of the code with jQuery’s “Write less, do more” philosophy.  On top of that,  there have been several requests to add “Slideshow” functionality.

I don’t think a slideshow will ever make it into the codebase, unfortunately.  This script was written to be a lightbox replacement, and I think it does that rather well.  Writing a script to work alongside of this could be done in a few simple lines of jQuery, and I may even provide them somewhere in the future,  but they won’t be in the main lightbox.js codebase.

As always,  comments are welcome, and encouraged.  Please let me know any experience you may have with this, as the drive is on now to really get this written as some solid jQuery code.

Cheers!

Download jquery-lightbox-0.3.zip 

jQuery Lightbox Issues

Posted on August 3rd, 2007 | 1 Comment »

It’s been a few days, and several people have downloaded the jQuery Lightbox.  I’ve already received some feed back, and have isolated a few issues.  The current bugs all seem to revolve around clicking the “Next” and “Previous” buttons.  Clicking these buttons often shuffles the activeImage array.  I currently see two possible solutions to this issue:

  • Determine which jQuery click() event is creating the shuffle, and fix it
  • Modify the script so that the image set is circular, in which getting to the end of the gallery brings you back to the beginning.

I think this is the only  bug that could stop adoption of this script, at the moment.  Hopefully i’ll get it wiped out this weekend.