added photocredit dynamically