private function getGifUrl($dir, $gif) { return $this->generateUrl(sprintf('bundles/gifexception/images/%s/%s', $dir, $gif)); }