Photography

"There is a crack in everything, That's how the light gets in" L.C.

“Dossier de Presse” plugin

News

  • If you’re interested, it seems to work fine with LR4 beta 1
  • v12 – December 4 2011- Fix for NextGEN 1.9.x (and hopefully up)
  • v11 – June 24 2011- Fix for NextGEN 1.8.x
  • v10 – December 7 – Fix if gallery already exists
  • v9 – September 28 – Dealing with NextGen 1.6.x
  • v8b – September 26 – Another attempt to fix date/time gallery name (re-download v8)
  • v8a – September 24 – Bug fix in the date/time gallery name (re-download v8)
  • v8 – September 23 – Added optional date and time in gallery name
  • v7 – September 20 – Minor tweaks in the post generation
  • v6 – August 7 – Just code cleanup and FAQ section
  • v5 – July 30 – Option to list images in the content (instead of gallery)
  • v4 – July 24 – Create post or page
  • v3 – July 24 – Fix for Lightroom version 2
  • v2 – July 18 – Second release
  • v1 – June 27 – Initial release

Introduction

New Adobe Lightroom plugin to export pictures directly to your WordPress blog. It supports NextGEN gallery and WordPress Media library. You can optionally create a post including the exported photos (the post is left in draft mode, so you can edit it later).

Installation

You need NextGen installed to create a NextGen gallery obviously.

Installing a Lightroom plugin

  • Download the zip file
  • Unzip the file and copy it to your favorite plugin directory
  • Use the Plugin Manager to add the plugin and activate it

Using the plugin

  • Activate the plugin, as mentioned above
  • Select some pictures and activate “Export …”
  • Select the “Dossier de Presse” plugin in the pulldown menu
  • Make sure your WordPress blog has “XML-RPC” enabled (See WordPress settings).
  • Put the URL of your blog plus the “xmlrpc.php” add the end:
    • If your blog is at the page “http://example.com/journal”, the correct URL is “http://example.com/journal/xmlrpc.php”
  • Input your username and password for your WordPress blog
  • Select the appropriate export settings and post creation values
  • If you select to create an associated post, Lightroom will try to open the post page for you to edit and publish the post (you have to be logged in on your site for this to work).
  • Check the FAQ for any problems

Example

Here is an example of post generated by the plugin: post

Download

  • Here is the link to the current release v12: Dossier-de-presse-12.lrplugin (version 3.0.12.300000)
  • release v11: (version 3.0.10.300000)
  • release v10: (version 3.0.10.300000)
  • release v9: (version 3.0.9.300000)
  • release v8: (version 3.0.8.300000)
  • release v7: (version 3.0.7.300000)
  • release v6: (version 3.0.6.300000)
  • release v5: (version 3.0.5.300000)
  • release v4: (version 3.0.4.300000)
  • release v3: (version 3.0.3.300000)
  • release v2: (version 3.0.2.300000)
  • release v1: (version 3.0.2.300000)
  • It is tested on Windows 7 64-bit and MacOS 10.6.4 , both with Adobe Lightroom 3.0 64bit. I would be interested to hear from your experience with the plugin, especially with other versions of Lightroom and other OSes.
  • You can post some feedback at my blog entry or drop me a note at “luc at lakephoto dot org”

Donation

It takes a lot of time and effort to make plugins for Lightroom. Think of making a contribution to cover some of my expenses. I do not enforce any limitation of use and do not check that you made a contribution, but try to comply. Thanks.

  • minimum of $2 and up (as you wish) for non-commercial usage
  • minimum of $20 and up (as you wish) for commercial usage. If you are a commercial entity or sell anything on your site (your art, houses, or anything else) and use my plugin, you qualify for a commercial donation
Non-commercial Commercial


Name

“Dossier de Presse” means “press kit” in french, I thought it was appropriate.

ChangeLog

  • December 4 2011:
    • Fix NextGen v 1.9.x.
  • June 24 2011:
    • Fix NextGen v 1.8.x.
  • December 7:
    • Fix for the situation where the gallery already exists. It adds the pictures to the gallery. Handled better now.
  • September 28:
    • API change in NextGEN 1.6.x (creating a gallery now returns the new ID, so no need to search for it. Still support for NextGEN 1.5.x
  • September 26:
    • Another attempt to fix #$%!@$ date/time gallery naming
  • September 24:
    • Bug fix in date/time gallery naming
  • September 23:
    • Added an optional date and time suffix to the gallery name (time and date of the gallery publication)
  • September 20:
    • Minor tweaks in the text of the generated posts (added template caption, added main picture in image list format, …)
  • August 7:
    • Some code cleanup (and some debug log). No new functionalities
  • July 30:
    • Option to list images in the content (instead of gallery)
  • July 24 (2):
    • User can select to create a post or a page
    • Fix for the custom content of post or page
    • Fixed the draft mode of the newly published entry
  • July 24 (1):
    • Fix for Lightroom version 2
  • July 18:
    • Button to test credentials
    • Removed size limitation
    • Second release
  • June 27:
    • Limitation to 300×300 pixels
    • Initial release

More plugins

Much more advanced plugins can be found at the following places:

FAQ

  • Do I have to donate ?
    • Consider the time you save with the plugin. If you’re (or trying to) making money with your site, you have to contribute. If you are not a commercial site, it’s your call.
  • When testing my site, it fails…
    • Make sure the URL you give is correct. It should add ‘xmlrpc.php’ to your site URL. If your site or blog main URL is http://myname.example.com/journal the correct URL is http://myname.example.com/journal/xmlrpc.php
  • When testing my credentials, it fails
    • Make sure the username and password you put are correct and that the user is allowed to write in the site (it should be an ‘admin’ or writer account)
  • My URL and account are correct, but it’s still failing
    • Make sure XMLRPC publishing is enabled on your site (see WordPress settings panel)
  • I can upload to a WordPress gallery but not to a NextGen gallery
    • Some web servers (provided by hosting sites) have limitations by default that user cannot create files and directories. It seems to be related to some PHP “safe mode”. Search on google for plenty of complaints and solutions. Basically, allow your user to create files and directories (safe mode off)
  • I can upload some small images, but fails for large images
    • Again, some web servers have limitations on the file size you can upload. Increase the values if needed. See your web server configuration and your PHP configuration (for instance the post_max_size and upload_max_filesize PHP variables)
  • It fails by I don’t know why…
    • Always update to the latest release (see download section) and send me the log file produced: send the “DossierDePresse.log” log file to (luc at lakephoto dot org) . On Windows, it’s in c:\user\My Documents on Mac, it’s in /Users/user/Document.
  • I don’t like the content automatically generated, but if I use “custom content”, I loose everything
    • The best solution is to leave the setting to automatic content, and do the final touches to the post or page inside WordPress. The post or page is left in an “unpublished” state after upload, so you have a chance to make the changes you would like. When ready, click publish.
  • You checked everything and it still doesn’t work with NextGen (but it does with WordPress):
    • Make sure you have a recent version of PHP installed (version 5.xx). The NextGen methods are not exposed through XMLRPC when using PHP4. Please update your server (at least for security reasons).
  • I get an error when I connect, the DossierDePresse.log says something like “error 412 precondition failed”
    • It seems that some security module (mod_security) blocks the XMLRPC traffic. You have to enable this or disable mod_security (not the best idea maybe). Some people advice to add the following in your .htaccess file

    <Files xmlrpc.php>

    SecFilterInheritance Off

    </Files>

  • I get an error when uploading pictures (in the log file, there are errors about creating galleries, directories, or uploading files):
    • Check that your WordPress upload directory is correct and can be written by your webserver. It’s accessible in WordPress, under “Settings” and then the “Media” screen, then check “Store uploads in this folder”. It should be something like “wp-content/uploads”
  • I want to see in NextGen the titles I wrote in Lightroom
    • Modify the post to add the template ‘caption’ to your gallery. Something like ‘[nggallery id=98 template=caption]’
  • I would like to see the title, captions and keywords of my pictures imported into NextGen database
    • When you export your photos, make sure to deselect 'Minimize Embedded Metadata' in to the Metadata section of the export panel.

Last edited on September 28, 2010

230 comments to “Dossier de Presse” plugin

  • [...] this plugin here. Filed under NextGEN Gallery, Plugins and WordPress.  |0 Comments . var [...]

  • Randy

    Any idea why I get this error message?
    ==================================================================
    Unable to Export:

    An internal eror has occurred: Access to undefined global: result
    ==================================================================

    I’m using Lightroom 2 and yes I enable XML-RPC

  • Thanks for making this plugin available – I’ve just started to use Lightroom instead of Aperture – this plugin will really help and save time!

  • Randy

    Thanks! Hope you are able to come up with a fix.

  • This plug-in came around at just the right time! I was finally getting my photo site up and was looking for a good way to manage the LR -> WordPress workflow and had just settled on using Nextgen for my galleries.

    I started with version 1 and thought the potential was great but the size limit was a bit of a pain so I figured I would put it on the “back burner” for now and wait for an update. Imagine my surprise when literally that same day I happened to refresh your page and see that version 2 had been released!

    A couple of quick points:

    1. The custom post functionality didn’t seem to work for me, I just got the default post created. This isn’t a big issue for me as I’m primarily using pages for my galleries.
    2. This brings me to point 2 – would it be possible to have an option to create a page instead of a post? I don’t know if this is a limitation in the current plug-in or something that’s simply not possible with WordPress’ XML-RPC functionality but it would be really useful.

    • admin

      1) I’ll check the custom post. What OS and LR version are you using ?

      2) It shouldn’t be too hard to create a page instead. The xmlrpc call exists. I can put a switch for post or page.

      luc

  • Hi there, I tried to use the plugin because it seems to be very handy.

    Unfortunatly i get some errors with Lightroom 3 64Bit: Test Connection brings two messages:
    “Connection OK http://…xmlrpc.xml
    and then
    “Ein interner Fehler ist aufgetreten: ?:0: attempt to index field ‘?’ (a nil value)”

    Then, if I try to export there is another error message:
    “Ein interner Fehler ist aufgetreten: bad argument #1 to ‘openUrlInBrowser’ (string expected, got nil)”

    I use Windows 7 64Bit and Lightroom 64Bit.

  • admin

    Hi Dorian,
    – the first OK message says that it can find your server
    – the following error message says that it cannot login to your wordpress blog using the name and password given (make sure these are correct and that XMLRPC is enabled on your wordpress site).

    The last error happens because it cannot open the page, since everything else failed.

    I uploaded a version v4, let me know if it still happens with it.

  • luc

    V4 is uploaded. Changes:
    User can select to create a post or a page
    Fix for the custom content of post or page
    Fixed the draft mode of the newly published entry

    Luc

  • Oops, that error message was my fault… I missed the step to activate the xmlrpc function in the wordpress admin page.

    Your plug-in works fine! Appreciate very much!

  • [...] Möglichkeit Bilder direkt aus Adobe Lightroom in WordPress zu exportieren. Ein Plugin dazu gibt es hier. Was ich vermisse ist die Möglichkeit den Zugriff auf einzelne Bilder oder Galerien effizient zu [...]

  • Sascha

    Hey there,

    I got the same “Ein interner Fehler ist aufgetreten: bad argument #1 to ‘openUrlInBrowser’ (string expected, got nil)” error like Dorian, but xmlrpc is switched on. Connection test and credentials is OK. I only get the error for entry types “new blog post” and “new page”. I don’t get the error when I select “No entry created”, however the file isn’t uploaded and there is no error messages or a succes message or anything. I’m running Lightroom 64 bit on a 64 bit Win 7 machine. Hope to find a fix for that issue

    • admin

      Hi Sasha,
      It works for me with LR3 on Win7 64 bit (in a virtual machine). Can you try with the latest version (v4) and send me the log file DossierDePresse.log (on windows, it should be in something like c:\user\My Documents\) ?
      You can send me that at luc @ lakephoto . org
      thanks.

  • BeachsidePaul

    First trying to Test Connection and I get the error “An internal error has occurred: A semi colon character was expected.

    Any suggestions, I’m sure it’s something I’m probably doing wrong? Win7 64bit, LR3. Plug-in Version 3.0.4.300000.

    Thanks, Paul

  • admin

    Hi Paul,

    - first thing to check is if you have enabled XMLRPC in your wordpress site (from web admin panel).
    - make sure the URL is correct: if your site is http://example.com/myjournal then it should be http://example.com/myjournal/xmlrpc.php
    - make sure name and password are correct
    - make sure that the user is allow to post and create gallery in NextGen.

    Luc

  • BeachsidePaul

    Luc, thanks for your quick response, I had left for the day so I apologize for the delay. I went back through the setup and found that I had stupidly misspelled my website url. I had the other stuff all correct, just couldn’t spell! Sorry to have been a bother, now that I can verify my connection, I just need to figure out the rest of the stuff to make a blog work. Thanks again for your help, Paul

  • BeachsidePaul

    Luc, I’m having a hell of a time getting the files to upload. I can now confirm the connection but it’s refusing to successfully upload. I went into WordPress and manually created a gallery “2010 Kelby Photowalk” went into LR and tried to upload with the gallery name including spaces, then with the spaces replaced by “-” like the gallery path and then with spaces and quotes around the gallery name. I didn’t get any errors using the “No entry created” option but the file didn’t upload.

    Here’s a copy of the log for the last two tries.
    07/28/2010 12:27:05 TRACE Dossier de Presse plugin: start
    07/28/2010 12:27:34 ERROR http error mt.supportedMethods:
    07/28/2010 12:27:34 DEBUG supportedMethods 0
    07/28/2010 12:27:39 DEBUG ngg.installed: version 1.5.5
    07/28/2010 12:27:41 ERROR xmlrpc error newGallery 500 Sorry, could not create the gallery
    07/28/2010 12:27:42 DEBUG getGalleries> pairs table: 000000000226C630
    07/28/2010 12:27:42 ERROR Cannot find the gallery 0
    07/28/2010 12:27:42 TRACE Dossier de Presse plugin: end
    07/28/2010 12:33:11 TRACE Dossier de Presse plugin: start
    07/28/2010 12:33:13 DEBUG supportedMethods 1
    07/28/2010 12:33:15 DEBUG ngg.installed: version 1.5.5
    07/28/2010 12:33:21 ERROR xmlrpc error newGallery 500 Sorry, could not create the gallery
    07/28/2010 12:33:25 DEBUG getGalleries> pairs table: 00000000024A04B0
    07/28/2010 12:33:25 ERROR Cannot find the gallery 0
    07/28/2010 12:33:25 TRACE Dossier de Presse plugin: end

    Not sure what the heck I’m doing wrong *sigh*

    Thanks for your help,

    Paul

  • BeachsidePaul

    Okay, it’s something to do with a gallery named with spaces in the name. Just tried with a gallery with no spaces and it worked. Is there a work-around or do I need to change all my gallery names and delete spaces? Either way, I can work with it. Thanks again, Paul

  • admin

    You can have spaces in gallery names. All my galleries have spaces.
    From the line:
    xmlrpc error newGallery 500 Sorry, could not create the gallery
    it tells me that the user account you’re using is not allowed to create galleries. You might check your user management inside wordpress.

    luc

  • I work with LR2 on MAC OSX
    I installed wordpress with netgen extension
    Connection is ok and login also between LR and blog. I used the test connection button
    The export seems start with the first picture but I have this error message and no upload executed

    “” Une erreur interne s’est produite : Error Domain=NSXMLParserErrorDomain Code=5 UserInfo=0x211bf030 “Line 2: Extra content at the end of the document”"

    Could you please help me to understand what it is wrong?

    thank you

    jean-michel

  • admin

    When you encounter a problem, please send me (luc at lakephoto dot org) the “DossierDePresse.log” log file.
    On Windows: c:\user\My Documents
    On Mac: /Users/user/Document

    luc

  • Chris H

    Is there a way to generate a post which will contain a full size version of all the uploaded images (eg using the ‘singlepic’ shortcode)? Alternatively do you know any quick way of adding multiple ‘singlepic’ to a post? Any help would be much appreciated!

  • [...] if there was one for wordpress. A search on Adobe’s site turned up very new plug-in called Dossier de Presse. What this plug-in adds is an additional set of options to the export command in LR. WordPress has [...]

  • admin

    Hi Chris,

    I added the option to list the pictures (using singlepic instead of gallery). See version v5.

    Luc

  • Adam

    Great plugin! I am using LR3 and it works great. One thing that would benefit me would be the enabling of multiple accounts. I post to various blogs and it would help streamline this process.

    Thanks!

  • admin

    Hi Adam,
    I think you should be able to manage several accounts by adding a preset for each one. The preset should save URL, username and password, etc. Let me know if that works for you.

    Luc

  • Very intersting plugin. It works great! Thank so much for share it!

  • [...] Ecco come sono riuscito ad accontentarlo. Ho integrato Lightroom, WordPress e NextGen Gallery mediante un ottimo plugin gratuito chiamato Dossier de Press. [...]

  • Test connection works fine.

    When trying to use NextGEN I got the errors described above regarding ‘indexing by nil value’.

    Tried it with using a WordPress gallery instead since I may not have nextgen setup correctly on my site and got this message: “*** -[NSURL initWithString:relativeToURL:]: nil string parameter”

    I’m sure the plugin works fine, I’m just not sure what I did.

  • disregard my last post (delete if you want). Everything works now it was my fault.

  • I am trying to export to wordpress 3.0.1 (French) with LR3 and dossier de presse.
    It does not work: “Une erreur interne s’est produite: Un seul élément de niveau supérieur est autorisé dans un document XML.”

  • admin

    When you encounter a problem, please send me (luc at lakephoto dot org) the “DossierDePresse.log” log file.
    On Windows: c:\user\My Documents
    On Mac: /Users/user/Document

    luc

  • [...] you, then you absolutely need this Adobe Lightroom Export plugin from Luc Renambot called “Dossier De Presse“. Read on for more details and a sample [...]

  • [...] you, then you absolutely need this Adobe Lightroom Export plugin from Luc Renambot called “Dossier De Presse“. Read on for more details and a sample [...]

  • Hi Luc,

    Great plugin but I can’t get it to work with NextGen. I can upload to a WordPress gallery though it does not upload to the uploads-folder but to the regular wp-content folder thus creating a lot of garbage in that folder.

    If I want to create a new NextGen-gallery I get this errormessages:

    “An internal error has occurred: ?:0: attempt to index a nil value”

    The next messagebox:

    “Unable to export: An internal error has occurred: ?:0: attempt to index a nil value”

    I use LR3 64bit, NG 1.55, WP3.01

    I mailed you the logfile.

  • admin

    Hi,

    I’m sorry but I’m unable to reproduce the problems. I setup two test sites one with WordPress 3.0.1 (and NexGen 1.5.5) and one with WordPress 2.8.4 (and NextGen 1.4.6), and I don’t have problems to publish from MacOSX and from Win7:

    luc

  • admin

    It looks like some web hosting companies have a safe mode enabled by default, which doesn’t let a user to create files and/or directories. I believe NextGen needs to create a directory per gallery. Make sure safe mode is off or enable the appropriate settings for NextGen to work properly. Also checking that the web-server and/or PHP upload size are not exceeded when uploading a large picture (for instance, google “php post_max_size upload_max_filesize”).
    See the new FAQ section.

    Luc

  • Any way to make the uploaded images “attach” themselves to the post via the wordpress database? This would allow use of the built-in WP Gallery via the standard shortcode on the posts created from lightroom.

  • admin

    Hi Collin,
    That’s a good idea (I didn’t know about the shortcode api, except in nextgen). The problem is that WordPress doesn’t provide (afaik) ways to attach a picture to a post, except in edit mode (when you’re creating a page or a post).

    One solution: keep the automatic content as I provide it and publish the post once (I leave it un-published). The publish action will attach the pictures to the post! Then you’re free, for instance, to delete the html code and replace it with a ‘[gallery]‘ shortcode.

    That’s a bit of a hack, but that’s the only option I see so far (otherwise I would need a wordpress plugin to do something, and I’d rather not have to require another plugin).

    Let me know if you see another solution.

    Luc

  • I also can’t get this to work with LR 3 & nextgen 1.5.5

    The error message I’m getting:

    An Internal Error has occurred: *** -[NSURL initWithString:relativeToURL:]: nil string parameter

    If I choose ‘no entry created’ it says it’s uploading but doesn’t actually upload anything.

    It uploads fine to WordPress Gallery…

    I’ve tried workarounds for ‘safe mode’ but no joy. Also, I’m not sure it’s this anyway as other plugins create new directories seemingly with no problem.

    Really keen to get this to work as it’s a great plugin you’ve come up with!

  • admin

    In general, make sure to have a relatively recent version of PHP running on your server. Security should be one of your motivation to keep up to date. Also, NextGen methods are not exposed through XMLRPC with PHP4, so my plugin won’t work with your server (it seems that exporting to WordPress directly would still work though).
    Upgrade to PHP5 is highly recommended.

    luc

  • having the same problems as Duncan

    August 9, 2010 at 6:40 am

    I also can’t get this to work with LR 3 & nextgen 1.5.5

    The error message I’m getting:

    An Internal Error has occurred: *** -[NSURL initWithString:relativeToURL:]: nil string parameter

    anything else that I can do ?

    ciao
    keane

  • admin

    Hi,
    Duncan had an old version of PHP (v4.xx) running that made NextGen not completely functional. I tested your site (http://www.barganews.com) and NextGen responds fine (version 1.5.5).
    Maybe you can check the permissions on your site ( which user can create a gallery or upload content). It might be related to the ‘safe mode’ (see FAQ).
    Please send me (luc at lakephoto dot org) the “DossierDePresse.log” log file.
    On Windows: c:\user\My Documents
    On Mac: /Users/user/Document
    I’ll check it for errors.

    luc

  • for some reason its now working fine … thanks for your time luc

    ciao
    keane

  • i installed this plugin today on windows 7 (64Bit) and LR 3 Enviroment and i get this error message

    Verweis auf eine nicht definierte Entität ‘raquo’

    What does it mean ?

    regards

    Alex

    • I have no german training, but google helped me: “undefined entity ‘raquo’” hmmm I don’t know.
      Send me the log file: “DossierDePresse.log” log file.
      On Windows: c:\user\My Documents
      On Mac: /Users/user/Document

      luc

  • Hi Luc,

    unbelievable ! What a great plugin. Thanks for your work and input.

    I just installed it and easily managed to create a new nextgengallery with the files from LR 3 in it (WordPress 3.0.0). However, the images are merely 300 pixels wide instead of the 700 pixel I declared in the export process. Furthermore, the writing of a post entry doesn`t work … which way ever. I get an errorpage:

    http://www.sascharoesner.de/?p=1758

    although i was logged in. Might it be due to the fact that I use a static page as start page ? not a blog?

    THANK YOU !!!!
    p.s. running LR 3 on a MAC OSX 10.6 and WP 3.0.0

  • Luc,

    the logfile show’s not really interest things…

    08/11/2010 12:18:45 TRACE Dossier de Presse plugin: start
    08/11/2010 20:50:17 TRACE Dossier de Presse plugin: start

    the generated diagnostic file show’s these

    Plug-in error log for plug-in at: C:\Users\aschmidt\Downloads\dossier-de-presse-01.lrplugin\dossier-de-presse-01.lrplugin

    **** Error 1

    Die Nachbearbeitungsaufgabe dieses Zusatzmoduls konnte nicht erfolgreich abgeschlossen werden.
    Verweis auf eine nicht definierte Entität ‘raquo’.

    it means… “that an post process in this plugin don’t end’s successfully”,
    then the message “Link on an not defined entity ‘raquo’.

    any idea ?

    regards

    Alex

  • update: when i use the dossier-de-presse-06.lrplugin the same error message comes

  • When I export to a new page, I get the new page; however, I get the following errors reported at the very end of the process:
    Warning: require_once(wp-includes/theme-compat/sidebar.php) [function.require-once]: failed to open stream: No such file or directory in /home/northp2/public_html/Blog2/wp-includes/theme.php on line 1086

    Fatal error: require_once() [function.require]: Failed opening required ‘wp-includes/theme-compat/sidebar.php’ (include_path=’.:/usr/lib/php’) in /home/northp2/public_html/Blog2/wp-includes/theme.php on line 1086

    When I go to the page it seems ok, so I’m not sure what to think.

    • Hello Dudley,
      It looks like a problem related to your theme in WordPress. I’m not sure, but maybe the situation happens because the page I create doesn’t use a template, so it uses the default template. When you go to publish the page, you change the template in the ‘Page Attributes’ box on the right.
      Otherwise, it might be useful to check if your template or your WordPress installation is up to date.

      Luc

  • Ken

    I’ve put these comments on your blog as well:

    I’m excited about using your Lightroom plug-in, but I’m having trouble getting it to work. I’m using version 3.0.6 of your plugin, Lightroom 3.1, WordPress 3.0.1, and Nextgen 1.5.5, Windows Vista on my computer and PHP server 5.1.39 ( I think). I believe that “safe-mode” is turned off on my server.

    I’ve attempted to put a single image in a new NextGEN gallery called “test”. When I export from Lightroom the plugin creates a directory for the gallery (\wp-content\gallery\test), but it fails to create a directory in “wp-content\upload”. The permissions are the same in each case. If I also attempt to create a new post I get error warning pop-ups that say:

    An internal error has occurred: bad argument #1 to ‘openUrlInBrowser’ (string expected, got nil)

    The same errors occur when I attempt to put the image in WordPress gallery.

    The log file has been emailed. Thanks

  • Jen

    I must be missing something but I can’t find the download on this page?

  • Jen

    Ignore me, I found them the second I posted the above post!

  • Ken

    I figured out the fix when I was getting an “Unable to create directory” error. I also got error statements like this:

    An internal error has occurred: bad argument #1 to ‘openUrlInBrowser’ (string expected, got nil)

    In WordPress under “Settings” and then the “Media” screen I changed the “Store uploads in this folder” to “wp-content/uploads”. The original setting was something like (maybe not exactly) “mnt/kframpton/kenframpton.com/wp-content/uploads”. So I deleted all of the leading stuff. It works fine now.

  • i enabled the plugin in lighroom (2.5 64bit) and i enabled rpc on my blog. Yet when i test the connection from within lightroom, i get “Access to undefined global: result” ?!

  • luc

    Hi Martin,
    Any reasons to stick with version 2.5 ? Could upgrade to the latest v2 version (version 2.7) ?
    I just tried v2.7 on my Mac and it works fine for me (with plugin version v6). What OS are you using ?
    Check the FAQ, maybe there’s something there for you.
    Otherwise send me your log file:
    “DossierDePresse.log” log file
    on Windows, it’s in c:\user\My Documents
    on Mac, it’s in /Users/user/Document.

    Luc

  • Luc,
    thanks for the fast reply! i upgraded to 2.7 (same effect), but it works with 3.0 :)

    …i’m happy now…

    Martin

  • Mette

    Eh, I cant find the download link, where can I download the latest version?

  • Mette

    oh, there it is, see it now :)

  • Thanks for a great plugin for Lightroom. I’ve been looking for one like this for some time now and it really seems great.

    However, I have a question:
    Since I use LR to organize my photos I often use the meta data field “caption” for the description of a photo. Is it possible to also export the content of that field when uploading to WordPress so that it will be displayed when using Simpleviewer for NextGen?

    • luc

      Hi Hans,
      If you use the template ‘caption’ in wordpress, it should show the title put in Lightroom. I know that I also modified my NextGen installation to include EXIF data by default. For instance:
      – to show ‘title’ :
      [nggallery id=98 template=caption]
      – to show EXIF:
      [nggallery id=98]

      Let me know if that helps, but I think it’s up to NextGen to use the correct fields. Maybe somebody that knows more can comment…

      Luc

  • Sarah

    Does this work with WordPress 3.1? I’m trying to install and keep getting ‘the plugin does not have a valid header’ error message when I try to activate it.

  • mikeelbon

    I am having problems in setting this lightroom plugin up.
    An internal error has occurred: bad argument #1 to ‘openUrlInBrowser’ (string expected, got nil)

    I have this as the first error code in the error log file
    server error. requested method ngg.installed does not exist

    I have ngg installed in wordpress plugin folder and default folder set for uploads. my default setting in wordpress for ngg gallery folder
    wp-content/gallery/

  • luc

    Hi Mike,
    the error ‘openUrlInBrowser’ is because everything failed before. If it says that ‘ngg.installed’ does not exist the plugin cannot work with NextGen. Please check the FAQ, you might be using an old version of PHP.

    luc

  • mikeelbon

    Hi Luc.
    My server is using php 5.2.5 I’m using wordpress 2.7 and next gen ver 1.3.3.
    I have xml-rpc enabled in wordpress.

    Mike

  • luc

    Hi Mike,
    Could you try to upgrade to the latest NextGen (1.5.5 I believe) ?
    In any case, please send me your log file for me to investigate (see FAQ).
    Thanks,

    Luc.

  • [...] plug-in voor Lightroom heb ik getest en ik moet zeggen: dit is weer eens [...]

  • [...] directement exportés de LightRoom 3 vers WordPress grâce à l’excellent plugin « Dossier de Presse« . Tags: 7D, canon, center parcs, GPS, lightroom, moutain [...]

  • [...] directement exportés de LightRoom 3 vers WordPress grâce à l’excellent plugin « Dossier de Presse« . [...]

  • Brett

    Can’t wait till you make this part of the publish services!

  • luc

    NextGen v1.6.0 is out. I tried and I don’t see a problem with it. Let me know if anything is broken.

    luc

  • Harry

    Hello! I tried to download the latest file (http://luc.lakephoto.org/journal/wp-content/plugins/download-monitor/download.php?id=37) on this page, but I got an error 404 Not Found. Are there problems with the files? Thank’s a lot. Harry

  • luc

    Hi Harry,
    Thanks for the report. I think it works now, please try again.

    Luc

  • Harry

    Hello Luc! Thank you very much. I could now download the file and everything works perfekt. Great plugin!!! I use Lightroom 3.2 with NextGen Gallery 1.6.1 and WordPress 3.0.1

  • [...] MobileMe Gallery Jeffrey’s “Export to Facebook” Lightroom Plugin Jeffrey’s “Export to PicasaWeb” Lightroom Plugin Jeffrey’s “Export to Flickr” Lightroom Plugin Jeffrey’s “GPS-Support” Geoencoding Plugin for Lightroom Dossier de Presse [...]

  • [...] you, then you absolutely need this Adobe Lightroom Export plugin from Luc Renambot called “Dossier De Presse“. Read on for more details and a sample [...]

  • Mike

    Hi Luc,

    thank you for this plugin.

    Is there any possibility to incorporate date (and time) of the export into the name of the gallery? Let’s say name it “Gallery 20100923″?

    Another idea: It would be nice if DDP could fill the NGG-imagetags from the Lightroom keywords. Do you think this is possible?

    Regards,
    Mike

  • luc

    Hi Mike,

    Date and time: check version 8, there’s now a date and time option to be added to the gallery name

    Imagetags: these should be added by NextGen into the database when importing the photo. I don’t modify that aspect. Make sure to disable ‘minimize metadata’ in the export panel (Metadata section). It works for me, I get caption, exif data and keywords imported into NextGen.

    Luc

Leave a Reply

  

  

  

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>