Categories
General

Filez 0.1

Filez is a derivative of Photopress that adds a popup file uploader/browser to the Quicktags toolbar. I find it’s useful for uploading and making links to things like zipped plugin files.

Installation and use: Extract the archive in your WordPress plugins folder. Activate the plugin. Create a folder named ‘files’ under ‘wp-content’ and make it writable. You can give it a different name or put it somewhere else but you’ll need to configure some options at Options:Filez. Upload and browse files using the Filez button on the Quicktags toolbar. Manage your uploaded files at Manage:Filez.

Download Filez 0.1: filez.zip.

Feedback request: If you use Photopress and try Filez, let me know if you prefer the single-button-launched multi-purpose popup tool in Filez better than the separate buttons and popups in Photopress.

Categories
General

Photopress 0.7.3

After trying the last release out on my blog with about 400 or so photos I realized the mass image editor needed a paging function. So now it lists 50 images at a time. I think some sorting would be nice next.

Deleting an image now deletes the original too. You can also set an option to always allow deleting, even if an image is used in a post.

Installation is a little different now. All the files are in a single folder – I learned that WordPress will find plugins files in folders. Just extract the archive in your plugins folder. Create a “photos” folder under wp-content and make sure it’s writable. If you’re upgrading you should delete your old plugin files first, at the very least photopress.php.

Download Photopress 0.7.3: photopress.zip OR photopress.tar.gz

Update: Mindcore found a bug where if you’ve upgraded from 0.5 then upgrading between 0.7 versions would re-run the import function, replacing any new data you’ve entered with the old data. This is now fixed.

Categories
General

Nice maple leaf in the yard

Maple leaf

Categories
General

Fixing the sidebar

When the option to list the posts containing an image is turned on the default WordPress sidebar template thinks an image page in the Photopress album is a search page (it is – that’s how we know if an image is used in a post). While correct, this makes the sidebar ugly. But it’s such a neat feature, it’d be a shame to disable it. Here’s how to fix the default template’s sidebar.php:

1. Look for is_search() and add && empty($_GET['pp_image']) to that elseif statement. (this suppresses the search stuff when it’s displaying an image)

2. look for is_home() and add || !empty($_GET['pp_image']) to that if statement. (this shows the normal homepage sidebar when it’s an image)

Here’s a zipped replacement sidebar.php if you don’t want to do this yourself.

Categories
General

Photopress 0.7.2

This version fixes more of the bugs introduced with 0.7 and the database table. Thanks to Roge especially for spotting bugs and suggesting fixes. I also added a mass image info updater to Manage:Photopress Album for quicker data entry. If you’ve been waiting for a relatively stable 0.7, this is probably it.

Download Photopress 0.7.2: photopress.zip OR photopress.tar.gz

Right now deleting an image doesn’t delete the original – should it? Also, I’m wondering if I need to write some sort of cleanup function to fix any bad entries in the database that the buggy earlier versions may have introduced. With hundreds of images the mass updater gets slow – I think I’ll either do pages of 50 or so or split it by category.