Hello, I can give you some tips but I cannot guarantee.
The recovery process is done with special software, but I will leave the risk to your decision since I cannot guarantee it.
There is a possibility that you won't be able to recover all your gallery pictures, but this will depend on how many pictures were saved and how old they are, so I cannot give you an exact number