Added support for saving card images to the pictures directory.