Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » Image Maps

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

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

Page: 1
Go to End
Author Topic: 2354 Views
  • Nicko
    Avatar
    Community Member
    14 Posts

    Image Maps Link to this post

    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

  • Fuzz10
    Avatar
    Community Member
    786 Posts

    Re: Image Maps Link to this post

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

  • Alex S
    Avatar
    Community Member
    30 Posts

    Re: Image Maps Link to this post

    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?

  • Liam
    Avatar
    Community Member
    470 Posts

    Re: Image Maps Link to this post

    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 : "*"

  • Alex S
    Avatar
    Community Member
    30 Posts

    Re: Image Maps Link to this post

    Great, that worked very nicely.

    Cheers for the tip

    2354 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.