An imaging module (1) comprises a lens holder (50) for holding a lens, and
a foot (30) for holding an image sensor chip. Both the foot (30) and the
lens holder (50) are provided with a flange (35, 52) having inclined
contact surfaces (36, 53). In an assembled state, the lens holder (50) is
snap-fitted over the foot (30). The lens holder (50) comprises slots
(56), whereas the foot (30) comprises ribs (37). When the ribs (37) are
received by the slots (56), rotation of the lens holder (50) with respect
to the foot (30) is prohibited, whereas movement of the lens holder (50)
with respect to the foot (30) in an axial direction is allowed. In this
way, a maximum axial distance between the lens holder (50) and the foot
(30) is determined, which may be set to be the focal distance of the
lens.