renderThumbnail($this->value); $html[] = parent::getInput(); return implode("\n", $html); } protected function renderThumbnail($value) { jimport('joomla.filesystem.file'); $html = array(); $path = JPATH_SITE . '/media/com_blogfactory/share/' . $value; $src = JUri::root() . 'media/com_blogfactory/share/' . $value; if (JFile::exists($path)) { $html[] = '