Photopress 1.0

Please don’t take ‘1.0′ to mean I consider it to be perfect - I just ran out of 0.x space. This version does fix many bugs, including issues with editing categories. I know a bunch of you pointed out the problem, but when my mom noticed I had to fix it (no kidding).

The browse popup tool now has a drop-down menu for picking a page, which works much better with hundreds of images. In the process I fixed it so the filter choices are remembered, which makes a lot more sense.

Finally (I think), in the Mass Edit view the delete check boxes should be suppressed for images used in posts (if the right option is set). This makes it a lot easier to get rid of duplicates that aren’t used in posts. Oh yeah, there’s a new image for the visual editor icon. The old one is still there if you liked it better - poke around and you’ll find it.

Download: photopress.tar.gz or photopress.zip

33 Responses to “Photopress 1.0”

  1. William Dougherty Says:

    Do you have any way to organize the categories into sub-folders? I am testing your plugin on my site http://www.edgebacklabs.net and have put a couple hundred photos into different albums, but it is hard to manage them in a single folder on the file system.

  2. Tom Says:

    Photopress 1.0 has resolved the conflict with widgets in WordPress 2.1; however, this latest release still breaks Wordpress’s editor: the visual editor’s tool bar doesn’t exist but disabling the visual editor in profile does allow the editor to display the tool bar in ‘code’ mode. I hope this conflict can be resolved as I like the capability of toggling those two modes in the editor. Also, I wonder if it would be possible to have comment forms for individual photos?

  3. erkinson Says:

    HI…..i had sent an email….where i explained my problems in making the italian translation of Photopress (i took the .pot file from your site..) ….. For any question what address can i use to contact you??? Thanks

    Dario Gioia

  4. Daniel Svantesson Says:

    Hi! First I must say that I’m delighted to have found your plugin. I’ve been testing a couple of similar plugins but none as good as yours. Although it seems perfect I have a slight issue at the photo-viewing page. Att the bottom of the page I get this warning:

    Warning: Missing argument 1 for query_posts() in adress/to/my/root/www/wp-includes/query.php on line 13

    I’ve checked out the query-page and it seems good, and I can’t really figure out where the problem is, so I thought you might have a clue?

  5. kees Says:

    Hello. I have the same problem with the editor and I can’t find the failsafe button in Photopress options. I also get a Fatal error when using Photopress and Gengo (multilingual) plugin together. The error : Call to a member function on a non-object in classes.php on line 33. Its a rewrite url error I think. So now I use photopress to upload photos and deactivate after uploading. Still think this is one of the best plugins around.

  6. Jaqueline Says:

    Hello!
    I’m having a problem: under my pictures, inside the gallery, I have this message:

    Warning: Missing argument 1 for query_posts(), called in /maismoda.net/news/wp-content/plugins/photopress/photopress.php on line 437 and defined in /maismoda.net/news/wp-includes/query.php on line 13

    I don´t know what it can be? Something I should change?

    Thanks a lot! :-)

  7. Jaqueline Says:

    Sorry, I have one more question: how to create sub-categories? I have many galeries of photos (most of them catwalk show) but some belongs to the same event, but from different designers. So, it would be a “blast” to have sub-categories!
    I search for something like that:

    1-EVENT
    —designer 1
    —designer 2

    2-EVENT 2
    —designer 1
    —designer 2

    Thank you again!
    Jackie

  8. akipfer Says:

    Howdy! First of all, great plugin!!! I just recently upgraded to 1.0 and it works perfectly with 1 exception. If i enable both the Photopress plugin AND the Anarchy Media Player 2.0 beta plugin, i get a ‘realTinyMCE undefined’ error and my rich text editor disappears. Both work fine independently of one another, but if both are enabled, I get this problem.

    Any ideas?

  9. mk Says:

    if you use Tiger Style Administration plug-in, deactivate them.
    i solve this problem deactivate that plug-in.

  10. Matthew Ebel Says:

    I still don’t know how you delete a category that you’re no longer using. I don’t see an option for that, and I’ve got a few duplicate categories on the loose!

  11. Leovenous Says:

    Is there a way to simply pull in a specific album? Something like pp_album(’category’) or something like that? Great plugin BTW thanks for sharing it!

  12. Sven Says:

    Hi!

    Is there a way to add a whole gallery to a page at once or do I have to insert all the images one-by one?

  13. nicola Says:

    hello, I have a problem: under every photos appear these lines:

    Warning: Missing argument 1 for query_posts() in /home/mhd-01/www.ruggierobros.com/htdocs/carolus/wp-includes/query.php on line 13

    where is the problem? :-S

  14. Peter K Says:

    I installed succesfull the latest version of Wordpress 2.1.1 with the standard template. After installing the Photopress plugin, and chmod 777 to /wp-content/photos, I can’t upload images. A message apears: “Ask the administrator to promote you”. In my Wordpress 2.0.7 everthing is working fine. What’s will the message say to me?

  15. Nicolas Zinovieff Says:

    Hi all, after a few trials and errors, I managed to isolate the disappearing buttons bar : apparently, tinyMCE is looking for the “bold” plugin, which doesn’t exist in the current WP release. One (simple) fix is to create a “editor_plugin.js” empty file in wp-includes/js/tinymce/plugins/bold/
    A more thorough way to do that would be to check why tinyMCE needs this bold plugin so badly since I still have bold fonts with this bogus “plug in”… and I couldn’t find it anywhere in the configuration files…
    Anyhow… hope it helps.

  16. SHRIKEE Says:

    I miss the option at options > photopress to set the columns for the gallery :(
    I have been using pp 092 which had 2 fields where we could enter the amount of columns.
    Now it just shows 2 columns, which looks a bit weird…

    A minor thingy with the popup where you insert images to a post. The insert buttons are too wide for the popup. I saw this on Mac OSX, Firefox 2.0.0.2. When there is a long filename the button is too wide.

    For the rest i didn’t see any bugs or weird stuff…

    PS. THanks for coming back! Where have you been?

  17. sidney Says:

    hi,

    no watermark options in new photopress 1.0?

    sidney

  18. sidney Says:

    hi again

    no popup options in new photopress 1.0?

    please, version 0.9.5 nice options in version 0.9.5

    watermark and popup (click in photo)

    thanks

  19. John Handelaar Says:

    Since the people releasing WP don’t seem to know their arses from their elbows, here’s the thing: the rich editor looks for a nonexistent plugin called ‘bold’ because WP devs don’t use the rich editor and therefore seem to think it’s fine to leave this bug unfixed for the last seven releases.

    If you create a directory called ‘bold’ in wp-includes/js/tinymce/plugins and a *completely empty* file called ‘editor_plugin.js’ within it, WP will stop writing PHP warnings all over the editor’s Javascript, and hence stop introducing an arseful of JS syntax errors.

    I’d suggest a fix for WP itself, but life’s too bloody short to pick through the ill-written spaghetti they keep releasing.

  20. John Handelaar Says:

    Still can’t load your options page though, because options-general.php doesn’t know the plugin’s in a subdirectory, and if I move it up a level, it writes nothing before the footer.

    So if you could have a look at that, I won’t have to edit options manually on the mysql command line.

    Thanks.

  21. John Handelaar Says:

    Nope, not a blank page, a class redeclaration error.

  22. Aaron Kipfer Says:

    The toolbar button does display, however it breaks if I have Photopress AND Anarchy Media Player enabled. By ‘breaking’ I mean that all of the rich text editor buttons disappear. Both Photopress and Anarchy buttons appear when enabled individually, but not together. Any thoughts?

  23. mamax Says:

    Hello,

    a compilation of all problem listed:
    1) The message

    Warning: Missing argument 1 for query_posts() in /mnt/122/sdc/e/d/maxknopp/blog/wp-includes/functions.php on line 1387

    is listed on the bottom of all picture when we browse it (with the next and prev buttons)

    2) In the editor, the rich text editor disapear. and it’s replaced by a to simple one

  24. mamax Says:

    Hi,

    I found the explanation for the message:
    Warning: Missing argument 1 for query_posts() in /mnt/122/sdc/e/d/maxknopp/blog/wp-includes/functions.php on line 1387

    in the file photopress.php in the line 437, the function “query_posts();” is called but there is no argument inside.
    I bypass the error by putting this line in comment…

  25. modifoo Says:

    I just upgraded WP from 2.0 to 2.1 and all but 2 plug-ins work. Unfortunately, I do not get photopress to work. After enabling it, I get the single error message when trying to access my blog:

    Could not find wp-config.php.
    Fatal error: main() [function.require]: Failed opening required ” (include_path=’.:/usr/local/php-4.4.4-6/share/pear’) in /home/6252/domains/modifoo.com/html/blog/wp-content/plugins/photopress/buttons.php on line 10

    Any help? (Love your plug-in, by the way!)

  26. modifoo Says:

    OK, with my little knowledge, I actually managed to fix it (by comparing changes from a previous version…)

    So, line 10 in buttons.php should be:

    require_once(ABSPATH . ‘wp-config.php’);

    Worked for me - maybe it is of help for someone else?

    Now it works like a charm. Thanks!

  27. _Andrey_ Says:

    Hello,
    I have same problem as [b]nicola[/b]:

    Warning: Missing argument 1 for query_posts(), called in /home/www/ugolnik.info/htdocs/wp-content/plugins/photopress/photopress.php on line 437 and defined in /home/www/ugolnik.info/htdocs/wp-includes/query.php on line 13

    How i can solve this problem?

  28. nicola Says:

    I installed succesfull the latest version of Wordpress 2.1.1 with the standard template. After installing the Photopress plugin, and chmod 777 to /wp-content/photos, I can’t upload images. A message apears: “Ask the administrator to promote you”. In my Wordpress 2.0.7 everthing is working fine. What’s will the message say to me?

    I have the same problem with wp 2.1.2

  29. nicola Says:

    @_Andrey_ : edit file photopress.php and at line 439 search query_posts(); and comment it with //. By this way, it works

  30. newx Says:

    My MO file didn’t work!
    “To use a translation, place the MO file in your plugins folder.”
    I have tried to put it in:
    /htdocs/wordpress/wp-content/plugins
    /htdocs/wordpress/wp-content/plugins/photopress/plugins
    /htdocs/wordpress/wp-content/plugins/photopress/plugins/photopress/langs
    /htdocs/wordpress/wp-content/plugins/photopress/languages
    /htdocs/wordpress/wp-include/languages
    but nothing happened………..

  31. 梅子 Says:

    I installed succesfull the latest version of Wordpress 2.1.1 with the standard template. After installing the Photopress plugin, and chmod 777 to /wp-content/photos, I can’t upload images. A message apears: “Ask the administrator to promote you”. In my Wordpress 2.0.7 everthing is working fine. What’s will the message say to me?

    I installed succesfull the latest version of Wordpress 2.1.1 with the standard template. After installing the Photopress plugin, and chmod 777 to /wp-content/photos, I can’t upload images. A message apears: “Ask the administrator to promote you”. In my Wordpress 2.0.7 everthing is working fine. What’s will the message say to me?

    I installed succesfull the latest version of Wordpress 2.1.1 with the standard template. After installing the Photopress plugin, and chmod 777 to /wp-content/photos, I can’t upload images. A message apears: “Ask the administrator to promote you”. In my Wordpress 2.0.7 everthing is working fine. What’s will the message say to me?

  32. Tom Says:

    After spending quite a bit of time attempting to figure out why PhotoPress was breaking the visual editor in WP 2.1, I was able to come up with a solution. As it turns out, the error log on my server indicated that there was a fatal error in PHP when Photopress was activated as a plugin, line 101 of the upgrade-schema.php file in WP because “the allowed memory size of 8388608 bytes exhausted”. After more searching I changed from the default settings in the my.cnf for my setup for MySQL to one of the other “cnf” files that are provided with MySQL. Once I had changed configuration files and restarted MySQL PhotoPress worked as advertised, including the new button appearing on the visual editor tool bar as well as on the code tool bar. As WP continues to develop, configuration issues regarding the server, database, and scripting language may need to be addressed. Also programming efficiently as possible to make the best use of resources is important as well. Thanks, Isaac, for a great plugin!

  33. Jared Says:

    To fix the “ask the administrator to promote you” message with a tiny hack, simply replace line 14 of popup.php file with this:

    if (!current_user_can(’publish_posts’)) // One-liner to override $user_level

    see the following link for more information, and maybe fix it all the way:

    http://boren.nu/archives/2005/12/01/whats-new-in-20-roles-and-capabilities/

Leave a Reply