When you say it doesn't work, is there an error message? Or does nothing happen? Is the menu option greyed out?
Also, have you tried creating a new iPhoto Library (hold the option key down while launching iPhoto) and puttng a couple of test images in, to see if the problem is still there?