changing topic number and image size