Resources/contao/classes/C4GHTMLFactory.php
public static function imgLink( $options=array() )
	{
		$options['href'] = $options['href'] ?: '#';
		$options['addClass'] = $options['addClass'] ?: '';
		$options['target'] = $options['target'] ? ' target="' . $options['target'] . '"' : '';

		if ($options['c4gImg']) {
			$options['src'] = 'bundles/con4giscore/images/' . $options['c4gImg'] . '.png';
		} else {
			$options['src'] = $options['src'] ?: 'bundles/con4giscore/images/href.png';
		}

		$options['imgWidth'] = $options['imgWidth'] ?: '75';
		$options['imgHeight'] = $options['imgHeight'] ?: '75';

		$options['label'] = $options['label'] ? '<span>' . $options['label'] . '</span>' : '';

		return '<a href="' . $options['href'] . '"' . $options['target'] . ' class="c4g_imgLink ' . $options['addClass'] . '">'.
				'<img src="' . $options['src'] . '" width="' . $options['imgWidth'] . '" height="' . $options['imgHeight'] . '">'.
				$options['label'] . '</a>';
	}
public static function imgLink( $options=array() )
	{
		$options['href'] = $options['href'] ?: '#';
		$options['addClass'] = $options['addClass'] ?: '';
		$options['target'] = $options['target'] ? ' target="' . $options['target'] . '"' : '';

		if ($options['c4gImg']) {
			$options['src'] = 'bundles/con4giscore/images/' . $options['c4gImg'] . '.png';
		} else {
			$options['src'] = $options['src'] ?: 'bundles/con4giscore/images/href.png';
		}

		$options['imgWidth'] = $options['imgWidth'] ?: '75';
		$options['imgHeight'] = $options['imgHeight'] ?: '75';

		$options['label'] = $options['label'] ? '<span>' . $options['label'] . '</span>' : '';

		return '<a href="' . $options['href'] . '"' . $options['target'] . ' class="c4g_imgLink ' . $options['addClass'] . '">'.
				'<img src="' . $options['src'] . '" width="' . $options['imgWidth'] . '" height="' . $options['imgHeight'] . '">'.
				$options['label'] . '</a>';
	}
[imgLink description]
@param  array  $options [description]
@return string          [description]