How to transfer/view iPhone photos when phone is locked?

A few days ago I dropped my iPhone and the LCD/screen broke. Only the upper portion of my phone is visible/reactive to touch.

I know we can view photos from iPhoto, but the thing is they require the iPhonespasscode to view them. My lower part of the screen is broken so it is not functioning and I can't type in my password.

Is there any other way to enter the phone/transfer my photos this way? How do I reset my phone's passcode without losing the data/password in my phone?

Jij

The photos etc should be in icloud etc you will need another screen to use to enable log in as the only way is to hard reset using the homebutton and attaching to pc, you will not even be able back up without password / pin… You say you can view in iphoto with pin… If log into icloud as i said… Your pics are all there