upload image resources and add two kinds of cells