I think you have enabled lightbox from the settings. So it is taking you to image file, can you please disable that and try ?
To remove link from the images, you can check this video. https://www.youtube.com/watch?v=LEUuSxGhrik&index=4&list=PLYI3GbO01xo7CrOD_uVXU2g5MrG4ycE2L . It removes link from image and to its related post as well.