kiennt718
01-07-2008, 10:40 AM
Dear all,
I have a problem when I try to insert 1 button in Editor Toolbar. This Button is for my users to upload images to PostImage.org.
I've downloaded script provided by PostImage.org, then put this in editor_toolbar_on, postbit_quickedit, showthread_quickreply, like follow:
https://vborg.vbsupport.ru/external/2008/01/443.gif
The original link for the Button is:
<a href="javascript:void(0);" onclick="window.open('http://www.postimage.org/index.php?mode=vb&lang=english&forumurl=' + escape(document.location.href), '_imagehost', 'resizable=yes,width=500,height=400');return false;">Add image to post</a>
I also upload the file named addform.html to /forum as instructed by Postimage.ORG
This runs perfectly in normal mode, and automatically insert image's URL in the post (not need to copy & paste the URL)
BUT, it return nothing when WYSIWYG on.
Anybody can give me a helping hand?
Thank you very much for any possible help.
Attached file is addform.html
I have a problem when I try to insert 1 button in Editor Toolbar. This Button is for my users to upload images to PostImage.org.
I've downloaded script provided by PostImage.org, then put this in editor_toolbar_on, postbit_quickedit, showthread_quickreply, like follow:
https://vborg.vbsupport.ru/external/2008/01/443.gif
The original link for the Button is:
<a href="javascript:void(0);" onclick="window.open('http://www.postimage.org/index.php?mode=vb&lang=english&forumurl=' + escape(document.location.href), '_imagehost', 'resizable=yes,width=500,height=400');return false;">Add image to post</a>
I also upload the file named addform.html to /forum as instructed by Postimage.ORG
This runs perfectly in normal mode, and automatically insert image's URL in the post (not need to copy & paste the URL)
BUT, it return nothing when WYSIWYG on.
Anybody can give me a helping hand?
Thank you very much for any possible help.
Attached file is addform.html