Write SQL query to solve given problem: Among the elite users of 10 consecutive year from 2005 to 2014, list down the user ID and their number of compliment on photos.. Keep the solution inside sql tag ```sql [SQL-Query] ```
SELECT T2.user_id, T2.number_of_compliments FROM Compliments AS T1 INNER JOIN Users_Compliments AS T2 ON T1.compliment_id = T2.compliment_id INNER JOIN Elite AS T3 ON T2.user_id = T3.user_id WHERE T3.year_id BETWEEN 2005 AND 2014 AND T1.compliment_type = 'photos'