Drupal 7 has been out for a few months now and I'm wondering why the dev release doesn't work with 7? I desperately need this plugin :)

If no go, any suggestions for a workaround? I need an image map for the front page of my site. Thanks!

Comments

akoepke’s picture

Status: Needs review » Active
StatusFileSize
new8.1 KB

I came across this module and was thinking of the same question myself.

Attached is the conversion of the module I have done. I am using this on my Drupal 7 install and it works well.

EDIT: Ignore the attached file, please see post below which contains updated copy. Thanks

akoepke’s picture

Status: Active » Needs review
akoepke’s picture

StatusFileSize
new8 KB

Just attaching a new copy, forgot to remove some lines I had copied into this file as a reference.

geek-merlin’s picture

Status: Active » Needs review

worksforme. many thanks for sharing!!

kath jh’s picture

Thank you for posting this! I've just spent a whole day trying to solve the imagemap thing with one of the wysiwyg editors and had no luck. You saved my day, it works for me. There is one weird thing though. The insert image button doesn't work properly anymore, it gives a broken link image instead of the image I wanted to insert. I had this problem before with an imagemap solution I created through adjustment of the tinymce.inc file (which stopped working after update of the wysiwyg module). If I create another wysiwyg profile with the imagemap plugin disabled/unchecked en choose that profile for editing my page the insert image button works fine. Any clues? (I've edited this comment but don't know what will show up, in my first attempt some code vanished)

Thank you again,

Karin.

akoepke’s picture

What browser are you using?

I had issues with this happening on Firefox but not with Internet Explorer. I couldn't work out what was causing it exactly.

kath jh’s picture

Yep! I'm using firefox.

akoepke’s picture

Hmmm... I don't know enough about how the whole thing works in order to debug this. In my case we are not using this feature too often and the users have been told when using it to use IE.

kath jh’s picture

I'm still developing so no users are having trouble with this at this moment. It's good to know that using IE can be a solution. I had the following solution for myself: created two wysiwyg profiles, one with imagemap plugin enabled and one with imagemap plugin disabled. Insert an image with one profile and map it with the other. Users priviliges can be configured to choose between some profiles as far as I know. I see tinymce acting weird (or not at all) on more places; when adding custom content in a panel pane no editor buttons are shown at all. The ckeditor is somewhat more reliable I think but I couldn't get its imagemap plugin configured (allthough this editor didn't show up in the panel pane either as I remember correctly, this might also be a panels issue). I will play around with wysiwyg profiles to get the best of both editors I think. Thanks for your support.

Karin.

pwall’s picture

This works in Firefox 6 at least. The thing to note is that selecting the image for it can be tricky sometimes, the most reliable way is to select the image from left to right using the arrow keys on your keyboard. I'm packaging this up for an official 7.x release.

Taxoman’s picture

Title: Can I get this to work with Drupal 7? » D7 port of Wysiwyg Image Map
Version: 6.x-1.x-dev » 7.x-1.x-dev
Category: support » task

The "View all releases" page for this module has a dev version now. Maybe good to keep this issue open until that version is visible on the module page.

kevster’s picture

I have the same issue when switching on the imagemap module - it knocks out inserting images, I get the broken image icon. Weird as I can select an image fine - it just breaks when adding.

I have the latest updates for D7 and IMCE, WYSIWYG etc and running FF 8.0

I get <p><img border=0></p> tag but no reference to the file itself (using Full HTML profile).

If I switch off imagemap in wysiwyg I can add an image and then use.

great module by the way, very useful..

Will try with other browsers - I can retest when any changes made

kevinwal’s picture

Priority: Normal » Minor

Kevster,

Any additional details? We tested in Firefox 9, Chrome, etc. and all worked flawlessly. Maybe you have a plugin that is conflicting?

kevinwal’s picture

Status: Needs review » Postponed (maintainer needs more info)

Changing to postponed until more information is provided.

kevinwal’s picture

Assigned: Unassigned » kevinwal
Status: Postponed (maintainer needs more info) » Closed (cannot reproduce)

Closing due to lack of information. D7 dev exists which was the main point of this ticket.