Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
What preposition should I use when referring to the lamp in / on the ceiling?
That chandelier-style lamp is on the ceiling, or is hanging from the ceiling. Your picture also shows some recessed lights (see my picture below), which could be described as being in the ceiling.
Required, but never shown