2012-11-26 83 views
2
 
tinyMCE has a "insert image button" wich it asks URL. 
I want to add browse button so that user can upload image from pc. 
I have writed server side PHP files that will grab image and store in server. 
the php file will return URL of stored image on server and tiny MCE must grab URL of stored image and insert below code to the source of editing text. 

tinyMCE插入圖片並上傳

<img src='http://mysite.com/url_that_php_file_returns.jpg'/> 

可能嗎?

+0

在tinymce MCImageManager插件有一個lokk:http://www.moxiecode.com/products_imagemanager.php – Thariama

回答

-3

我自己寫了一個插件。這並不難。

+3

請將您分享一下,謝謝! –