Display images and PDFs from bytes

In the latest "new features" email, it says, "You can now display images and PDFs from bytes (in memory/not yet uploaded)!"

However, I've tried it with no success. Does anyone know how to implement it?

2 replies