User login |
Image File BrowserBrowse images, construct IMG tag and place it to TinyMCE. A component you can add to an editing page. You can browse remote server for images and construct IMG tag for selected one and place it to TinyMCE edit if exists on the same page. Uses Ajax for browsing. Requirements: Protype and Scriptaculous javascript libraries. To do:
Links:
Usage example: Clicking on the image will show tinyMCE dialog. include("file_browser.class.php"); $abs_path = str_replace('\\','/',dirname(__FILE__)).'/'; $o = new File_browser(); $o->init('file_browser.class.php', $abs_path."demo_images/", $abs_path."demo_images/", 0,4,10, 'file_browser_1', 'img_dlg'); $o->add_browser_jscripts('http://www.salix.gr/ifb_demo/'); $o->place_browser(); Clicking on the image will show actual sized image. include("file_browser.class.php"); $abs_path = str_replace('\\','/',dirname(__FILE__)).'/'; $o = new File_browser(); $o->init('file_browser.class.php', $abs_path."demo_images/", $abs_path."demo_images/", 0,4,10, 'file_browser_1', 'img_view'); $o->add_browser_jscripts('http://www.salix.gr/ifb_demo/'); $o->place_browser(); |
Re:
2010 Halloween Costume Ideas