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.






I love it, but I wish thumbs could be turned off. I have to delete the thumb_ part and resize each picture manually. Other than that it’s great stuff.
Nice, works fine, but how I set categories?
I have watermarks working in my installation of photopress–it’s only ten lines of code to be inserted into “album.php” if anyone is interested. Someone cleverer than I could probably make it an option to be chosen from the options page.
Looks really nice. I had the ‘buttons not working’ issue but found that another plugin, ContactForm, which added a quicktag button was messing it up.
Once I deactivated that plugin Photopress worked fine.
great work – I’ve been using the latest versions and it’s really helped me out. One small thing, if you’re uploading a smaller image that’s smaller than your maximum width, it resizes the image up to it. As I put the odd small image in posts, do you think you could update it to watch out for this? Thanks!
I am having a problem with the plugin. It installs correctly on my local system, but the options and manage links are not correct. They look like this:
http://localhost/wordpress/wp-admin/C:%5Chtdocs%5Cwordpress%5Cwp-content%5Cplugins%5Cphotopress.php
I have tried navigating directly to:
http://localhost/wordpress/wp-content/plugins/photopress.php
But then I get:
Fatal error: Call to undefined function get_option() in C:\htdocs\wordpress\wp-content\plugins\photopress\photopress-inc.php on line 9
If this is not the correct place to ask the question, my appologies.
Randy
Looks like my above comment was a result of a bug in WordPress.
http://mosquito.wordpress.org/view.php?id=1196
I changed the two files referenced in the fix and it seemed to fix the problem.
Bug in photopress.php line 178:
echo round((100 / get_option(‘pp_album_columns’)-1));
Causes a division by zero error. I think you meant this?
echo round((100 / $pp_album_columns-1));
which would require this at line 162:
global $pp_album_columns;
I also noticed in photopress-inc.php that you are doing defaults for the options. It looks like you are trying to make all the options their own variables and then use those option variables instead of the pp_options array. However, it would appear that your attempt is somewhat inconsistant. i.e.:
if (empty($pp_options['pp_album_columns'])) {
$pp_options['pp_album_columns'] = ’2′;
} else { $pp_album_columns = $pp_options['pp_album_columns']; }
In this case, if the option is empty, the array will get the default value. If the array is not empty, then the array value gets assigned to the variable. The result, is that if you have an empty options array, it gets filled with default values, but they your variable never gets declared. If you try to use that variable in the other file, you will get a NOTICE error. I think something like this would be more consistent if you want to go to all variables:
if (empty($pp_options['pp_album_columns'])) {
$pp_options['pp_album_columns'] = ’2′;
}
$pp_album_columns = $pp_options['pp_album_columns'];
One last thing, $pp_target was not set and was causing xhtml validation to fail. I changed line 122 in photopress.php to read this:
$random_linked_thumb = ‘‘ . $random_thumb . ‘‘;
I added an isset().
Thanks for the nice work. What are your plans for the future of this? I think hierarchical structure for the pictures in the albums would be nice, the ability to choose an album when uploading pictures, and a quick upload feature that would let you upload one picture and automatically insert the thumbnail/link combination into the blog (I saw this recommended in a post somewhere, they wanted as few steps as possible). Will you be working on any of these things? I wouldn’t want to step on your toes or duplicate work. Would you be interested in any of these things if I was to find the time to code them?
Sorry about the code above, the html got me. Here it is:
$random_linked_thumb = ‘<a href="’ . $pp_imagelink . $random_image . ‘" title="’ . $random_alt_text . (isset( $pp_target ) ? ‘" target="’ . $pp_target : ”) . ‘">’ . $random_thumb . ‘</a>’;
Good Morning!
I’m a bit flustered. I downloaded your updated version of Photopress and activated it. I tried going straight to the Options/Photopress page and nothing but the WordPress footer shows up. I am NOT getting errors anywhere, and it seems to work fine when I tried it in the writing area. I had no problem uploading and inserting a pic. The category page also appears to work.
Here’s my problem (other than not having an options page): I am installing this plugin for someone else, and I tested it with one of my own photos – NOW I can’t delete it! I also can’t opt it out of the Random Images that shows up on the main page. I’ve gone into the Photos folder via ftp and it shows nothing there. The only way I found to keep the test image from showing up on my friend’s blog was to deactivate the plugin.
Any help would be greatly appreciated. Thanks.
I am currently running photopress 0.4 on wordpress strayhorn. I decided that I would like to use permalinks instead of php strings for my pp gallery so I put this code into my .htacess
RewriteRule ^photo-gallery(/)?$ ?pp_album=1 [QSA,L]
RewriteRule ^photo-gallery/page/(.*)$ ?pp_album=1&pp_page=$1 [QSA,L]
RewriteRule ^photo-gallery/images(/)?$ photo-gallery/ [R]
RewriteRule ^photo-gallery/images/(.*)$ ?pp_album=1&pp_image=$1 [QSA,L]
RewriteRule ^photo-gallery/([A-Za-z]+|[0-9]+|[0-9]+[A-Za-z]+|[A-Za-z]+[0-9]+)(/)?$ ?pp_album=1&pp_cat=$1 [QSA,L]
If you tipe in any of my ‘fake’ URLs it redirects fine. However I would like the PP plugin to use those links. To do this I followed the instructions in the photopress-inc.php file. However, whenever I edit anything in that file the next time I reload my website it is all blank. Just a blank white page. Does anyone have any ideas for getting this to work?
Thanks in advance,
Cron
–Tumbnail didn’t appear & Photopress Album Categories page’s blank–
i’ve intalled Photopress 0.4.2 on WordPress 1.5 Strayhorn, everything’s ok, except the “Photopress Album Categories” page (WP Admin : Manage-Photopress Album), the page is BLANK, there’s only “update category” button in the bottom right
My second problem is i’m able to upload/browse/add the images by choosing “Add Thumbnail”, but in my pages the thumbnail didn’t appear (I have set Yes -> “Insert Thumbs” in the WP Admin : Option-Photopress)
can somebody help me, i’m stuck!
Thanks :)