= Photopress = Tags: images, upload, album Contributors: isaacwedin Photopress is a plugin that adds some image-related features to Wordpress. New "Upload" and "Browse" quicktags will launch pop-up tools that can do the obvious and also insert HTML for tagged thumbnails into the post editor. In addition, the plugin adds an optional random image function and a simple photo album. == Credits == Photopress uses code from Florian Jung's Image Browser, Alex King's JS Quicktags (via ContactForm), and the built-in Wordpress upload functions. Many people have contributed bug reports and fixes, including Randy, RobotDan, Alex, Jono, Paula, and Frank. I appreciate your help! == Installation == 1. Put photopress.php and the "photopress" folder (and its contents) in your plugins directory. 2. Create a folder called "photos" under wp-content and make sure it's writable by your server. (you can use another folder name by changing the settings) 3. Activate the plugin. See the options page at Options:Photopress to customize the settings. 4. Once you upload some images, you can categorize them at Manage:Photopress Album. == Frequently Asked Questions == === Why don't the buttons work!? === This is a mystery. They work for some people, and not for others. I've seen them work in various browsers in Linux, and both Firefox and IE in Windows XP. Check your pop-up blocking settings. Let me know if you figure out why they don't work! In the most recent version there's an option to enable "failsafe" buttons, which aren't placed well but are more likely to work (as in, they work in IE on MacOS 9...). === The album breaks my template/theme!? === If the album doesn't work with your theme, edit album.php in the "photopress" folder to suit. It's got a couple of notes about what you'll probably need to do. It now contains most of the style used, so it's much easier to customize. === Why add the random image to the Meta list? === Because there's a plugin hook in Wordpress to do that. If you don't like the default random image, disable it on the Options:Photopress page and add where you want to display a random image in your template. Again, the default random image feature is designed to work with the default Wordpress theme so YMMV. It uses the "centered" class from the default theme, so if your theme doesn't have that it might not look right. === I've already got a bunch of images in a folder, how can I add them to Photopress? === If your old folder is under wp-content you can just point Photopress at that, assuming you've got thumbnails and they conform to the naming setup in Options (by default "thumb_" is added to the start of the image name, but you can change that to suit). You can also just repeatedly use the Upload tool - the "upload another" link makes this fairly easy/fast. === The Options page isn't there, is that a joke? === It's not a joke, it's a bug! See http://mosquito.wordpress.org/view.php?id=1196 for details. Basically, an Options page will only appear for the last-loaded plugin. Updating to the latest version of WP in Subversion will do the trick. It's also possible to work around the bug by disabling plugins, editing the Options, then re-enabling them. WP 1.5.1 will appear someday, which should fix the problem forever! === Why is the categories/folders feature so lame? === I decided I wanted to keep things simple and use WP's built-in options feature. Due to user feedback and my own disgust with how badly it works with a lot of photos, I'm going to renovate it at some point, but I'll probably need to figure out how to make a new table in the WP DB for that, lots of fun I'm sure.