I am trying to render image thru BufferedArray using Play Framework. The images are not being rendered with any of the following approaches. Any pointers are really helpful
- Returned byte[] from Bean and rendered in main.scala using @bean.property. I can see the data coming by viewing source.
- Wrote the image to temporary location and using the URL returned in " > tag. No success.
- Used inline image approach (http://en.wikipedia.org/wiki/Data_URI_scheme) (with and without Base64 encoding and image file size less than 32KB) but still no luck.
Any help/pointers are really appreciated.