There is only one way. You have all ready formatted the drive and there is no guarantees that it can be completely recovered.
If you have overwritten the formatted drive then it is even harder to perform.
You need a working computer with a hard drive with enough empty space (preferably more) than what the old drive has.
You will need to get a third party data recovery application or program for trying to perform the deed.
You can google for the recovery programs and read up on which one is best..while there are some free trials they limit the usage and others will recover the files but will not allow transferring (saving the recovered files) without payment.
This is one that I use:
GRC*|*Hard drive data recovery software**
It is not free!
install the program to the working computer and slave the old drive to the same computer.........you can not do this on a single harddrive as the application has to be independently installed from the drive that needs recovered.
Run the program...This can take hours...even days...depending on how bad the files are that needs recovering and how many there are.
If it is pictures.....they are the hardest to recover...so don't expect miracles.