How to automatically cache temporary images - 7.x

Summary

A number of macros like the chart macro, produce temporary images. Prior to release 7.1, the recommended way to cache a macro like chart would be to add parameters to the chart macro to make sure the generated image was converted to a attachment. Similarly for other macros like the Graphviz macros. Automatic support is now available.

Steps

With release 7.1, temporary images can be automatically cached!