If you can turn on the device and connect it to a computer, you may be able to transfer the images to the computer via USB cord and then transfer them to the new phone via USB cord as well.
However, if the older device won't turn on, or won't allow connecting to the computer, then you won't be able to get the images from it.