show multiple pdf pages
recognize .jpeg file extension