added support for multiple graphics that may not be an image.