We start out with a flat image with no css styles applied.
First we apply a box shadow, which provides a nice outline around the image and begins to give us a three dimensional look.
Next we apply a deep shadow to the image. This shadow will give us the deep three dimensional look we are after.
Finally, we change the z-order of the deep shadow, placing it behind our original image.