render images, filetype agnostic