Photopress 0.9.5

This is just a quick bugfix release, which should solve some of the major problems with the previous one.

  • Fixed a couple of SQL problems noted by a few people, namely the LEFT JOIN thing but also a weird thing where the default ORDER BY was missing.
  • Fixed a Javascript problem that was keeping the insert buttons on the Browse popup from working. Basically, I’d forgotten to update the Browse JavaScript when I updated the Upload part.

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

This entry was tagged . Bookmark the permalink. Share on Twitter or Facebook.

103 Responses to Photopress 0.9.5

  1. Tom Parker says:

    Isaac we have a problem :(

    WP 2.0.4 and latest Photopress aint working like Scott above has said :(

  2. g says:

    Hi, I’m having a problem:

    I updated the categories, but now I have two “default” categories, and I can’t get rid of them. How can I completely delete them? I have no pictures in there, but I’m kind of worried that in the future this could give me a problem.

    Thanks

  3. g says:

    Oh, and I also have the problem that Brad said (about four posts above this one)

  4. g says:

    in case anyone wants to edit the code that Daniel Gattermann said, here are the number lines to modify in photopress.php:

    1242
    1351
    1342
    917

    (use a program that shows lines number, for example Crimson Editor – freeware)

  5. Doug says:

    I am using 2.0.4 and just installed photopress. I works great but it is showing some bugs. Should I report here?

    - Sort by category error
    - Categories revert to default on edit

    Is there any sort of organized effort to move this project forward?
    - create directories for uploads
    - button to insert all uploaded images
    - keep focus on insert window

  6. jeremiah says:

    Wish List

    1. A way to easily delete categories and add sub categories
    2. A way to list categories as text only links (like in the sidebar under Photos or something)
    3. A way to easily integrate the Album (Photos) link into the Pages links.

    In spite of my complaining, this plug-in is great. I’ve been searching for something like this and nothing else has even come close to all the stuff this one does – so thank you and great job.

    I haven’t experience the above bugs that the 0.9.5 release fixes, so I’ll wait for now…

    This is what my system looks like:
    WordPress 2.0.4
    PhotoPress 0.9.4 (I’ll wait to install the latest version…)
    Apache/2.0.46 (Red Hat)
    PHP 4.4.1 (Zend: 1.3.0)
    MySQL 3.23.58

    thanks – j

  7. jeremiah says:

    Just an update —

    I am wrong about my system –

    I am running PhotoPress 0.9.5 – it just doesn’t show up as that… So I guess I’ve already upgraded.

    thanks –

    j

  8. jeremiah says:

    I have noticed that images must be 72dpi in order to upload them whether they fit within the max file size or not…

    also – is there a forum for this plug-in?

    j

  9. joseph says:

    I saw another comment about this. Seems there used to be a way to adjust the number of columns? I’d like to be able to do that again. What happened to that option?

  10. DoubleJ says:

    There appears to be a bug within the image manager. When you update an image, it puts it in the default category. No matter what category you select.

  11. Hello,

    i just fixed some bugs in photopress 0.9.5. The ones mentioned by Daniel Gattermann and other bugs related to category changes. If you enter a new category then the actual category is not renamed but a new one is created. As I see there’s no possibility to delete a catagory yet.

    I also changed mass-editor a bit. If you have thumbs in mass editor mass editor look a bit different than otherwise.

    You may give my 0.9.5a a try, it may help.

    Thanks for this great piece of software Isaac!

    http://www.vonarb.de/photopress.tgz
    http://www.vonarb.de/photopress.zip

  12. I’m trying to fix this myself, but I’m having problems following the code. I’m kind of a self taught “programmer” and I’m still learning. I would like to have my thumbnails not default to a 100px x 100px in my sidebar… I would rather have them scale down based on a percentage. Any ideas on how to do this?

    Thanks in advance.

  13. jeremiah says:

    Is there a forum for this plugin?

  14. Bryan says:

    This is a fantastic plug in, and I’ve enjoyed working with it so far. I’d like to make a request though… Could you add a commenting feature to the photographs. I think that would make this plugin perfect.

  15. Jan says:

    Nice work! I guess it is the best gallery plugin for wordpress. Due to, here some bugs:

    - cannot edit images, the plugin set the category always back to default
    - category sort oder for public is missing

    here my wish list:

    - random thumbnails for sidebar can have different size
    - image title for the My Blog eg… is missing
    - image description for “get_the_excerpt” is missing
    - missing url-friendly permalinks

    Also, next time you will have the ultimate photo gallery for wordpress, i stay update!

  16. ninad says:

    I cant get the permalink /index.php/album/ to work…what could be the problem ?

  17. What’s the easiest way to add photopress “page” on my Freshy theme wordpress?

    gwlj

  18. James says:

    Awesome plug-in. Thanks. I, too, had the categories bug, but the fix suggested by Brad (comment left on July 26, 2006) allows me to use the mass edit mode without screwing up the categories. It still reverts to default in the single image editor, but can be easily changed back in mass edit mode. A minor bug easily fixed. Awesome work!

  19. roge says:

    Long time no posts here, pardon, to much work. I’m on css reboot now, so, I have installed the last version of photopress. As always, PERFECT. Here are my new requests which might be useful:

    - Optionally: Link from album thumbnail to the post which use the image (to the first post).

    - Optionally: Do not link image inserted in the post. (useful when large image inserted).

    - Optionally: Do not resize originals when they are same or smaller size as set in options, to avoid jpeg recompression.

    - Steel use own hacks to display last (new) images on sidebar.

    Thnak you for your work!

  20. Jake M says:

    How do I set up an album like the one on this site? I only see options to add the photos to a post. What I have played with so far is very well constructed. Nice work.

    Thanks.

    Jake

  21. Gary says:

    Thanks for the fix on the ‘defaulting to Default’ issue – I’ll give it a go shortly. Here’s another one for you…

    If the description of a photo contains an apostrophe, it breaks the JavaScript. The image won’t load in a separate window.

    Another thing you might want to look at is that, if an album is hidden but an image from that album is embedded in a blog entry, then you can still click on the image, which means you can go back and look at all the images in that album, even though it’s supposedly hidden.

  22. Idoia says:

    I love this plugin! I don’t seem to have an album, though, and I don’t know where to begin to fix it. Any chance you could have a look (www.crazykitties.com) and tell me what I’m missing? Thanks for all your work!

  23. Rob says:

    Is there a way to put a thumbnail photo album in one of the pages of my site? I have created a photo album page and would love to be able to add some code to display a whole category.

    BTW if this is in the instructions, I didn’t see it or just didn’t get it.

    I tried linking to the pp_album.php but it didn’t work. Sorry I’m not a programmer so if code needs changed i’m in trouble.

    Thanks.

  24. Marc Barriere says:

    Does Photopress has difficulties with Nikon jpg files?
    Here is a file I have taken with a Nikon coolpix 4600
    http://www.barriere.info/photos/DSCN0170.JPG

    here is a the same file resized by photopress plugin.

    http://www.marcbarriere.com/wp-content/photos/DSCN0170.jpg
    Photopress doesn’t do that with files from other cameras.

  25. harry says:

    First of all: Thanks Isaac for your great work, this plugin really ROCKS !
    ;o)

    Also many thanks also Daniel Gattermann his Bugfix-Info posted earlier here.
    [ June 6th, 2006 at 4:50 pm - http://familypress.net/archives/photopress-095/#comment-1031 ]
    With these applied, Photopress finally seems to work perfect for me now!

    -> Pleeeeeeease include those fixes in your next release of photopress … ;o)

    Harry

  26. Jim says:

    I love the plug in but I cant figure something out :)

    Admittedly I am a novice at anything code related, but I just cant figure out how to make the photo album open up with my same theme. Every time I try I get a blank white unformatted page.

    I read this:
    “Broken album layout: edit pp_album.php and pp_album_css.php, in the photopress folder, to match your theme (look at your theme’s index.php for inspiration). You can save the files in your theme’s folder to avoid overwriting when upgrading (PP looks there first, then reverts to the default).”

    but I just dont understand it…

    can anyone look at my sire and help?

    jim

  27. roge says:

    Isac, please contact me about my last questions I have send to you via e-mail

  28. Daiko says:

    Dear Isaac!

    I experience that your plugin affects the widgets page in admin. It results in the pop-up widget control panels are unaccessible because the transparent overlay suddenly covers the control-panel itself. When de-activating your plugin, the widget-page works fine again. Otherwise it works well.

  29. Brian says:

    Hey there, first time posting for this place. I absolutely love photopress and think it is a great plugin for wordpress. The first time I tried it after I installed it a couple days ago, the random images worked great, however I am having a difficult time trying to integrate the album into my layout. I followed the tip from the instructions to make pp_album look pretty much like my index, but it still isn’t working very well. Perhaps there is something I’m doing wrong or leaving out?

    my website is http://www.legendaryillusions.com I’d appreciate any ideas on how to get photopress to work.

  30. Martin says:

    I get a weird error message when I try to upload a new picture:

    Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 550 bytes) in /home/virtual/site386/fst/var/www/html/modifoo.com/blog/wp-content/plugins/photopress/include.php on line 707

    The actual image gets uploaded fine into the directory, but I cannot access it from photopress.
    I tried upgrading to the new 0.9.5, and I also upgraded WP, but neither one helps.

    Line 707 in include.php reads:

    $resized = imagecreatetruecolor($image_new_width, $image_new_height);

    Any help would be greatly apprechiated. Thanks for a great plugin.

  31. Martin says:

    OK, I found a fix for the problem. One has to set the maximum allowed size for a full photo to at least the same size as the photo one wants to upload.

    Seems like the problem is with the resizing.

  32. Great plugin! I’m building a WP site for a friend and have one issue I just can’t figure out… and I’ve tried looking all over the PHP to figure it out.

    Using the permalink system, when clicking on an image in a post or on a page, there are two /’s after the tag I set in the Photopress options.

    ie: http://blairvanhaus.com/album//IMG_2892.jpg

    Plus in the META sidebar, the link to the Photos page is correct, as is the random image. But when you go to the Photos page, the image URL is incorrect again, and has two //’s.

    Any ideas?

    Many thanks in advance!
    chris

  33. Rob says:

    Isaac, in the line , can i put something in between the () to specify the display of a specific category? I have tried a couple of things and think maybe i just don’t know the syntax. If this works, i will be able to show specific albums on different pages by using the ezstatic plugin. Please let me know if this is possible!!! Thanks,
    Rob

  34. Alanna says:

    Just tried to install this, am getting an error message when activating, have checked twice, think I’ve followed all the steps. I do this nearly completely by rote so if there’s someone who can advise, pls take that into advisement! ; – )

    Warning: main(/home/content/K/i/t/KitCon/html/blog/wp-content/plugins/photopress/include.php): failed to open stream: No such file or directory in /home/content/K/i/t/KitCon/html/blog/wp-content/plugins/Photopress/photopress.php on line 47

    Fatal error: main(): Failed opening required ‘/home/content/K/i/t/KitCon/html/blog/wp-content/plugins/photopress/include.php’ (include_path=’.:/usr/local/lib/php’) in /home/content/K/i/t/KitCon/html/blog/wp-content/plugins/Photopress/photopress.php on line 47

  35. Antoine says:

    Hi Isaac,
    I have localised Photopress in French. How can I send the pot file to you so you can implement it ?
    I hope you are still improving your nice plugin and I am worried to read all those posts with no reply.
    Hope you are fine, let me know by email.
    Best regards.

  36. L says:

    i’m having problem with the database categories, for some reason i cannot create new categories ( ihave to add them manually via myphpadmin) and another problem it will only display 2 categories? even though i have added 5 more categories manually and added pictures in each category it will only display 2 both in category view on the WP admin and on actual page any solution for this?

    thanks in advance
    L

  37. gutielua says:

    Hi everybody, right now I have this problem under 0.8.5 versión and WP 2.0.4

    Warning: getimagesize(/home3/gutielua/public_html/wordpress/wp-content/photos/open_USBCELL.jpg) [function.getimagesize]: failed to open stream: No such file or directory in /home3/gutielua/public_html/wordpress/wp-content/plugins/photopress.php on line 1449

    Any suggest?

    @

  38. jux says:

    Hi everyone.

    I’m getting the same problem over and over again: when I try to upload my image i get the following error:

    Error uploading A_picture.jpg. The file is not one of the allowed types (jpg jpeg gif png). Check the file and try again.

    Any explanation? plz. help

  39. jux says:

    I tried uploading pictures and then using “import pictures” button. Photopress informs me that photos have been uploaded correctly but the photos can’t be found anywhere (inside wordpress that is) – they do still reside in the same directory.

  40. David says:

    When using Photopress, I have two problems.
    1. I can’t seem to create any new categories.
    2. When I click on a picture and go to the gallery, I see the one picture, but if I click next I see a random image.

    How do I fix this?

  41. Nate says:

    Ok, at first, I just thought permalinks weren’t working. But now, I can’t view the gallery at all. The links are pointing to ?pp_album=main, but it just goes to the page cannot be found. Even when I click on the random thumbnail image. I’ve turned off permalinks, but still no good! Anyone else having this problem?

  42. >flo says:

    How can I edit

    [photopress:picture.jpg,thumb,pp_image]?

    I’d like supplement with Lightbox2-Code:
    rel=”lightbox[groupname]

  43. WiLL says:

    Thanks for writing the plugin. It’s no PicasaWeb Album, but hey, it’s still a spiffy plugin to integrate a gallery in WP. Btw, I tried to validate the XHTML that was generated by th eplugin and it had 5 errors. Hence, it wasn’t validated. I edited the code and have it validated with no errors now. Again, thanks for this plugin.

    Will
    http://gormful.com
    Certified Hapless Techno Weenie

  44. Seth says:

    Hey I was wondering if there was anyway to asign a class to the image you are linking to from the thumbnail, instead of the thumb itself, automatically.

  45. Seth says:

    Nevermind I got it. Was in the popup.php instead. Easy enough.

  46. Fairweb says:

    Hi, I have this plugin running on one of my blogs and it’s just great and working fine on a 2.0.5 WP version. I have made a french fr_FR.po and .mo so I would like the author to contact me so we could share my translation. I have not tested it thouroughly so changes to my strings may be needed.

    Myriam

  47. agei says:

    HI,

    Just installed the plugin, and it fits like a glove – nice work!

    One question, before I try to ammend the code, is there an easy way to group uploaded photos by user – so that each is in control of their own name-space, so to speak?

    The obvious way, if I may say so, is to upload the file into a sub-folder of the photo repository using the userid as folder name.

    All suggestions welcome,
    Adrian

  48. Stephen says:

    Hi Isaac,

    I have a patch that instead of using a popup window to display images uses a JavaScript animation (http://www.huddletogether.com/projects/lightbox2/). You can see an example on my website.

    I am keen to get this merged into the “official” tree as it adds little overhead if it’s switched off. Please let me know how to send you the patch.

    Everyone else: let me know if you’d like me to send you the patch or put it on my website for you to download.

    Cheers,
    –> Stephen

  49. Dennis says:

    When I select Mass Edit, all categories are reset and go back to default…???

  50. Brett says:

    Hello,

    I love the Photopress plugin and have used it in a couple of sites already. I am currently designing a website for my family, and I was wondering if there was a way to change the random image into the most recently posted image… or the most recently posted image in a specific category? I would appreciate any help here. Thanks again for the great plugin.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>