|
Joomla_setup
How to set up image map editor for joomla
IntroductionEverything below was tried out with Joomla 1.5.4. By default Joomla uses TinyMCE 2.x so the basics are the same as for the TinyMCE_setup. UPDATE: Newer Joomla use TinyMCE 3.x and the installation is much simpler. Read steps below. Joomla can also work with FCKeditor, please read Joomla_FCK_setup. DetailsNew Joomla (Version 1.5.12 for example)
Older Joomla (Version 1.5.4 for example)
<param name="imgmap" type="radio" default="1" label="Imagemap" description="Imagemap"> <option value="0">Hide</option> <option value="1">Show</option> </param> $imgmap = $this->params->def( 'imgmap', 0 );
if ( $imgmap ) {
$plugins[] = 'imgmap';
$buttons3[] = 'imgmap';
$elements[] = 'img[usemap|class|src|border=0|alt|title|hspace|vspace|width|height|align|onmouseover|onmouseout|name],map[id|name],area[shape|alt|coords|href|target]';
} |
Sign in to add a comment
Hello,
Thanks for the tip. But, where would I get files for " {yourjoomlainstance}/plugins/editors/tinymce/jscripts/tiny_mce/plugins/imgmap/"
I don't see any "imgmap" folder in "{yourjoomlainstance}/plugins/editors/tinymce/jscripts/tiny_mce/plugins/" I have the latest version of this editor.
Thanks, Sandeep
@sandeep
You get it from inside the zipfile, you will find something like plugin_tiny.zip. For further instructions, please see http://code.google.com/p/imgmap/wiki/TinyMCE_setup
Hi Adam,
Thanx a lot for ur response. But, I am sorry to say, I could not find download link for plugin_tiny.zip The download section shows link for imgmap.xxxx.zip
Can you please give me the link ?
Thanks, Sandeep
@sandeep
The plugin_tiny.zip is INSIDE the imgmap.xxx.zip
This is a great plugin, thanks a lot. I'm wondering whether anyone has considered making it work for JCE editor (based on TinyMCE) which has a great advanced image editor, but no image map capability.
@toni
I havent heard of JCE yet, however if it is based on tiny, it shouldnt be difficult. If you wanna give it a shot, and publish your findings, let me know.
@ALL Hi I am interested in imgmap for JCE, too - it's a great plugin! I just have to admit, that I am actually clueless how to "port" it. I'll list what I'v tried so far:
EDIT: Don't ask me what was wrong before, but after redoing the steps below, the plugin suddenly shows in JCE and (what's even better) it works!
@adam If you're interested in providing a jce-plugin you might want to check out the following two ressources:
- JCE-Plugin Iframe
- backported version of the Iframe-Plugin for TinyMCE
There are actually just two things to be altered:Regards, raumoel
Hi again, as I had several instances of J!1.5 to be updated I took some time and managed to port Adam's work into a JCE Plugin. Just install it via the JCE-Plugin-Installer it should be in your default layout automatically, up and running. get it from here
Regards, raumoel
wow, havent seen these comments for a while, great work Raumoel, i will contact you shortly.
Adam
Man this doesnt' work. You can't use image map in TinyMCE. That's a fairy tale. Image map is depricated. You will have to hack Joomla to make it work, or whatever you are using it in.