================================== IMAGE BROWSER FOR WORDPRESS 1.2+ ================================== ABOUT ----- this plugin adds an "insert image" button to the top right corner of the edit screen which opens an image browser as a popup window to select from all previously uploaded images and add the appropriate code to the post. FEATURES -------- * Display images as graphics for easy selection. * Sort images by name or by date of the last modification (normally this should be the time of upload) both ascending and descending. Default is to display the newest images first. * Automagically recognize thumbnails and -- if you want it -- link to the fullsized version. * Uses javascript to add the code to the post with one simple click. * You can choose between different ways how to include the file into your post. Also normal links are now available (e.g. for pdf's) with reasonable presets for the different filetypes. INSTALLATION ------------ * Copy image-browser.php to /wp-admin/ * Place image-browser-plugin.php in your plugins folder, located at /wp-content/plugins/ and activate it in the admin panel. * Go to the Post screen and you should see the link in the upper right corner (this is meant literally). If you want a better placement of the button, read on below. * Make sure that the fileupload path and URI are set up correctly. You can find them under WP Options > Misc. Of course you'll have to upload some images before you can browse through them. CONFIGURATION ------------- Look at image-browser.php for configuration options (sorry, there's no GUI for it yet). BETTER PLACEMENT OF THE BUTTON (for WP 1.2) ------------------------------------------- The placement is due to some limitations of the plugin API in WP 1.2. If you want the button at a better place, you will have to do a simple hack on the code: 1. Make a backup of wp-admin/edit-form-advanced.php, so if you messed up anything, you can always go back to the original version and start over. 2. Open wp-admin/edit-form-advanced.php with your preferred editor. Search for 'editcomment'. It should look like: ... ' and '
Writing). BETTER PLACEMENT OF THE BUTTON (for WP 1.5) ------------------------------------------- Since the plugin API has been improved in WP 1.5 just follow steps 3 and 4 from above. Steps 1 and 2 are no longer necessary. In the edit form for *pages* the link is placed at the bottom of the page, since there was no better option. The "better placement" is then much worse than the standard placement. Therefore, when you use pages it is best to keep the default settings.