add the loading bar
split the images into pieces