Added support for Dragonfly image uploads.