Revert "Added code to make image link to index for remote."

This reverts commit e80f1939a6b7674ca06343fb6b327872d26ec820.