Is there any way I can get photos from a broken iPhone?

So i have an iPhone 4 that I dropped, and the back of it cracked. After I dropped it the screen wouldn't light up so eventually I purchased a new phone. I'm now trying to get pictures off of my old phone but when I plug it into my mac it says I need the password, which I can obviously not put into the phone, because I can't see what I'm doing. I tried the Gihosoft iPhone recovery app and it says "Your iOS device is encrypted with iTunes backup. Please enter the password here to unlock it." I've put in my apple ID password and my phone password but it won't work. I then downloaded the Jihosoft unlocker and it says "the iTunes backup file do not encryption". Any help?

Well sounds like you need to get the screen fixed or forget the stuff on the phone if those two apps do not allow you to enter the password to get access to what you need.

You can try the Easeus iPhone Recovery but still it would require the password to be put in your iPhone.

Why not check your iCloud account of the old iPhone 4? Maybe all the photos have been synchronized or uploaded to iCloud.