Instead of adding borders with your graphic program, you can simply add a border to your pictures with css. Just follow this tutorial.
1. Go to your css and paste this code:
2. Don't change the border colours if you want it to be grey (if you want it a differnt colour border you can change it)
3. Then the code for every image is:
4. Done! ^^