Added photo type in check