Fixed Maximum upload 10 photos on server with conditional auxiliar