I added another field to the tags table for a “display tag” – a version of the tag that can contain spaces and whatnot. Using these it’s possible to get the new tags page looking more or less like the main album page in old Photopress. You’ll need to deactivate and reactivate to get the database table upgraded.
The other big deal is a template function to list tags for an image attachment. The function accepts 2 arguments: what to put before the tags and what to place between them. It doesn’t output anything if the image is not tagged. Here’s an example with “Image tags: ” before the list and a space between each tag.
<?php if (function_exists('photopress2_image_tags')) photopress2_image_tags('Image tags: ', ' '); ?>
This version also fixes a few bugs, such as the totally wrong tagged image count.
Get Photopress2: pp2.0.4.zip
I got a report of a conflict with a plugin called Scribe, so I’m hoping this version fixes the issue – if you use Scribe please let me know. At some point I’ll rewrite flickpress to be more immune to these conflicts, but in the meantime the changes I made should help.
In addition, this version fixes a small bug in the popup’s menu and uses a built-in WordPress function to make better (I think) page navigation links.
Report bugs early and often!
Get flickpress 1.8 at the WordPress Plugin Directory or by upgrading as usual in your WordPress admin.
I finally figured out why some of the migrated images get assigned strange “autosave” post parents – the query I was using to get the parent post wasn’t checking for a “publish” post status. This version should fix this issue.
Get Photopress 1.8.1: photopress.1.8.1.zip
Cosmetic changes: I made the album a little prettier. The page menu now has nicer style. There are image counts all over the place. I also added ThickBox support for images that don’t have attachment pages, which can be enabled or disabled at Settings:Photopress2.
New feature: I added a tag editor at Tools:Image Tags, where you can modify and delete image tags.
Download Photopress2 0.3: pp2.0.3.zip
oEmbed in WordPress is pretty great – it makes embedding things in posts a lot easier. The way it handles Flickr photos annoys me though – shouldn’t they be linked back to the Flickr photo page as Flickr asks in their community guidelines? This really simple plugin just links to oEmbedded photos using the provided URL.
This plugin only seems useful if you embed Flickr photos. For Photobucket photos it doesn’t do anything special because Photobucket oEmbeds aren’t handled properly in the first place – oEmbed only handles direct links to Photobucket photos, not links to photo pages. So you’ll just get a link to the image you already embedded. I have no idea why they’re wasting the opportunity to get links back to their site…and all those ads.
Get oEmbed Photolinkor 0.1: oembed-photolinkor.0.1.zip
When I tried to post a photo earlier today over at my little photo blog flickpress gave me a notice saying my API key was no good. I think Flickr does expire keys from time to time, so I checked my key. It looked correct so I did some further testing. I finally figured out that the Flickr API no longer includes the flickr.test.echo method, which flickpress was using to test API keys. It seems silly to me, but the easiest way to test now appears to be to just fetch a recent photo – so that’s what flickpress does now.
This version also fixes some cosmetic issues in the popup tool. It should be fully compatible with WordPress 3.0, but I’ll wait until the actual release to claim it really works. I’ve done a little testing with WP 3.0 in MU-mode and flickpress seems to work, but others have reported it doesn’t work.
Get flickpress 1.7.1 at the WordPress Plugin Directory or by upgrading as usual.
As expected, I found a bunch of bugs when testing the album. The biggie is that WordPress doesn’t make “real” attachment pages for attachments that don’t have parents. To make things really interesting, it does make sort-of attachment pages for logged-in users, but not for visitors. So, this version fixes the problem by linking directly to the image file when an image doesn’t have a parent.
I also added an option to turn off caching, mostly to make testing easier. In the same vein, just visiting the options page will now clear all caches and flushes the rewrite rules, which should help with some caching weirdness I was seeing.
Download Photopress2 0.2: pp2.0.2.zip
While the uploading parts of Photopress aren’t very useful anymore, I still like some of the other features, such as the album and random image widget. So, this plugin adds an album, a widget, and a shortcode to display the images in your media library.
If you’re migrating from the old Photopress and used the migrate tools in 1.8 then Photopress2 will import your categories as tags for your migrated images.
To activate the album, create a new page with this in it somewhere: <!–pp2_album–>
If the page slug for your album page is something other than ‘photos’ go to Settings:Photopress2 and enter it there.
Enter tags during upload or when you edit an image.
Since this is the first version, there are bound to be some…issues – let me know what you find.
Download Photopress2 0.1: pp2.0.1.zip
Like Photopress, Filez isn’t all that useful now that the built-in uploader works so well. If you’ve been using Filez tags though, you’ve needed to keep Filez active so your old links would continue working. This version of Filez adds a migration tool to pull files into the Media Library, replacing all tags with links to the migrated files.
The migration tool is included as a separate plugin – to use it you’ll need to activate it, then go to Tools:Filez Migrate and click the button. Once it’s done you should be able to deactivate and delete both Filez and Filez Migrate.
Note that if you’re using W3 Total Cache with a CDN you’ll likely need to re-export your Media Library after using the migration tool – some of my files appeared to make it but not all of them.
Get Filez 0.9: filez.0.9.zip
Exporting my media library files to S3 with W3 Total Cache has gone mostly smoothly, with one exception – S3 replaces plus signs in filenames with the urlencoded equivalent, breaking links on the blog that still expect the plus sign in the filename.
I know what you’re thinking – “Who puts a plus in a filename??” Well, over on the family blog anything is possible! I was surprised that WP’s sanitize_file_name even allows plus signs, but it does have a convenient filter to add to the list of characters to sanitize – sanitize_file_name_chars. So, I wrote a quick plugin to add a plus sign to the list: sanitizeplus.0.1.zip