PDA

View Full Version : URL to open image uploader


findingpeace
07-26-2013, 08:25 PM
I'm looking to add a little link on our forum sidebar that will automatically open the image uploader, allow the user to pick or take an image, click "Ok" and then submit it to a thread as a reply (we have one thread where people always post images from their phones).

What is the code/URL to bring up the image uploader? I think I can take care of the rest.

Thanks!

--------------- Added 1374874713 at 1374874713 ---------------

I found this code - would it be helpful?

<a id="cke_23" class="cke_off cke_button_vbimage" "="" href="javascript:void('Insert Image')" title="Insert Image" tabindex="-1" hidefocus="true" role="button" aria-labelledby="cke_23_label" onkeydown="return CKEDITOR.tools.callFunction(42, event);" onfocus="return CKEDITOR.tools.callFunction(43, event);" onclick="CKEDITOR.tools.callFunction(44, this); return false;"><span class="cke_icon">&nbsp;</span><span id="cke_23_label" class="cke_label">Insert Image</span></a>