Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Archive

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, biapar, Willr, Ingo, simon_w

Image Maps


Reply

5 Posts   2424 Views

Avatar
Nicko

2 September 2008 at 1:42am (Last edited: 2 September 2008 1:42am), Community Member, 14 Posts

Hello,

I have tried searching the SilverStripe site and forums for anything about Image Maps and couldn't find anything.

Their doesn't appear to be an option in the editor to create image maps. I also tried to enter one in via the html editor and that didn't work either. All my code (except the image tag) was gone after checking again.

So can anyone confirm that Image Maps are not possible on SilverStripe? If anyone has any alternatives that would work instead I would be keen to hear from you also.

Thanks

Avatar
Fuzz10

2 September 2008 at 6:53am Community Member, 787 Posts

There is no automated tool for creating image maps in Silverstripe. But why not create them with an external tool ?

Avatar
Alex S

23 November 2008 at 5:32am Community Member, 30 Posts

I've just started looking at this and it would seem (although I must admit, I don't understand why) that you can't have image maps. Even when you've created them externally (as I have), the HTML can't be saved.

Anyone know if there's any way round this?

Avatar
Liam

23 November 2008 at 7:34am Community Member, 470 Posts

Tinymce strips out certain elements the way it is setup by default.

Edit cms/javascript/tinymce.template.js and change valid_elements to valid_elements : "*"

Avatar
Alex S

1 December 2008 at 6:24am Community Member, 30 Posts

Great, that worked very nicely.

Cheers for the tip :-)