Hello again, how could I create a custom button for CkeEditor so it could insert an image for highslide (which is a image thumbnail viewer)? All I would like it to do is open the window to select an image, change to accommodate for the image location... and put a div tag underneath.. Does anyone have any ideas how to do that? Thanks!
Code To Generate:
-Dillon
Code To Generate:
<td> <a href="IMAGE LOCATION" class="highslide" onclick="return hs.expand(this)"> <img id="name" border="0" src="IMAGE LOCATION" width="120" height="90" /> </a> <div class="highslide-caption">TEXT HERE</div></td>
-Dillon
Re: Create Custom Button
http://code.google.com/p/lajox/download ... :highslide
I think the plugin can help you. have fun
Re: Create Custom Button
-Dillon
Re: Create Custom Button
example:
your web site root is /public_html
you index page is /public_html/index.php
so your homepage url is: http://yoursite.com/index.php
now your ckeditor folder is /public_html/editor/ckeditor
and plugin graphics dir is /public_html/editor/ckeditor/plugins/highslide/js/graphics/
so url is http://yoursite.com/editor/ckeditor/plugins/highslide/js/graphics/
so your can point hs.graphicsDir to /editor/ckeditor/plugins/highslide/js/graphics/
That means "hs.graphicsDir" is the relative Web Root Path, not a local absolute path!
Re: Create Custom Button
Hi, sorry to be a pain in the *, thanks for the help so far! I wasent able to get it working... My website is http://www.websitehere.com/fd/ - the website is inside the fd directory
- I just keep getting a loading icon (I attached it)
my ckeditor is inside http://www.websitehere.com/fd/login/ckeditor/
and the graphics url is: http://www.websitehere.com/fd/login/cke ... /graphics/
I tried acouple of different ones but it still didnt work
load.gif
Thanks,
-Dillon
Re: Create Custom Button
hi, you can try :
or upload "graphics" folder to web site root : /public_html/
and then modify the code like:
at last, clear your browser cache, refresh the page
Hi guys!
Hi guys!
Can you help with highslide plugin for ckeditor? I just installed it and it's just fine apart from one issue. It replaces original link to a picture with it's own putting into "href=" and "src=" link to the same file. I just want it to leave it like below:
Probably it's a matter of changing $[3] variable (below), but unfortunatelly I do not know JS and I am quite poor in regexps too.
Can you help me?
opencart issue
Hello, i tried to install the plugin in the opencart but i not succeed!
One button appeared to the editor and when i push it the screen becomes white and that's it
Thank you!