Show first image path
some refactoring