23380 Posts in 18311 Topics by 2867 members
|Go to End|
17 October 2010 at 5:53pm
I was wondering if there is a way to have a ImageField with a Link To menu (radio list) like in the HTML editor for links? I want to have my client be able to link to pages in the site or external content.
I found this in the forum to link to a page...
'MainImage' => 'Image',
'MainImageImageLink' => 'SiteTree',
$fields->addFieldToTab("Root.Content.Images", new FieldGroup(
new TreeDropdownField("MainImageImageLinkID", "<b>Main Image Block</b><br />Select the page to link to and then choose the image to display", "SiteTree"),
Can I add anything to get the Link to menu with the ImageField or can I only link the image to pages in the site?
Thanks for any help
|Go to Top|