Photos on cakes are typically printed on edible paper using food-safe ink. Once printed, they're carefully placed onto the cake's surface. Edible adhesive or a thin layer of frosting helps secure the photo in place, ensuring it stays intact for consumption.