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. gutielua says:

    Isaac, I open the zip & tar files, and inside still appears this “Version: 0.9.4″

    An when I upgrade from 0.8.4, my categories dissapear. All are set on “default”.

  2. Ted says:

    Hi,

    So far, everything with photopress is working super-cool. But for some reason when i’m trying to edit photos (ie: description, etc.) in the Album manager it always winds up setting the category to “Default” – which wouldn’t be a huge problem, but I can’t seem to change it back afterwards, and just get a message saying that “Photopress album data update failed for some reason.”

    The only way to reset them is to delete and re-upload, which is a pain the the butt.

    Any suggestions?

    -T.

  3. Brian says:

    Is there a way to exclude one category from the random feature?

  4. Mike says:

    I see that too…

    Firstly, Isaac, I’m a WP noob, but thisd plugin makes a difficult job easy, thanks :)

    Mine is a new install, I think it’s 0.94, but now I’m not sure :( WP 2.0.2

    Anyway, I have the maximum image size set to 550 pixels, and if I try and upload an image smaller than that, I get an (unspecified) error on upload. Images 550 or larger work fine.

    The browser does not work (no images, even though I have uploaded 17 of them)

    Lastly, the image category management is too obtuse for me. What on earth is a slug? The Edit Categories under Manager -> Photopress is counter-intuitive. I am presented with a couple of text fields already filled in with category details to update. Am I creating a new category or altering the existing one? How about a ‘new category’ button?

    Maybe if I upload the 0.95 it will fix some of these problems?

    Mike

  5. Mike says:

    Just an update.

    I had a close look at 0.95 and 0.94 with diff, and coould see the differences, even though 0.95 advertises itself as 0.94. Not to worry, I loaded it up anyway, de-activating 0.94, loading 0.95, re-activating photopress, and re-examining the options.

    Uploading of images greater than 550 pixels now works.

    The browser is working.

    Category management is unchanged (oh well, 2 out of 3 aint bad :)

    Michael

  6. Gabe says:

    Very nice plug-in!!!, but I think I found a bug when the photopress works together with widgets. If photopress plugin is active I can not edit the widget properties, the windows that open when you click in the edit icon on a sidebar widget appear but looks like disabled and none of the fields can be edited. I’m using the Regulus Theme 2.1.3 but the same problem happen with 2.1.1. For now what I do is Edit my sidebar with photopres disabled, when finish enable photopress again. Thanks for this great plugin and if you have time take a look at the “bug”, (i’m not sure is your fault)

  7. Mike says:

    Make that uploading of images smaller than 550 works without error. (bigger works too, and are resized accordingly)

    Regards and thanks,

    Mike

  8. Martin says:

    Hi,
    Despite problems with the non-appearance of the failsafe ‘PhotoPress’ button in a French language WordPress 2.0, with the Connexions theme and using MacOS X Safari, I still believe your plugin is more convenient than the WordPress built-in image uploader.

    Can the button problem be dependant on the WordPress language because your plugin 0.9.4 (is it really 0.95??) DOES work with the same Connexions theme in an English WordPress 2.0.
    Looking forward to it working better.
    Regards
    Martin

  9. Hi Isaac,

    I really like PhotoPress. Easy and clean. I struggle with one thing: When I update information on a picture in one of the categories, the picture is moved to the Default category? I try to move it back by changing the Category, but it seems to be stuck in Default.

    Any good ideas?

    Rgds,
    Frode

  10. Stahn says:

    Hello, just a quick comment, Photopress 0.9.5 is not validating XHTML, as you can see here.

    On a side note, I noticed that you changed the behavior for the album links if the option Link to album is set on No. I’m working on a little hardcoded hack for this (revert the function to 0.9.2) but I suggest adding an option to let the user select the behavior.

    Keep on working on this hack, it’s close to perfection :)

  11. Stan says:

    The version ID is still 0.9.4 on the file I downloaded here.

  12. Satyam says:

    I don’t understand the use of the catrep field of the categories table. The only use I found was in the function pp_highlight where the field is appended to build a file name. As far as I can see there is a bug in that function as $slug['catrep'] is used while it should be $sluginfo['catrep']. Anyway, the test will always fail and the only option of that ‘if’ is the one that will always get executed, there is no else option anyway. catrep is also mantained, initialized and updated, if any other part of the application cared for it, which it doesn’t.

    Could you clarify? Thanks

  13. Stahn says:

    The manage Photopress system is completely bugged: I can’t create categories, can’t move individually an image from one category to other, if I do that, everything defaults to the first selected category, when I want to change the category from the image “editor” the manager tells me that it can’t be done.

  14. Husar says:

    i am having problems with the admin. Can’t change any images to other categories. Looks like others are having the same problem. Any updates coming soon?

  15. SHRIKEE says:

    Heya,

    long time no see :)

    Ive just installed 0.9.5 on 2 websites and the categories are totally fuxored. :(

    On one site (my moms) she updated and now all her categories are gone, the fix cats option wont work…

    On my site i didnt see this as i had no existing photo album so a new thing works. just editing categories is crap.

    On my site i noticed the mass edit page to be weird options are not saved properly.

    I love the watermark function!!

  16. SHRIKEE says:

    who still has the older version? like 0.9 or something. One that doesnt have the bugs were walking into now. ill use that instead ;) . thanks!

  17. Thad says:

    Yeah … this version has messed up my site as well … I was having some problems with the old version but this is crazy … 340+ photos out of categories plus numerous links are now bad.

    I hope this can be fixed with an easy update!

  18. SHRIKEE says:

    i hope so too!

    is Isaac away? probably sitting in the garding, catching sun… :P
    Anyway, im still looking for a older version… can be send at arnan18 -at- zerocom.nl

    Thanks!

  19. digitalchild says:

    Hello,

    I have installed the latest version off your site, and its broken the categories too. Does anyone have the old version, or is there going to be a bug fix out.

    cheers,

    dc.

  20. gutielua says:

    Wow, I know now, that I’m not that only one with this problem.

    The best version for me was and are the 0.8.5

    Regards!

  21. Thad says:

    I reverted back to 0.9 and it seems to work. I am still having the uploading problems that I had before I tried to update … but at least the site is not ka-put.

    I hope that this is fixed soon!

  22. SHRIKEE says:

    im using 0.9.2 which works fine so far… (several days now)

  23. heo says:

    hi!
    first of all thanks for the plugin!

    my problem is, that i cannot configure alle widgets if the photopress-plugin is activated. the popup-window is not clickable. deactivating the plugin, all works fine.
    well, i can live with this workaround, only wanted to tell you.
    perhaps you can fix it.

    i’ve just upgraded to 0.9.5 (plugin-version is still 0.9.4)

    thank’s
    heo

  24. Tobias Sasse says:

    Hello, I’m using Photopress 0.9.4. I have a problem with the handling of big images. If I post one of them into my posts (please have a look at the website) and click on them Firefox opens a new window with the image inside, but there are no scrollbars and the image is cropped. Can anyone tell me how to fix it?

  25. Tobias Sasse says:

    Example: http://photo.byte23.de/?p=118

    Excuse me for this double post.

  26. Therasan says:

    Hello to all who might read this.
    Im new in the wonderfull world of weblogs and photo sites. I have no idea how i got so far as were i am now. The problem is that i cant get the photo link working and for me it just does not make sence about what im doing wrong.. please help me get it working..

    Therasan

  27. Thad says:

    Updates to version 0.9.2 and an still having the same uploading problems … when I try to upload any photo, it give me this error:

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

    I need to upload somewhere in the neighborhood of about 150 photos (with the total growing fast) for my family back home to see. So, I hope that this is all fixed soon!

    Cheers!

  28. SHRIKEE says:

    hm, weird. it works for me :P

    try uploading the images (10 orso as a test) with a ftp client to the gallery folder. then go to the photopress maintance page and use the “fix database” button or whatever its called to add them to the database. it MIGHT work…

  29. Sama says:

    So I installed the latest version of your photopress plugin on wordpress 2.02 and all seems to be in order. I can upload photos to the album and the metadata sends a random images to my sidebar. However I do not know where I should go to use the utility that allows me to attach photos to my posts. I no longer have the upload under post writing section. Help.

  30. Here are some potential fixes for some Photopress 0.9.5 issues. Try them first on a backup copy of your blog!

    Replace the line

    <td><p><select name="row' . $i . '[oldimgcat]">' . pp_cat_dropdown($pp_cats,$image_data['imgcat']) . '</select><p/><p>' . __('Slug:','photopress') . '</p></td>

    with the following

    <td><p><select name="row' . $i . '[oldimgcat]">' . pp_cat_dropdown($pp_cats,$image_data['category']) . '</select></p><p>' . __('Slug:','photopress') . '</p></td>
    to prevent the switch to the “Default” category in Mass Edit.

    Replace the line

    <option value="imgfile"'; if ($catsort == 'imgfile') { echo ' selected="selected"'; } echo '>' . __('A-Z by file name','photopress') . '</option>

    with the following

    <option value="imgfile"'; if ($slug['catsort'] == 'imgfile') { echo ' selected="selected"'; } echo '>' . __('A-Z by file name','photopress') . '</option>

    (i.e. match the other lines) to keep the sort setting “A-Z by file name”.

    Replace the line

    <td><input type="text" value="' . stripslashes($slug['category']) . '" name="row' . $i . '[newcat]" /></td>

    with the following

    <td><input type="text" name="row' . $i . '[newcat]" /></td>

    If you use the original line you can’t change the category in “Edit Categories” without deleting the category name in the “Enter New” field first. “Enter New” should contain nothing by default because the user has to enter a _new_ category name, not the system.

    There is also a bug which changes the category to default when you just want to change e.g. the description of an image in the “single image view” of the Album Management:
    Replace

    $pp_updated_array = array('imgfile'=>$_POST['imgfile'],'imgname'=>$_POST['imgname'],'imgdesc'=>$_POST['imgdesc'],$_POST['catslug']);

    with the following

    $pp_updated_array = array('imgfile'=>$_POST['imgfile'],'imgname'=>$_POST['imgname'],'imgdesc'=>$_POST['imgdesc'],'catslug'=>$_POST['catslug']);

    to preserve the catslug (i.e. the Category).

    Furthermore I had to remove all calls to htmlentities2() to make German “Umlaute” (äöüÄÖÜ) in image names to appear correctly.

  31. Ed says:

    I would like to get a random image instead of a random thumbnail when calling pp_random_image_bare(), is that possible?

  32. Jesper says:

    Excellent plugin. But I’m having problems with categories as well.
    They seem to mess up all the time, categories disappearing, images being put all in one category etc.

    Is someone looking into this?

  33. Thad says:

    Shrikee, thanks for the post … I am doing just that (making thumbs with photoshop to boot) but now I am having another interesting problem with filenames with more than one _ in them.

    Anyone else having this problem?

    Cheers!

  34. Chad says:

    Love the progam…just having difficulties with getting it to cooperate.

    1: I would love to have a delete catagories button like the wordpress catagories. I’m now up to 13 catagories and only need 5.

    2: having troubles getting catagories to show at all in the main catagory View.

    3: when adjusting images to correct catagories they will often appear in other catagories on thier own.

    4: i had a crazy bug where images started copying themselves and there would be 3 versions of each image in the Mass Editor.

    5: I would love to have an option for setting the thumbnail size. 100×100 is way too big for me and I looked for it in the php code and couldnt find where to change it anywhere.

    Thanks for your time and effort.

  35. Chad says:

    Oh and a mass upload option would be cool…just pick your folder or Highlight all the images you want and it uploads them. a select catagory button for this too.

  36. Frazer Ransay says:

    Issac, fantastic plugin – worked right out of the box (although assigning categories was a bit buggy). Nevertheless, a great addtion to my site. Many thanks. One question – is it possible to structure albums in a way that allows for sub-albums (e.g. parent is “Places” and sub-album is “London” or “New York”, etc.)?

    Thanks Again

    Fraz

  37. Michael says:

    Old versions can be found here:
    http://redalt.com/External/plugins.php?p=photopress

    from 0.3 to 0.9.5 :)

  38. Tom Parker says:

    Hey issac its Tom Parker, just upgraded from 0.9.2 wondered how to get my 3 coloums back on the photos page http://www.tomwrote.info/album instead of two any idea mate cheers.

    - Tom Parker

  39. Mark says:

    Anyone know how to edit the popup.php so that when you add html to the post, it will put the description of the photo in after the photo?

    Thanks!!!

  40. Mark says:

    Also, how can I add another button to open photopress in the “Browse” tab, rather than the “upload” tab.

    Final question: how can I make it so that the popup doesn’t close when I click the “insert” button. This is helpful for when I want to insert many photos into my posts, and I don’t want to keep opening the popup for each photo.

    THANKS!

  41. MistAr G says:

    I have got Photopress 9.5 but in my World press pluing page shows thath i habe photopress 9.4 i have reinstall all it`s the same

    How to show more then 1 random imige whit photopress

  42. SHRIKEE says:

    Is photopress dead? :(

  43. kat says:

    hello, i installed photopress TWICE ALREADY and the album page still doesn’t work. ?pp_album=main works, but I cannot try and access 1-punctuality.com/haute/gallery/ (I have defined gallery as the album token in Options:Photopress and I have also enabled permaliks in the same page). Why is 1-p.com/haute/gallery still not working, then?

  44. Boris says:

    Hi – i have the same problem as Gabe:

    “but I think I found a bug when the photopress works together with widgets. If photopress plugin is active I can not edit the widget properties, the windows that open when you click in the edit icon on a sidebar widget appear but looks like disabled and none of the fields can be edited.”

    Because i really the plugin i wonder if you (Isaac) are still working on that plugin or not? Maybe you have a paypal-button to enable on your site so that we might motivate you a bit? :)
    Please go on with the good work! It’s so much more comfortable than the WP Default Image-Handling (which is horroble i would say)
    And i have searched for other solutions – but yours seems to be the best: simple, easy, all you need.

    Please contact me if you are still developing this plugin – thanks a lot

  45. brad says:

    hi, i just wanted to let the photopress community know that i found a small bug that i think i fixed.

    in the “Mass Edit” feature, the category pulldown for every image was not getting set to default to its currently set category, instead defaulting to the first category.

    i found a small error where the category name is supposed to be passed to the function that generates the pulldown. on line 1242 of photopress.php change pp_cat_dropdown($pp_cats,$image_data['imgcat']) to pp_cat_dropdown($pp_cats,$image_data['category'])

    that fixed it for me.

  46. DoubleJ says:

    Hello,
    I first had some issues with the permalinks not being updated directly but after I reconfigured my permalinks.

    Great plugin, had a look at a lot of image gallery plug ins but this one certainly is the best.

  47. Scott says:

    Photopress works perfect for me… right up to the insert photo part. Though the version still says 0.9.4 (while the link says 0.9.5)

    I’m using wordpress 2.0.2 & 2.0.3 with the EditorMonkey TinyMCE Plugin. I’ve tried foxfire & ie 6.

    Any thoughts? It’s so close I can taste it…

  48. Soccan says:

    Hi, having a strange problem.
    When you are writing a post in WP the button photos (or is it photo) should show up on the rightand side, somehow in Safari 2.0 the button don’t show. I we checked in IE on Windows and it is there, so why not in Safari?

    Someone have any idea?

  49. Soccan says:

    Me bad, found the new button. Blind man can’t see…

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>