Unlesa you did a full zeroing format the info might still be available. There was an applicarion that attempts to rebuild the partition / Filesystem from left over meta data or inode info. I forget the name unfortunately.
Normall the strings command will get your photos but probably not if they were in a docker image database.