public function format(array $response)
    {
        $car = '<br />';
        $format = '';
        foreach ($response as $media) {
            $format .= '<div class="media">'
            . '<img src="' . $media->getThumburl() . '"'
            . ' width="' . $media->getThumbwidth() . '"'
            . ' height="' . $media->getThumbheight() . '"'
            . ' title="'.ApiTools::safeString(print_r($media, true)).'">'
            . $car . '<span class="pageid">' . $media->getPageid() . '</span>'
            . $car . '<span class="title">' . ApiTools::safeString($media->getTitle()) . '</span>'
            . '</div>';
        }
        return $format;
    }