The beauty of Play sending a file…. Posted 02/02/2016 def avatar = Action { request => val img = new File("/path/to/some/location.jpg") if (img.exists()) { Ok.sendFile(content = img, inline = true) } else { NotFound } }