ok ho risolto nominando il file jpg sin dall'inizio con un numero random, easy, thx!