Are unique IDs (GUID's) good for website image filenames?

Viewed 1766

I'm having a debate with a fellow programmer (PHP) and we both disagree when it comes to GUIDs. Assuming that information about each image is being stored in a DB and has its own primary key (int).

What reasons could there be for using a unique ID for the image filename, beyond not having to worry about duplicate filenames?

I don't want to disregard his methodology, but it doesn't sit well with me either.

Thanks! Ben

Update: Having heard many +1's for GUIDs, how might SEO be affected by "randomly" generated image filenames? (Thanks Sukumar)

4 Answers
Related