When I upload a file and get to the point where the web browser has popped open the window asking me to find the file, I just drag the picture from iPhoto over to that window and drop it on the box where you'd normally type the path. iPhoto fills the path to the picture into the web browser forme.