Archive for the ‘Projects’ Category

ImgZoom 0.2.2

Friday, September 30th, 2011

I have finally found some time to get back to working on my jQuery plugins and implement some of the long-delayed updates. The first plugin to receive this treatment is imgZoom — I have just released a new version of it (available here and on jQuery plugins).

This latest release adds two new options: remove, which (to no surprise) removes the plugin, and group, which allows you to organize images into groups with separate prev/next navigation. It also introduces a callback function, onInit, allowing you to execute a piece of code when plugin initialization is completed.

As always, big thanks to everyone who provided feedback.

SelectList 0.4.2

Sunday, July 31st, 2011

I have released a new minor version of selectList. It introduces a small feature that was requested by a few people, and that is the ability to easily remove all selected items. Before this release, this was possible, but unnecessarily complicated. Now, it’s just a matter of calling the remove() API method with no arguments:

$('select').selectList({ instance: true }).remove();

As always, thanks for everyone’s feedback.

ImgAreaSelect 0.9.8

Saturday, June 18th, 2011

It has been just three days since the previous release of imgAreaSelect, and I’m already here with a new version! How’s that for short release cycles? But seriously, I screwed up a bit with the last release. There was a problem with the implementation of scaling which limited the area available for selection on scaled images, and it somehow went unnoticed during testing. Anyway, version 0.9.8 fixes it.

Thanks to Martin Fowler for catching this issue.

ImgAreaSelect 0.9.7

Tuesday, June 14th, 2011

ImgAreaSelect 0.9.7 has just been released. It’s a few days later than I originally anticipated, as I bumped into some problems with the automated tests. Well, I guess with a dozen browsers, some running on virtual machines, some compiled from source code, I can’t expect things to be easy. Anyways, the significant changes in this version are:

  • The minWidth/minHeight/maxWidth/maxHeight options now respect scaling
  • There is a new API method, cancelSelection(), which cancels the current selection (as the name suggests)

Big thanks to everyone who provided feedback, especially to Loa and Greg.

With each new version, I spend some time making sure the plugin code is as small as possible — after all, the project home page states “the packed version is less than 8 KB”, and I want to keep it that way. But, the packed code for this release was initially about 40 bytes more than 8 KB, so I had to do some refactoring. By changing a few regular expressions, I managed to get it down to 8191 bytes, which happens to be exactly one byte less than 8 KB. That’s a close call, but, hooray, my statement still holds true!

ImgAreaSelect Roadmap

Tuesday, May 31st, 2011

A quick announcement: the GitHub project page for imgAreaSelect now includes a Roadmap, which lists the planned updates for the upcoming releases of the plugin. At the moment, I have a couple things in the backlog that I want to implement in the next patch-level release (0.9.7), and in the major milestone version 1.0. The changes planned for version 0.9.7 are rather simple, so I hope to release it this week or the next, and then we’ll be on the straight way to 1.0.

All the hype nowadays is about mobile technologies and mobile web, and one of the major updates in imgAreaSelect 1.0 is going to be mobile browser support. I’ve been working on this for some time, and the result so far is something that pretty much works in the standard Android browser and in Safari on IOS devices (iPhone and iPad). However, it’s probably going to take a few more weeks before it’s ready to go live, because a) I want to (try to) get it to work in other browsers, specifically Opera Mobile, and b) mobile browsers support required significant changes to basic plugin code, so I need to make sure everything still works as it did before, and probably rewrite a couple test cases.

Here’s a little teaser — imgAreaSelect on the iPhone simulator:

ImgAreaSelect on the iPhone Simulator

ImgAreaSelect 0.9.6

Friday, May 6th, 2011

ImgAreaSelect version 0.9.6 is out. A new major release of jQuery (1.6) came out a few days ago, and it turned out that the previous version of imgAreaSelect was not compatible with it — this version fixes this problem.

As always, thanks to all the people who reported this issue and provided feedback (especially to Rob Crawford and Giovanni Battista Lenoci for their valuable input).

ImgAreaSelect 0.9.5

Saturday, April 9th, 2011

A new release of imgAreaSelect is out. It fixes a major issue with plugin initialization in Internet Explorer 9, which was reported to me by a few people. Thanks to all of you, especially to McArrow, who provided the fix.

SelectList 0.4.1

Wednesday, March 30th, 2011

A new version of selectList has just been released and is available for download. This is a minor release with no new features, but it fixes a major issue that made the plugin fail in Firefox 4. I finally found enough time to work on it, and I’m happy to announce the new version works fine in the hot latest release of Mozilla’s browser — as depicted by this part of the test results table:

As usual, thanks to all the people who reported the issue.

ImgAreaSelect FAQ

Saturday, March 12th, 2011

Just a quick announcement: I have added a FAQ page for imgAreaSelect. The three questions currently there make around 80% of the e-mails that I get about the plugin, so I thought it would be reasonable to answer them in a FAQ.

Enjoy your weekend!

ImgAreaSelect 0.9.4

Tuesday, March 8th, 2011

A new minor release of imgAreaSelect is out. It fixes a small issue that affected bordered images, and adds a new option, resizeMargin, which allows you to set the space near the border of the selection area where resizing is allowed (previously hardcoded to 10px).

As usual, thanks and kudos to all the nice people who reported bugs and sent feedback.

By the way, this release is also the first one to be available on GitHub, so you can go and fork the hell out of it.