If most of the business of the company are related to unlawful photography then it is not lawful to work for such a company. But if most of the business are related to lawful things and the work of unlawful photography is little then in such a case your work shall not be termed as unlawful and haram. However, it is even better to avoid it.
Allah knows Best!
Darul Uloom Deoband