added testimages and implemented directive to display images