Photopress 0.6
It seems to be working well enough to package another release. I appreciate all of the bug reports I’ve gotten. If your favorite annoyance isn’t fixed or listed below as ‘known,’ please let me know.
The biggest improvement is in the album manager. Thumbnails can now be turned off, which should help with large image collections. It’s also now paged by category, which should help too. The delete function should work properly now.
Download photopress.zip or photopress.tar.gz.
You can always find the most recent version (and older versions too if you know where to look) at wp-plugins.org.
Known issues:
- no dropdowns in the album manager: haven’t figured out how to do this yet
- descriptions aren’t stored: the description you enter in the uploader is only used to make the image tag to insert in a post - it’s not stored in the database
- missing options: see this post for details (upgrade to the latest WP to fix this)
- broken buttons: try enabling the failsafe buttons on the options page
- broken album layout: edit album.php, in the photopress folder
- bad paths: the plugin tries to guess the right paths, but it sometimes fails - you can set the paths manually at the end of photopress-inc.php
- resizing fails: your GD install needs to be working properly, sometimes re-installing seems to trick it into working

June 10th, 2005 at 4:36 pm
Hello Izaac!
The new features are working like a charm! :-) Thanks!
When you mean “no dropdowns”, you mean a dropdown menu to select a category for a certain photo, or you mean a dropdown menu to replace the links in the “paged categories” in the manager?
BTW, where are you storing the category information? It doesn’t seem to
be in the WP database.
June 11th, 2005 at 4:02 am
Isaac - I really appreciate the work you are doing on this - the best (in my opinion) gallery/image/photo plugin for wordpress. I sincerely believe that when it reaches v1.0 it should be one of the best plugins full stop!
June 11th, 2005 at 6:23 am
And as for adding dropdown boxes for assigning a category to the image (after it has been uploaded), I found this works:
echo ‘<select name="’ . $pp_image . ‘" id="’ . $pp_image . ‘">’ . "\n";
$pp_dropcats = pp_list_cats();
foreach ($pp_dropcats as $pp_cats) {
echo ‘<option value="’ . stripslashes($pp_cats);
if ( (stripslashes($pp_manage_cat)) == (stripslashes($pp_cats)) ) {
echo ‘" selected="selected’;
}
echo ‘">’ . stripslashes($pp_cats) . ‘</option>’ . "\n";
}
echo ‘</select>’ . "\n";
- this code replaces the following line in the function pp_album_management in photopress.php:
echo ‘<input name="’ . $pp_image . ‘" type="text" id="’ . $pp_image . ‘" value="’ . stripslashes($pp_manage_cat) . ‘" size="10" />’;
now all I have to figure out is how to add a new category…
June 11th, 2005 at 6:26 am
and at the risk of comment flooding, I should point out that cut and pasting the code I just submitted will give errors due to the incorrect quotations - sorry.
Claus - the category names are stored in an array in pp_options in the wp_options table :)
June 11th, 2005 at 7:58 am
Yeah. I noticed that. I’m tinkering with a way to replace that with a photopress sql table or two, So that the code for selecting categories becomes simpler, and we can start storing comments as well.
June 11th, 2005 at 4:03 pm
Writing to the DB would be a far better option than the current setup I agree, and would also allow for the name/description to be stored as well, rather than using the image file name.
If you manage to get it done, let us know!
June 14th, 2005 at 4:23 pm
nice improvements!
June 14th, 2005 at 8:08 pm
I made some improvements on SERIOCOMIC scripts to make it a little more usable!
This way if you want to change or ADD a name for the “Default” Album you can and remove images from an album too.
Hope you guys like it!
if ( (stripslashes($pp_manage_cat)) == ‘Default’){
echo ‘Posts with image: ‘ . “\n”;
} else {
echo ” . “\n”;
$pp_dropcats = pp_list_cats();
foreach ($pp_dropcats as $pp_cats) {
echo ” . stripslashes($pp_cats) . ” . “\n”;
}
echo ‘REMOVE’ . “\n”;
}
June 14th, 2005 at 8:10 pm
if ( (stripslashes($pp_manage_cat)) == 'Default'){
echo 'Posts with image: ' . "\n";
} else {
echo '' . "\n";
$pp_dropcats = pp_list_cats();
foreach ($pp_dropcats as $pp_cats) {
echo '' . stripslashes($pp_cats) . '' . "\n";
}
echo 'REMOVE' . "\n";
}
June 14th, 2005 at 8:12 pm
its not showing up properly! hopefully it can be after moderation
June 16th, 2005 at 3:46 pm
will be kewlly for next versions a multiple upload option; say up to 10 pics at a time or somat
but is already a great plugin!
July 1st, 2005 at 6:01 pm
neat plugin thanks.
couple things tho, alot of unecessary Validation errors. fixed most by encoding the ampersands in the admin options. also have no idea why the album css is embedded in the body of the document, moved that over to my external sheet and was valid again.
gonna keep my eye on this, nice work!
July 1st, 2005 at 6:04 pm
oh one more thing, why when you click on a thumb it puts the image name in the search box in kubrick?
July 1st, 2005 at 8:02 pm
Ok, I have managed to spit-glue some sort of hack to use the WP db to store picture information. It also stores (and display) the description.
Here.
It is not even half-way fully tested, it has two known bugs (don’t use it if you have pictures with underscores in their filenames), and is generally speaking a very ugly piece of code. So don’t try it if you’re afraiding of breaking your blog :-D Don’t say I didn’t warn you.
If you wan’t to try to test it anyway, run the SQL file in the package, then go to the album management page and click the two new buttons, to export your current picture information to the BD.
And if you feel like improving it, let us all know :-D
July 1st, 2005 at 8:08 pm
Wrong link, Duh!
Right one
July 2nd, 2005 at 10:43 am
I seem to be having some problems… if anyone cares to look?
http://freakytj.com/?pp_album=1
It is screwing up my formatting and layout…. how do I correct this?
July 4th, 2005 at 9:32 pm
can you completely turnoff the random image in the meta loop?
i already placed the random image using the
function atop the sidebar, so i would like the random image in the meta turned off.
Thanks!
July 6th, 2005 at 10:06 am
Welcome back from your vacation, Isaac! Sorry to hear about your accident, and wishing you a speedy recovery.
I’m in no rush, but I’m having a problem I can’t figure out re:
I believe I’m running your pp v.0.6. Downloaded from here, but my wp-admin shows 0.5.1. I’m running the latest version of wp 1.5.1.3
Both my sidebar and album show:
The upload function generates:
even though all permissions on /photos are set to r-w-x
I’m stuck. Can you help when you have an “extra” free moment?
TIA,
Lisa
July 6th, 2005 at 11:26 am
Well, installed it now. Works like a charm, and I just would love to see the description-function work.
One issue, when I only have one category, the albampage doesn’t work properly.
July 6th, 2005 at 12:52 pm
Oh, one more thing. I’m swedish, åäö isn’t working. If it’s hard to get working, don’t bother.
August 1st, 2005 at 9:27 am
Ah! Left to my own devices long enough, I can generally correct my own screw ups! Nice app!
August 6th, 2005 at 6:50 pm
For a future release maybe have a way having a description/ ando r a way for people to comment on the pics??
August 13th, 2005 at 7:36 pm
I need some help. I’m running a photoblog and would like to integrate your plugin into it - I love the ease with which you can upload pictures while writing a post. However, instead of the code for the main image being echoed in the writing box, how can I get it echoed as a custom field “photo”? You see I display the custom field above the main (text) entry so I can have both pictures and writing in each post (see http://thehumanmuseum.com for an example of what I’m talking about). I’m no php guru and though I’ve had a look at the code I really have no idea what to do to make this happpen. Any help would be appreciated!
September 24th, 2005 at 7:46 pm
I need help. Probably a dumb question I know, but what is the code that I should add to my .htaccess file to make permalinks work with photopress?
January 13th, 2006 at 10:14 am
[...] The Photopress plugin by Isaac Wedin (version 0.6 as of writing) boasts a combination of extreme simplicity and user-friendliness with excellent integration into the WP admin interface. IOW: I like it. [...]