refactor routes index images