function startUploadForumPhoto(id){ $('#errDimension'+id).hide(); $('#errFormat'+id).hide(); $('#photosErr').html(''); $('#uploadPhotoNow').html(svgLoader); return true; } function stopUploadForumPhoto(file, filebig, success, id, width, height, label, filename){ i=label; //brak pliku lub etykiety if (success == 0){ if(label!=''){ $('#photosErr').html(label); } else { $('#'+id).parent('li').fadeOut(500, function(){$(this).remove()}); } } //wszystko ok if (success == 1){ $('#photos').append('