Categories
General

Filez 0.3

This version uses Owen Winkler’s Buttonsnap library to add a pretty button to the WP 2 RTE toolbar. If you don’t like the button image, it should be easy enough to make a replacement – see filez.png. It remains backwards-compatible with WP 1.5.2. The popup tool has nicer buttons and better filename conflict handling. Lots of changes, so if you find something broken please let me know.

Download Filez 0.3: filez.zip.

Categories
General

Ling Cod Eye

Ling cod eye

Another photo from last summer’s ill-fated trip to Alaska. Click on for another, more frightening view of the beast.

Categories
General

Filez 0.2

This version should work with both WP 1.5.2 and 2.0. Otherwise, I added an option to insert HTML instead of tags. I may have had options-saving broken at some point, but it seems fixed now.

Download Filez 0.2: filez.zip.

Categories
General

Photopress 0.9.2 (updated again)

It should work with both WP 1.5.2 and 2.0, but I could break support for 1.5.2 any time. If you’re upgrading from an earlier version of Photopress, make sure to de-activate and re-activate to update the database table (or use the Install DB tool).

New features and fixes:

  • Display of non-English characters was broken but I think it’s fixed now.
  • Per-category sort setting for the album. See Edit Categories in Manage:Photopress.
  • A ‘close window’ link in image popups. This required big changes to the popup code, so please report any errors you see.
  • Mass Resize should be smarter now (thanks Roge and kele). For mass importing, you can now drop a bunch of images in the photos folder, then run Mass Resize followed by Import Photos. I guess the Import Photos tool could just run Mass Resize as part of the process – anyone have an opinion?

Update: SHRIKEE noticed a bug so I did some testing and found a few more. Specifically, suppression of is_search on image pages in the album should now work properly. Inserted HTML code should be fixed. The image popup Javascript function should work again in Internet Explorer. Finally, I made a couple of changes to make the album prettier.

Update2: Stahn found a bug in pp_album_css.php, and suggested a better way to close the popup image windows. I noticed that the ‘Photos’ text for the buttons wasn’t translatable.

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

I’m thinking about comments for images, but I’m not sure how to proceed. Maybe create a post for each uploaded image, placed in a hidden category?

As usual, let me know what’s broken or needs work. Thanks again for all the bug reports and feature ideas!

Categories
General

Up2rand 0.1

Up2rand is sort of a proof-of-concept, but probably actually useful too. It provides a template function that displays random images from those you’ve uploaded using the built-in uploader in WP2 (NOT Photopress). I haven’t tested it extensively, but it seems to work. Obviously, it only works with WP2.

Download Up2rand 0.1: up2rand.zip OR up2rand.tar.gz

Installation and use:

Put up2rand.php in your plugins folder and activate it. Insert up2rand() where you want random images in your template (usually somewhere in your sidebar.php). Without any options you’ll get one thumb, linked to the full image in a popup. To get something else, pass some options:

up2_rand($number_of_images, $before_each, $after_each, $link, $popup, $class);

$number_of_images – number of random images to get (reduced if you don’t have enough)
$before_each – what you’d like to put before each thumbnail (such as <li>)
$after_each – what you’d like to put after each thumbnail (such as </li> or <br />)
$link – whether to link the thumbnail or not (TRUE or FALSE)
$popup – whether to link to a popup or not (TRUE or FALSE)
$class – class to use for the image (you can insert a class in your theme’s style file and use it here)

Here’s an example that gets 2 random images, wrapped with <p></p> tags, linked normally (no popup), and using the ‘randimage’ class.

up2_rand(2,'<p>','</p>',TRUE,FALSE,'randimage');