Problem inserting image map on page node

Tony_scibs - April 16, 2009 - 17:11

Can anyone help me? I have an image map that I would like to display in a page node.

What I have tried:
1. The image map code and image source code works outside of Drupal. The code was tested on FireFox and IE. It worked with no problems.
2. tried inserting the image map code and the image source code into a page node using the full HTML input format and the image did not show up...only the Alt text appeared.
3. tried adding the and tags to the filtered HTML allowed tags list and inserting the image map code and image source code a page node. This too did not work.
4. tried inserting just the image source code (without the image map) into a page node and was able to do so successfully. The image appeared on the page node.
5. searched the forum, Drupal Multimedia book and documentation, but strangely cannot find an answer to this question.

Other specifics about my situation:
1. have the Image module and the Image Assist module enabled on my site and have enabled the "Inline Image" setting under Input Formats.

Can anyone help me? Why are the map and area tags still being stripped if I am using Full HTML and I have added the tags into the Filtered HTML list? This map is actually very vital to navigating a good source of my site content (The site is about U.S. National Parks and the image map is a map of the United States with links to various national parks).

_

WorldFallz - April 16, 2009 - 17:33

Are you using an editor module of some kind?

_
Don't be a Help Vampire - read and abide the forum guidelines.
If you find my assistance useful, please pay it forward to your fellow drupalers.

Not using an editor

Tony_scibs - April 16, 2009 - 17:37

Hello, World Fallz. No, I am not using an editor of any kind. I was thinking of adding TinyMCE, but have yet to do so.

_

WorldFallz - April 16, 2009 - 17:44

My site is full of image maps-- and I've never had a problem unless using tinymce (use fckeditor if you decide to add a wysiwyg and you won't have a problem). Hmmm.... make sure the "html corrector" filter is not checked on the "Full HTML" input format. If you're still having a problem, maybe post the image map html and I'll try it on my system.

_
Don't be a Help Vampire - read and abide the forum guidelines.
If you find my assistance useful, please pay it forward to your fellow drupalers.

Will try tonight

Tony_scibs - April 16, 2009 - 17:53

I will definitely try that and get back to you. If your suggestion isn't the end solution, I will gladly post the code for your further help. Thanks very much for your suggestion and willingness to help.

It works!!

Tony_scibs - April 16, 2009 - 18:46

World Fallz:

It worked! I DID have the HTML corrector on apparently. When I disabled that feature and clicked "save", the park and its map appeared and works great! I appreciate your taking the time to help me. I am very excited.

_

WorldFallz - April 16, 2009 - 18:49

Excellent-- happy to help. Not sure how much you plan to use image maps, but i have a module that highlights the hotspots with jquery (jq_maphilight). Also, on the project page is a link for a plugin for fckeditor that allows you to create image maps right while editing the node. It's been fanatastic help.

_
Don't be a Help Vampire - read and abide the forum guidelines.
If you find my assistance useful, please pay it forward to your fellow drupalers.

image mapping

mgwalk - April 17, 2009 - 01:14

can someone that uses drupal test my image map tool out on their site?
image map tool

thanks

 
 

Drupal is a registered trademark of Dries Buytaert.