allow photo not assign to element