this is what they are
make new layer on image that you need border
edit>stroke>3px black and make sure location is ticked for inside
edit>stroke>2px any color you want (i used white)
now your done
place this layer above all the others.
side note if you guys start making tuts we might get a tutorial sub forum