As pointed out by the author of this article, there are several CSS techniques for creating drop shadows on your images. This one seems to be a bit more flexible using only one background image to create the different shadow effects.

Check it out.