The phone has to be rooted already (you can't "recover" deleted files unless it is). Use DiskDigger undelete (root) to recover deleted photos. (If you've written anything since a picture was deleted, part of it may have been written over, and you can't recover that part.)