Trouble with click event on images

Trouble with click event on images

I am working on a 3d image carousel plugin and having some issues with assigning click events the images.

One way to rotate through the carousel is to click an image and it will rotate the carousel to bring that image to the center. But for whatever reason the click event I am trying to apply to all the images is not working at all. I'm using $('img').live("click", function () { // code // }); and using jQuery 1.4

My plugin starts off by hiding all of the images elements, and then running through a preloader. One all the images are preloaded, they are unhidden. I remove all the code for the preloader and it still doesn't register the click event