Picture id from MYSQL primary key? good idea?

Is it a good idea to uniquely identify photos on your site with the
photos primary key? I think facebook does it this way.

I was worried about MySQL running into problems if it gets too many
processes per second or something. Any thoughts, thanks in advance.