Photopress
Go to familypress.net/photopress for the latest version of this plugin!
Photopress is a plugin that adds a set of helper tools to Wordpress to make working with images much easier. It adds a pop-up uploader and a pop-up image browser to the posting page and a groovy random image function for your template.
To install, download and extract the archive in your Wordpress root directory, which should put the files in the right places. To install manually, here’s where everything should go:
- album.php: in your Wordpress root directory
- photopress.php: in wp-content/plugins/
- upload.php, browse.php, and photopress-inc.php: in wp-content/plugins/photopress/
- photos folder: in wp-content/, and it should be writable by your server
The album requires ezstatic to blend into the rest of the blog.
Photopress is based on Florian Jung’s Image Browser, the built-in Wordpress upload tool, and Owen Winkler’s Edit Button Template.
To use the random image function, add something like < ?php echo random_image_pp(); ?> to your template (I like to put it at the top of sidebar.php in the default 1.5 theme).
That’s about it. Download photopress.tar.gz or photopress.zip and give it a try.
Update: The archives I uploaded earlier were somehow corrupted – thanks to Larry for noticing that. I fixed them and both worked fine on my clean 1.5 testbed when I tried them out. Just the photopress.php file was corrupted, so replacing that with the new one should do the trick. Note that you may need to change the permissions on the “photos” folder – to test it try uploading a photo.
Update again: Internet Explorer (and some versions of Firefox?) apparently doesn’t like spaces in the window name used in window.open. That’s fixed now, along with a couple of other things. You should be able to just extract the updated version right over the old one. Sorry for the bumpy ride – I appreciate all the debugging help!




March 9th, 2005 at 6:09 am
Is this available in a different archive than *.tar? I cant seem to unpack the files? Or can you mail this script to me??
John
March 9th, 2005 at 8:00 am
I think something is wrong with your tar archive; I downloaded it twice and found that there seems to be binary corruption in photopress.php. I try to activate the plugin and get a bunch of errors from WP. I’m sure this can be attributed to the file corruption. Take a look!
March 9th, 2005 at 8:15 am
I’ve added a .zip archive that should work for those without tar. Not sure about the corruption problem – I’ll do some testing to see what’s up.
March 9th, 2005 at 9:15 am
I can’t get the buttons to do anything. They show up on the “writePost” page, but clicking them with Firefox and IE doesn’t do anything.
March 9th, 2005 at 2:44 pm
I do not have buttons on the “writePost� page nor anything new in any admin page. EzStatic is installed.
March 9th, 2005 at 5:01 pm
The new tar archive works fine now. Thanks!
March 9th, 2005 at 6:54 pm
Is there a demo somewhere we could see?
March 9th, 2005 at 7:46 pm
OK, I know I’m doing something really stupid or something. But I can’t get the Upload Image or Browse Image buttons to do anything. I’ve tried both the ZIP and TAR.GZ files and get the same results with both. I have ezStatic installed and activated as well.
Any ideas? I’m using Firefox, although I tried it with IE and nothing happened there too. Thanks.
March 9th, 2005 at 8:40 pm
Isaac, I’ve installed photopress, and it’s working fine. What I would like to know is can I customise the way it works. When I upload the pic it creates a thumbnail, and a link which goes to another page. The picture that gets posted is a thumbnail with height and width attributes set. I have to remove the thumb_ prefix from the name and remove the height and width to make it post at full size, which is what I want. Is there any way I can configure the plugin to do this automatically?
Is the link meant to go to album.php? my link goes to a credits page.
Thanks…
March 10th, 2005 at 6:08 am
Like others, in the ‘Write-Post’ I see the ‘Upload’ and ‘Browse’ buttons, but nothing happens when I click on them.
I’ve double checked my work: correct paths, ezStatic, etc.
I’m using WP 1.5 and Firefox in OS X.
Thanks.
March 10th, 2005 at 8:59 am
Hello Isaac, this plugin works great. However, the photo album page’s sidebar got mess up, it moves out of the template, and the photo album page doesnt work with other template as well, when I click to the thumbnail, it will lead to entry doesnt exit.
I’m using WP1.5. What’s wrong with it? Thousand thanks!
March 10th, 2005 at 4:58 pm
Same problem here as well. I have the buttons, but they do nothing. Too bad too, because it looks like the perfect plugin. I’ll be keeping an eye out on this one.
March 11th, 2005 at 3:08 am
Has anyone had luck with the button problem? Mine won’t work either!
March 11th, 2005 at 5:12 am
Does it work/function with IImage Browser? (http://fredfred.net/skriker/index.php/iimage-browser)
March 11th, 2005 at 10:27 am
I’ve tried out Photopress and after a little hair pulling before I remembered the blurb about the hack to get buttons to work in Safari, I got the buttons to show up. However, when I upload an image, the file copies up fine but I get an error: “Fatal error: Call to undefined function: imagecreatefromjpeg() in /Library/WebServer/Documents/wp-content/plugins/photopress/upload.php on line 158″ and no preview icon is created. Running OSX Server 10.3.8 with latest Java (1.4.2 update 2) and everything else, PHP 4.1, mySQL 4.0.18, WP 1.5 and have ezstatic enabled. Is imagecreatefromjpeg() in the standard Java libs? I notice Wordpress also calls this in line 215 of admin-functions.php.
March 12th, 2005 at 3:02 pm
I installed the plug-in and it works great for the uploading and the display of the thumbnail. Buttons work fine for me.
However, when you click on the thumb, you get taken to my static “about” page–not to the full-size pic link. I’ve looked at the path in my post, and the path looks good, but that’s not where clicking takes you!
Any ideas? I’m using WP 1.5, and I never DID get IImage to work, either!
March 12th, 2005 at 3:12 pm
K, back again, lol.
The path to the thumbnail is correct, but the plugin inserts an odd path for the fullsized picture:
of course, I’m able to change the path, but I’m trying to help a friend who wants to avoid typing addresses.
Thanks much
March 12th, 2005 at 4:22 pm
Is there anyway to have the images on there own seperate Album page rather than all thrown together on one…that way I can post a link to Album 1 or Album 2 static pages….
HELP needed on this one any ideas?
March 18th, 2005 at 1:07 pm
I’m having the same problem laurie is reporting above? Any ideas how to fix this?
March 21st, 2005 at 12:03 am
Is there a quick and easy way to migrate the existing photos on a blog so they can be displayed in the Photopress album and appear in the random thumbnail sidebar display?
March 29th, 2005 at 8:28 pm
Erm…I just installed it an I’m getting an error (Fatal error: Call to undefined function: get_option() in /home/tarnishe/public_html/blog/wp-content/plugins/photopress/photopress-inc.php on line 9) on every page after I activate the plugin :/
April 7th, 2005 at 1:53 pm
I’m having some trouble integrating Photopress with my current theme (Falling Leaves) and despite following through with the installation instructions on this subject I haven’t been able to make the work together properly.
From what I can see, the theme starts a div layer called “Container” in the header file which is then broken up by including the Photopress functions. Ideally the container layer should continue to the footer, as the look and feel of the site completely changes as a result.
Any tips or assistance you can provide are welcome, thanks for creating a terrific product.
April 28th, 2005 at 2:47 am
First of all, thanks for creating and providing continued support for such a wonderful plugin. It works wonderfully.
I have just one question: how do I delete pictures? Perhaps I’m missing something obvious here, but I can’t figure this out for the life of me. Any pointers?
April 30th, 2005 at 12:01 pm
I was wondering the same question… I could always just delete the photos from the server, but is there any way to do that from within Wordpress?
May 5th, 2005 at 1:09 pm
Firstly, HUGE thank you for creating such a useful and easy-to-use plugin for Wordpress. Very much appreciated!
Once little tiny request for the next release: Could you add the ability to manage the photos via category first, then the images. Obviously those images not assigned to categories would initially appear when you click ‘Manage’ ‘Photopress Album’, then underneath it would list the current cateogries.
I would love to able to do this, but I’m pretty new to php so I wouldn’t know where to start.
What do others think?
Thanks again!!
July 3rd, 2005 at 9:03 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 10th, 2005 at 6:58 pm
First of all, great plugin!
Only one grip however, for some reason the default install makes my validator think that the page is no longer XHTML transitional. You can easily test this by running the default validator from my site. Any help would be greatly appreciated.
Thanks again for such a wonderful contribution!
July 21st, 2005 at 5:10 am
I have installed the plugin and get the following error when trying to upload an image “File . of type is not allowed.” I am running it on Win 2003 server box. The photo directory has write access enabled and I have configured options. What do you think?
October 29th, 2005 at 8:18 pm
I have been fiddling with this plugin today. It’s great!
I don’t get the buttons on my post writing page so it’s a bit of a cludge to get pictures up. Any ideas?
February 28th, 2006 at 7:33 am
is it possible to show the most recent image instead of the random image at the sidebar?