index images only if present
Merge pull request #8 from HeroInt/bugfix/fix-image-indexing

index images only if present