The job of a food photographer is make what’s in front of their lens look like you’d want to eat it, just as the job of a porn photographer is to make their subject look like you’d want to buy it a couple of martinis and rent a room in a cheap hotel.
Confections take well to the camera because confectionery itself is an art involving brilliant colors, textures and shapes, not to mention architecture, especially when it comes to cakes, which can be monumental. Candies are easy, too, but cookies can be tricky, with the exception of window cookies, which are a combination of architecture and cookie. Window cookies are sugar cookies with a transparent candy center. You’re going to find other types called the same thing, of course. In the Midwest, they have what are called cathedral cookies, which are made by with colored mini-marshmallows rolled chocolate cookie dough, sliced and baked. Then you have what are called thumbprint cookies, dimple cookies or jelly cookies, which are made by making a depression in the middle of raw cookies, filling it with fruit preserves and baking.
The most essential ingredient for proper window cookies is a translucent hard candy like Jolly Ranchers or Life Savers. Coarsely crush the candy, and use a basic cookie dough. I use cocoa for color, chopped nuts for texture, and if I’m really froggy, sliced almonds for “tiles/bricks”. (Yeah, it’s goofy, I know.) Bring ingredients to room temperature before mixing. Roll out dough to a half inch thickness, and take care not to overfill the centers with candy. You can also bake hollow cookies and fill them with chocolate or peppermint. Both versions are best a bit large, over three inches. Cook in a low oven, 300, for the while it takes to dry the dough and melt the candy. Cool thoroughly on a secondary surface.