implemented image loading progress