resized pictures and deleted unused pictures