Categories
General

Accidental Photopress feature

If you have a plugin installed that’ll allow PHP in a post or page to execute (such as Ezstatic), you can embed parts of the Photopress album right in a page or post. Just insert

< ?php pp_display_cat('CategoryName'); ?>

in the page or post, making sure to check the box enabling PHP execution. This will insert a list of linked thumbnails from whatever category you choose.

Categories
General

Gimp Template for the Default WP Theme

Makes it much easier to customize the default WordPress template. Just replace my ugly 760×200 layer with your own and export it from Gimp as a JPEG.

Download kubrickheader.zip.

Categories
General

Photopress update

Bugs keep appearing, so I won’t give it a new version number yet, but it’s getting there. The major change is in the album, which now supports categories that can be edited at Manage: Photopress Album.

Try it out: photopress.zip or photopress.tar.gz

To upgrade, you should be able to just overwrite the old files. If you were using an earlier version that required Ezstatic, you’ll need to fix any linked thumbs you may have inserted into posts – the Browse tool makes this pretty easy though.

You can also go to wp-plugins.org to download bleeding-edge files directly.

Categories
General

Photopress 0.3

Try it out: photopress.zip or photopress.tar.gz

The major improvements are 1) an Options page instead of the old config file and 2) GIF and PNG support. I don’t think I did anything to help the button problems some people are having, but you never know. Give it a try and let me know how it goes.

Make sure you at least view the options page, even if you don’t plan on changing them – otherwise the plugin won’t have any options to work with. I’d imagine I can write some code to use some defaults if the plugin doesn’t find any options variables in the database – I’ll try to figure that out for the next version.

If you inserted linked thumbs in posts using an earlier version that used Ezstatic, you should go back and edit those posts to use the new album. The Browse button should make this very easy. I’d like to figure out some generalized way to put a linked thumb in a post so that messing with the album or changing where images are located doesn’t break stuff like it does now…

Categories
General

Photopress 0.2

Seems to be improved enough and working well enough to share another version. Let me know what you think!

Partial list of changes:

  • Changed the button javascript a bit, no idea yet whether I’ve fixed anything though
  • More options: see photopress-inc.php in the photopress folder for details (wouldn’t an admin page be nice…)
  • No requirements anymore: uses the template_redirect action instead of Ezstatic to make the album work (thanks to Jerome’s Keywords plugin for the hint)
  • Self-contained: just the plugin and the supporting folder, no files outside of wp-content
  • Automatically places photo album link and random image in the meta list in the sidebar

As usual, extract it in your WP root and it should all end up in the right places. If you’re upgrading, you can delete album.php from your root folder. Make sure the photos folder in wp-content is writable.

Get photopress.zip or photopress.tar.gz and give it a try.