converted old view to display images