public function render($options = array())
        {
            // check if the input is an array, and if not, assume it's an email address
            if(!\Thin\Arrays::isArray($options)) {
                $options = [self::OPTION_EMAIL => strval($options)];
            }
            $options = $options + $this->options;

            // set HTML attributes
            $attributes = new \Thin\Html\Attributes();
            $attributes
                ->set($this->attributes)
                ->set('src', $this->getUrl($options))
                ->set('width', $options[self::OPTION_IMAGE_SIZE])
                ->set('height', $options[self::OPTION_IMAGE_SIZE]);

            // build the HTML output and return it
            return "<img {$attributes} />";
        }