added ping tracker
added image resizing