Hi
At the moment I am adding images like this:
static $has_one = array(
'Image' => 'Image',
'ImageThumb' => 'Image'
);
function getCMSFields() {
$fields = parent::getCMSFields();
$fields->addFieldToTab('Root.Content.Main', new ImageField('Image'), 'Content');
$fields->addFieldToTab('Root.Content.Main', new ImageField('ImageThumb'), 'Content');
return $fields;
}
}
which is the way described in the tutorial: extending a basic site,
but i don't want the cms to make the image code (<img src="test.gif" alt="" />)i only want to see the link when i call for it (test.gif)