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
- 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.
<Files xmlrpc.php>
SecFilterInheritance Off
</Files>
Last edited on September 28, 2010



Just downloaded and installed the latest version and I’m receiving the error message “An internal error has occured: Only one top level element is allowed in an XML document” on each and every export attempt.
Using –
Lightroom V2.7 64 bit
Wordpress V3.0.1
NEXTgen V1.6.2
Hope this is just me being a NOOB to this plugin; so want to use this as I replace G2 on my site and migrate to NEXTgen.
Steve
Hi Steve,
Send me your log file (see FAQ).
Luc
luc,
Do you want me to post it here of send you the file via email?
Don’t mind posting it here but it’s pretty long.
Steve
mail
Hi,
Since one of the latest updates it seems all my pictures lose the EXIF tags (and GPS tags) once uploaded using your export plugin…
I’m using your latest version 0.8a, Lightroom 3 up-to-date, WordPress 3.0.1, Nextgen Gallery 1.6.2
This was working the month before… Maybe something change in Nextgen Gallery ? I think it’s the only thing I updated when it stops working.
Any clue ?
Thanks
Hi again,
Just found latest version of Lightroom (3.2) does destroy the EXIF tags if you limit the size of an image during the export.
Setting the JPEG quality or resizing the picture is fine, only limiting the file size cause problems…
Hope Adobe is aware of this behaviour…
You’re plugin is working as expected. Thanks again.
Hello Prune,
Yes, I would be surprised if it was my fault: I just transport the images (regular export by LR) and give them to NextGen (through XMLRPC) for import.
I personally don’t use the file size constraint, just the quality setting. But indeed, this is annoying !
luc
I uploaded another attempt (v8b) to fix the naming gallery thing (adding date and time).
Thanks for being so active in your plugin development! I just got Lightroom 3 and have been looking around at various plugins. I’m very excited to try out yours. :)
im sorry, i tried looking for the download but, i still cant find it
Here: http://luc.lakephoto.org/journal/dossier-de-presse/#download
Would it be possible to somehow implement albums in future versions of Dossier de Presse?
Hi Paul,
Right now, I don’t think it’s possible, the only functions that NextGEN exposes are ‘upload a image’, ‘get the list of galleries’, ‘get the images of a gallery’ or ‘create a gallery’.
We would have to get Alex Rabe to expose more…
Luc
[...] plugin que facilita bastante las tareas de publicación es el "Dossier de Presse", que permite exportar directamente las imágenes a tu galería NextGEN. Y si resulta [...]
Hi there, firstly thank you for developing this plugin.
I get the following error in lightroom 3.2, trying to export a raw photo to WordPress 3.1.
An Internal Error has Occurred:
?:0: attempt to index a nil value
I have all the plugin setting at default, apart from the site URL and user/password.
Do you have any ideas as to why I’m getting this?
Hi Garry,
Did you test your user/password with the test button ?
If it still happens after validating your password, send me the log file (see FAQ).
Luc
Add another vote for making this a publish service!
I recently had the thought of putting a nggallery of “hero images” as a slideshow on the front page of my site so I’d love to be able to easily manage this from right in LR as a publish service. Not to mention updating any other galleries.
Not sure how easily this could be done though to allow for modifying an existing gallery (thinking that deleting or updating would be the tough ones).
Still, this plug-in has saved me a ton of time and effort already and I’ve only made light use of it, many thanks!
Awesome plugin. Worked great with no issues. The only thing I found was that it did not upload images into a gallery that already exists. Is this possible and I am just doing something wrong?
Thanks again.
Hi Darrin,
you can upload pictures to an existing gallery (I do it on my site, with the ‘Export with previous…’ command in LR). Just make sure to create the post/page only once (if applicable).
If you get an error, send me your log file.
Luc
Same problem as Gary above.
Mac. 10.6.4 | LR 3.2 | RAW 6.2
XML-RPC enabled, u&p triple-checked, using admin account
Help! I’d love to get this method working – it seems wonderfully streamlined.
Log dump:
2010-11-10 14:01:41 -0800, ERROR http error mt.supportedMethods: 501 : unimplemented
2010-11-10 14:01:41 -0800, DEBUG UploadTask.testConnection: num_methods 0
2010-11-10 14:01:45 -0800, ERROR http error wp.getUsersBlogs: 501 : unimplemented
2010-11-10 14:01:59 -0800, ERROR http error mt.supportedMethods: 501 : unimplemented
2010-11-10 14:01:59 -0800, DEBUG UploadTask.testConnection: num_methods 0
2010-11-10 14:02:01 -0800, ERROR http error wp.getUsersBlogs: 501 : unimplemented
2010-11-10 14:03:35 -0800, ERROR http error mt.supportedMethods: 501 : unimplemented
2010-11-10 14:03:35 -0800, DEBUG UploadTask.testConnection: num_methods 0
2010-11-10 14:03:37 -0800, ERROR http error wp.getUsersBlogs: 501 : unimplemented
2010-11-10 14:04:28 -0800, ERROR http error mt.supportedMethods: 501 : unimplemented
2010-11-10 14:04:28 -0800, DEBUG UploadTask.testConnection: num_methods 0
2010-11-10 14:04:31 -0800, ERROR http error wp.getUsersBlogs: 501 : unimplemented
2010-11-10 14:07:38 -0800, TRACE Dossier de Presse plugin: start – version 3 0 9
2010-11-10 14:07:39 -0800, ERROR http error mt.supportedMethods: 501 : unimplemented
2010-11-10 14:07:39 -0800, DEBUG supportedMethods 0
2010-11-10 14:07:39 -0800, DEBUG http method:
ngg.installed
2010-11-10 14:07:39 -0800, ERROR http error ngg.installed: 501 : unimplemented
2010-11-10 14:07:39 -0800, ERROR http error: 501 : unimplemented
Hi Jim,
XMLRPC might be enabled, but it’s not functioning at all. Last time I saw something like that was either with an old version on PHP or an old version of NextGen. Make sure you have PHP5 and not an old PHP4…
luc
Hi Luc.
Hope to get this working, it would be great. Sadly I have the same problem others had before: Vista 64bit, LR 2.0, WP & Nextgen freshly installed.
Connection and Credential tests are fine, when trying to export:
An Internal Error has Occurred:
?:0: attempt to index a nil value
NextGen’s dashboard tells me:
* Betriebssystem : FreeBSD (64 Bit)
* Server : Apache/2.2.15 (Unix) mod_ssl/2.2.15 OpenSSL/1.0.0a mod_bwlimited/1.4 mod_perl/2.0.4 Perl/v5.8.9
* Speicherverbrauch : 30.57 MByte
* MySQL Version : 5.0.90
* SQL Modus : Nicht gesetzt
* PHP Version : 5.2.13
* PHP Safe Mode : Aus
* PHP Allow URL fopen : An
* PHP Memory Limit : 128M
* PHP Max Upload Größe : 10M
* PHP Max Post Größe : 16M
* PCRE Backtracking Limit : 500000
* PHP Max Script Execute Time : 30s
* PHP Exif Modul : Ja ( V1.4 )
* PHP IPTC Modul : Ja
* PHP XML Modul : Ja
Your plugins logfile:
11/14/2010 14:00:57 TRACE Dossier de Presse plugin: start – version 3 0 9
11/14/2010 14:00:58 DEBUG supportedMethods 1
11/14/2010 14:00:58 DEBUG Found the created gallery 1 Standard
11/14/2010 14:00:59 DEBUG FILE C:\Users\Jan\AppData\Local\Temp\E22E77CA-F46D-46AD-92AF-01E08F9540D2\DSC_5691.jpg DSC_5691.jpg
11/14/2010 14:05:16 TRACE Dossier de Presse plugin: start – version 3 0 9
11/14/2010 14:05:17 DEBUG supportedMethods 1
11/14/2010 14:05:17 DEBUG Found the created gallery 1 Standard
11/14/2010 14:05:18 DEBUG FILE C:\Users\Jan\AppData\Local\Temp\C6CADEB3-9166-4ACB-9631-F15BB7464748\DSC_5691.jpg DSC_5691.jpg
11/14/2010 14:09:29 TRACE Dossier de Presse plugin: start – version 3 0 9
11/14/2010 14:09:35 DEBUG supportedMethods 1
11/14/2010 14:09:35 DEBUG http method:
ngg.installed
11/14/2010 14:09:35 DEBUG http post result:
version1.6.2
11/14/2010 14:09:35 DEBUG Return ngg.installed: 1.6.2
11/14/2010 14:09:36 ERROR xmlrpc error newGallery 500 Sorry, could not create the gallery
11/14/2010 14:09:36 DEBUG newGallery found (1.6.x) table: 000000000B879F90
11/14/2010 14:09:36 DEBUG Found the created gallery table: 000000000B879F90 Standard
11/14/2010 14:09:37 DEBUG FILE C:\Users\Jan\AppData\Local\Temp\E3B975A9-FB61-4A6D-B34D-91849CC11E60\DSC_5691.jpg DSC_5691.jpg
11/14/2010 14:11:24 TRACE Dossier de Presse plugin: start – version 3 0 9
11/14/2010 14:11:26 DEBUG supportedMethods 1
11/14/2010 14:11:26 DEBUG http method:
ngg.installed
11/14/2010 14:11:27 DEBUG http post result:
version1.6.2
11/14/2010 14:11:27 DEBUG Return ngg.installed: 1.6.2
11/14/2010 14:11:27 ERROR xmlrpc error newGallery 500 Sorry, could not create the gallery
11/14/2010 14:11:27 DEBUG newGallery found (1.6.x) table: 0000000022F59B50
11/14/2010 14:11:27 DEBUG Found the created gallery table: 0000000022F59B50 Standard
11/14/2010 14:11:28 DEBUG FILE C:\Users\Jan\AppData\Local\Temp\38112BC3-9959-494D-A5F0-5DE59D1C308D\DSC_5691.jpg DSC_5691.jpg
Any idea?
Hello
I am having a hard time figuring out why my nextgen gallery won’t work my wordpress blog. I followed your directions up above. When I test the connection with my user name and password everything works Connection OK. So I know thats not the problem but i keep receiving this message when trying to export?
An internal error has occurred. bad argument #1 to ‘match’ (string expected, got nil)
Unable to Export: An internal error has occurred: bad argument #1 to ‘match’ (string expected, got nil)
If you can help me with this i’d greatly appreciate it thanks in advance.
Send log file (see FAQ)
luc
Hi its me again i just want to make sure i got your email address right so i can send you my log file. Is it lakephoto@dot.org I’m confused on that? Thanks
it’s ” luc at lakephoto dot org “
Ok just sent the log file once again thanks for taking the time to respond and help me with this issue i truly appreciate it.
Rup,
Based on the log file, NextGen is NOT installed on your server, or not properly installed. Make sure to install the latest version and a decently modern version of PHP (v5.xx).
Luc
[...] also found the Dossier de Presse Plugin, that allows you to export from Lightroom directly to your blog, but I found that method more [...]
I get the following error when trying to export:
An internal error has occurred: ?:0: attempt to index field ‘?’ (a nil value)
Log from my previous post:
2011-02-01 14:11:28 -0500, TRACE Dossier de Presse plugin: start – version 3 0 10
2011-02-01 14:11:29 -0500, DEBUG supportedMethods 1
2011-02-01 14:11:30 -0500, DEBUG Return ngg.installed: 1.7.3
2011-02-01 14:11:30 -0500, DEBUG getGalleries> looking for forestlawn
2011-02-01 14:11:31 -0500, DEBUG newGallery found (1.7.x) 7
2011-02-01 14:11:31 -0500, DEBUG Found the created gallery 7 forestlawn
2011-02-01 14:11:37 -0500, DEBUG FILE /var/folders/Y1/Y1UEbcKAEMCF-fjZc4lOwU+++TI/-Tmp-/6C62E449-4EA6-4FD7-BEEF-CF994F91C17A/IMG_9951_HDR.jpg IMG_9951_HDR.jpg
2011-02-01 14:11:38 -0500, ERROR http error ng_uploadImage: 500 : internal server error
Hi Greg,
It looks like your web server didn’t like the upload. It usually means that there’s some restrictions on your server for the the upload (like directory write permissions, file size limitation, …). Can you check your upload directory in your NextGen setup (Gallery path). Some other ideas are mentioned in the FAQ section.
Things to try:
– upload a tiny picture (few hundred KBs) from Lightroom
– upload a large picture using directly nextgen web interface
Let me know how it goes…
Luc
I’ve been happily using the plugin for a while and am now not able to upload. I’ve browsed the log file and it says it cannot find the gallery, but the plugin is creating the gallery on my site. I can see the gallery with NG Gallery manager and can add images to it via Next Gen…
2011-02-04 08:43:00 -0500, ERROR Cannot find the gallery 0 cats
I have the latest updates to all software.
Thanks in advance for your advice.
Hi Jeff,
If it used to work, something changed. Any ideas what ?
Please email me the whole log file (see FAQ).
Luc
For the record, it looks like the latest version (v10) should solve the problem.
[...] dem Lightroom-Plugin von Luc Renambot lassen sich LR-Webgalerien direkt in WordPress hochladen 11.02.2011 | Tags: relaunch, website | [...]
Many thanks for your great plugin!
I’m using it to publish new pictures on my nextgen gallery.
It would be really usefull if I can launch a post export process (like modifying some Exif tags with an external application) before exporting to NextGen Gallery.
This feature is available on regular Export tab, it would be usefull to also have it on Dossier de Presse.
Many thanks !
Hi Martin,
I might be wrong here, but I don’t think it’s possible, since my plugin “is” the post-export process. And that’s why Adobe introduced the “Post-Process Actions” tab in the export panel. These are run after the rendering of the pictures and before they are passed to the actual export plugins. I use ‘LR Mogrify’ for instance from Timothy Armes, and Jeffrey Friedl has a few of those too (he calls them ‘Export Add-Ons’ or ‘Export Filter’): the ‘Metadata Wrangler’ might be of your interest if you’re interested to modify some exif tags.
Great plugin. Just what I was looking for.
Some bugs with me though:
- All the “<" signs dissapear in my post on wordpress. So none of the image links are working, because the html is not correct. If i manually add all the "<", than the code is correct. This happens with all my three blogs, wich are all the latest wordpress installations.
- I can use an option where the plugin creates a gallery with the post, but where I can still adjust the title and the tekst. Now it seems that when you sellect 'use custom content', there is no gallery created for the post. I've got a theme that I use as portfolio, and for a new portfolio-post, i have to make a post with no tekst or no links in it, but only with a gallery linked to the post….
If there is a way this can be fixed, or you can tell me what I'm doing wrong, I would be happy to donate!
Grtz,
D.
Hi D.
cheers,
Luc
Just checked. I have the latest version, and if I use custom content it doesn’t automaticly creates an gallery with thet post. The pictures is addes with the media library, but there is no gallery.
Also the
a href>img>/a>
a href>img>/a>
…
here you can find my log. http://www.driesrengle.be/log/DossierDePresse.log
I know there are a lot of errors in the log, Every time I tried a new blog, I forgot to enable the xmlrpc.
But the last upload had no errors, but still my same problem…
Hi Dries,
As a test, try not to use UTF-8 (unicode) characters (stick the non-accent characters) in the filenames (and elsewhere, like post content, title, …). I think there might be an issue there. Lightroom supports it, but other pieces of software on the way to the web-server might not.
Let me know if that works this way. In the mean time, I’m looking at enabling UTF-8 characters.
Luc
Hello Luc,
Thanks for writing this excellent plugin. It makes my life much easier!
I run several blogs, and some use NextGen, and some simply use the Media library in WordPress.
Is it possible to install your plugin more than once, so I can have separate configurations for different blogs? I tried copying the plugin using a different name for the folder, but Lightroom only allows one to be active at a time.
Thanks,
Jeff
Hi Jeff,
Use only one installation of the plugin, but create presets. Once you filled all the boxes for one blog, save it as a preset (see the box on the left of the export settings). I use this since I have a work blog, a photo blog, and a couple of test setups. You shouldn’t have to input your URL and account settings after that.
Luc
Ahhh! Presets – I didn’t know you could do that with Plugins. That opens up whole new worlds :)
Thank you Luc!
Hi Luc
First thank you for this wonderful plugin. :)
Every time I set the size lager than the 630, that is the size my images has in by post, I get this error:
An internal error has occurred: ?:0: attempt to index field ‘?’ (a nil value)
A’m using NextGen and I’m normally uploading my picture in 900 x (xxx), and insert them to my blogpost as 630, so when you click on my image you get a 900 x (xxx) image shown. (Hope you understand otherwise take a look on my blog og ask). :)
Hi Catarina,
Maybe there’s a limit on the upload size on your server… If you go to your wordpress page, and click on ‘Gallery and ‘Overview’ you should see a panel called ‘Server Settings’: it lists the settings of your web server. My server upload is 10M for instance. Can you copy the text and send it to me.
Also you can send me the log file of the plugin, called ‘DossierDePresse.log’ in your ‘Documents’ folder.
And make sure to tun the latest version of my plugin. It’s v10 right now.
Luc
Thanks for your quick replay. :)
When I upload – without using your plugin, there is no problem. Then I can upload my image with the resolution of 900 px ad 72 dpi, without no problems, its only when I use the plugin, I gen the error, unless I change the size to the post image size witch is 630 I dont get the error. I don’t have a Gallery and Overview, because I don’t have a gallery, I’m so fare only using the plugin, to upload photos to my blog and then put them into my posts. :)
I’m confused now: you said you use NectGen. You should have a ‘Gallery’ tab inside your WordPress management page.
Your webserver or your PHP installation might have some limits in the upload size. In the FAQ section:
——
-> 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)
——
Luc
Hello Luc,
A small bug to mention. After creating a new instance of the plugin (uploading to a new website), I entered incorrect admin credentials. The Test Connection passed, but was followed by the cryptic error message “An internal error has occurred: ?:0: attempt to index field ‘?’ (a nil value)”.
I found out two things by reading the error log.
1. XMLRPC was not turned on in WP.
2. I had the wrong used/pass configured.
Just thought you should know. Thanks again for an EXCELLENT piece of software.
Hi Jeff,
you’re right : error handling is not the best right now ;-)
Luc
[...] directly to WordPress Gallery or NexGEN Gallery. For those of you interested, you can find it here. I must warn you however, I did run into some difficulty getting my gallery thumbnails to display [...]
You might want to change the test connection to check that the user/credentials actually have a role of administrator – otherwise there are a lot of permission denied errors that pop up in the logs and things won’t work and it isn’t very clear to non technical people what the deal is.
It uploads the blog post & uploads the Nexgen gallery but the blog post says it can not find the gallery. When I edit the post it has this code [nggallery id=gallery_id template=caption] so I’m thinking it’s a naming problem? Can you help guide me.
Thanks
Ok I sort of figured it out. It’s a “content /custom content” issue. Can you not write your post from Lightroom?
The post is not published, it is left in draft mode inside WordPress. The idea is that the plugin creates the template of the post for you, and you can go and edit (i.e. write) the content in WordPress.
Luc
Morning,
Trying to install your plugin but the install is failing.
I’ve downloaded the latest version (v10) and am trying to install using the zip file. I go to the plugins page and select to add a new plugin and provide the path to the zip file.
I get the following output on screen:
————————————–
Installing Plugin from uploaded file: dossier-de-presse-10.lrplugin.zip
Unpacking the package…
Installing the plugin…
Plugin installed successfully.
Activate Plugin | Return to Plugins page
—————————————
I then select to activate the plugin after which I get this screen:
—————————————
The plugin does not have a valid header.
—————————————
When I check my plugins page nothing has been installed or activated.
Many thanks in advance for any help you can provide.
I’m using WP version 3.1.3.
Adam
It’s a Lightroom plugin, not a WordPress plugin.
Luc! You are a god for this lvoely plugin!
Quick question regarding WordPress galleries:
Currently, the plugin inserts the gallery images one by one, but does not use the WordPress gallery shortcode- i.e.
[gallery link="file"], for example.It would be great to update to this format if possible? Or, whenever I select ‘Custom content’ and input the gallery shortcode as above, no images are attached to the post itself, but they are uploaded to the WP media library.
Anyway, I hope this makes sense.
Thanks again.
I have just downloaded your plugin and it is fantasic!! You have saved me so much work, all my photos I want to publish are in smart collections.
Thanks again
Kate Lionis
I have just downloaded your plugin and it is fantasic!! You have saved me so much work
It looks like NextGEN v.1.8.x broke the API. Give me a few days to check the issue.
Any luck? I’d love to download this plugin as soon as it’s fixed!
Hi Bec,
Try v11 now.
Luc
Thanks for the quick reply! When I try to activate the plugin I get the message “The plugin does not have a valid header”. I tried to upload it through wordpress and also manually through my FTP server. Neither worked. Any ideas?
You know, it’s not a WordPress plugin, it’s a Lightroom plugin.
Ha! I knew that, I installed it earlier this week into Lightroom with no problems. I’m not sure where I got the idea to install it into wordpress too. Sigh, just me being slightly scatterbrained with too many things to do – thanks for your patience.
[...] в произвольный WordPress блог. В общем рекомендую: “Dossier de Presse” plugin Как пользоваться написано на странице плагина. Но [...]
Hey Luc,
I just want to thank you, this plugin is amazing..
It saves me a lot of valubale time..
Keep on the good work :)
Thanks!
I am getting a similar error to one mentioned above:
An internal error has occurred: ?:0: attempt to index field ‘?’ (a nil value)
This error message appears after a successful connection test. Actual uploading of images does not generate any error messages but nothing is actually uploaded.
I have been using earlier versions of WordpPress, NextGen and Dossier de Presse on the same site without a problem. This has only happened since updating to WordPress 3.2.1, NextGen 1.8 and Dossier de Press 11.
Hi Jeff,
Can you send your log file ?
thanks.
Luc
Doh! Looked at the log – bad password.
I’d changed it temporarily to allow another support team access. All OK now. Sorry for the false alarm.
I run a website for my local photo club. We have a gallery for members images, 1 per member. I have been asked to look into letting the members upload directly from Lightroom. After some searching I have found your Plugin and installed it to my copy of LR2.
I am having trouble getting it to work. I am getting this error when I test connection and when I try to export: Unable to Export. An internal error has occured: Access to undefined global: result.
What should the blog path be? The path to our site, http://www.oursite.com/xmlrpc.php or should it be the path to the individual gallery.
Can any one give me some help please. Kind regards,
Paul
Awesome effort. Thanks Luc. Buy you a beer next time you are in Harare.
Error i’m getting
bad argument #1 to ‘openUrlInBrowser’ (string expected, got nil)
This is probably caused by an earlier error. Send me your log file for support (see FAQ)
Hi,
I tested DDP and it looks very interesting, but I would like to use wordpress as a photoblog engine, not a gallery engine .
It did not seem to be possible to autopublish an article by linking to an image uploaded in the WP-library with a custom field (called “thumb” in my case). I would after use TimThumb to generate the wanted sized.
Is this feature planned?
Thanks
Hi,
I’m not sure I understand the problem. You can upload your pictures in wp library, and then edit your post in wordpress.
I know that this will be something that I am doing wrong but I can’t figure it out and I sooooo want to use this plugin.
Error log below help very much appreciated
**** Error 1
This plug-in’s post-processing task did not finish successfully.
Error Domain=NSXMLParserErrorDomain Code=26 UserInfo=0x12fe6bea0 “Line 15: Entity ‘raquo’ not defined
”
**** Error 2
This plug-in’s post-processing task did not finish successfully.
?:0: attempt to index field ‘?’ (a nil value)
**** Error 3
This plug-in’s post-processing task did not finish successfully.
?:0: attempt to index field ‘?’ (a nil value)
**** Error 4
This plug-in’s post-processing task did not finish successfully.
bad argument #1 to ‘pairs’ (table expected, got nil)
**** Error 5
This plug-in’s post-processing task did not finish successfully.
?:0: attempt to index field ‘?’ (a nil value)
**** Error 6
This plug-in’s post-processing task did not finish successfully.
?:0: attempt to index field ‘?’ (a nil value)
**** Error 7
This plug-in’s post-processing task did not finish successfully.
?:0: attempt to index field ‘?’ (a nil value)
Make sure you run the latest version and then send me your log file (see FAQ).
This has been fixed. User error.
I have check that this is the latest version (V11 24-06-2011) and the log file is shown below, this is the only log file that I can locate, if this is not the right one can you please infoorm me where to locate
Thank you for your time
Regards
Paul
Plug-in error log for plug-in at: /Users/PAUL/Library/Application Support/Adobe/Lightroom/Plugins/dossier-de-presse-11.lrplugin
**** Error 1
This plug-in’s post-processing task did not finish successfully.
Error Domain=NSXMLParserErrorDomain Code=26 UserInfo=0x12fe6bea0 “Line 15: Entity ‘raquo’ not defined
”
**** Error 2
This plug-in’s post-processing task did not finish successfully.
?:0: attempt to index field ‘?’ (a nil value)
**** Error 3
This plug-in’s post-processing task did not finish successfully.
?:0: attempt to index field ‘?’ (a nil value)
**** Error 4
This plug-in’s post-processing task did not finish successfully.
bad argument #1 to ‘pairs’ (table expected, got nil)
**** Error 5
This plug-in’s post-processing task did not finish successfully.
?:0: attempt to index field ‘?’ (a nil value)
**** Error 6
This plug-in’s post-processing task did not finish successfully.
?:0: attempt to index field ‘?’ (a nil value)
**** Error 7
This plug-in’s post-processing task did not finish successfully.
?:0: attempt to index field ‘?’ (a nil value)
**** Error 8
This plug-in’s post-processing task did not finish successfully.
?:0: attempt to index field ‘?’ (a nil value)
In FAQ:
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.
Hi Luc,
I’m facing the same problems as highlighted by Steve below. May I know what’s wrong with it or do I need to change some settings somewhere?
September 23, 2010 at 12:27 pm · Reply
Just downloaded and installed the latest version and I’m receiving the error message “An internal error has occured: Only one top level element is allowed in an XML document” on each and every export attempt.
Using –
Lightroom V2.7 64 bit
Wordpress V3.0.1
NEXTgen V1.6.2
Hope this is just me being a NOOB to this plugin; so want to use this as I replace G2 on my site and migrate to NEXTgen.
Steve
First make sure you’re up to date with software versions: for instance, WordPress and NextGen are outdated.
Then, make sure the URL your provide to the plugin is correct (If your blog is at the page “http://example.com/journal”, the correct URL is “http://example.com/journal/xmlrpc.php”)
Then test your credentials with the provided button.
Then send me your log file if it still fails (see FAQ)
Luc
Still can’t get the upload to work even with updated versions and no errors with connection plus credentials. I’ve already sent you the log file for your reference. Thanks.
Kelvin
It seems to fail during the upload of the image to the web server. It could be various things, but most probably something misconfigured on your web server (user not allowed to upload, upload directory not created, … see FAQ). See the log file of your web server if you can.
Also, try to upload a small image as a test (like 640×480 JPEG). Sometimes, servers have low limits.
Luc
So it seems! It truly was due to the file size! One last question..does the export plugin support html tags in the post content section?
Kelvin
The text box content is transmitted as-is, so html tags should be maintained. However, that box is not the most convenient place to edit a post. I would advise to leave the default entry as it is and edit the content of the post inside WordPress. That’s what I do for my own blog.
luc
Excellent. Thanks again Luc.
Kelvin
Hi Luc,
It’s a great plugin. I like it a lot. I’ve used it to upload more than 1000 photos to my blog. Thank you.
Are you planning on supporting UTF-8 in the plugin soon?
I have some photos with the Caption field filled with Chinese. They show up in my NextGen gallery with both the title and the caption fields set. However, the content in the title field are not encoded/decoded correctly. So I have to manually paste the content in the caption field to the title field every time.
I have to look more closely at the UTF-8 support in WP and NextGen. My understanding right now is that the captions and titles should work in UTF. What doesn’t work is if the gallery name contains UTF because that’s used to create a directory on the server, and then it’s all confused. As a temporary measure, use ASCII-7 for filenames and gallery names (you can change them later in wordpress web interface). But titles and captions should already work (i believe I tried with french, japanese and korean characters).
Is that what you observed ?
Luc
Just when I decide to re-launch our project website and decide to check again if someone had enough pity with all of us and created a LR plugin for nggallery – it turns out someone has! :)
Big thanks! Will install and test during the next days.
And while we depend on donations ourselves to get our ecovillage project up and running – if this thingy works, at least a symbolic contribution will show up in your paypal account
cheers
Martin
Update: after some testing I have decided to switch to the NextGEN Gallery Export plugin from alloyphoto.com
Why: mainly because I really need the ability to post to existing galleries and on the other hand do not need the possiblity of automatically creating posts…
So: different animal. Everybody happy. ;-)
Hi,
I have the same question/suggestion as Stefan (see below). Is there any word on this?
Also, the options “Automatically generated gallery” and Automatically generated list” seem to produce the same result. What is the difference supposed to be?
BTW: Great work!
Stefan said:
Quick question regarding WordPress galleries:
Currently, the plugin inserts the gallery images one by one, but does not use the WordPress gallery shortcode- i.e. [gallery link="file"], for example.
It would be great to update to this format if possible? Or, whenever I select ‘Custom content’ and input the gallery shortcode as above, no images are attached to the post itself, but they are uploaded to the WP media library.
1 – Adding the “[gallery link...]” should be easy. I never really bother because WordPress has basically only one big gallery with everything in it. If you use even only a few images, I’d recommend adding NextGen in your site, it’s much easier. You can create a default gallery (like WordPress) but also a gallery per theme or event or work…
2 – “Automatically generated gallery” vs. “Automatically generated list” : this is mostly relevant to NextGen, where the presentation is really different between a gallery and a bunch of photos (in NextGen, you can create as many galleries as you want, and organize your work).
Luc
Luc,
Yes, adding [gallery link...] is easy but I would like to be able to get to Very Easy! ;-)
I could get much closer if the gallery tag were included or at least if the Custom option actually attached the images to the post, then I could keep my custom content ([gallery]). I think this would be vary valuable to myself and others.
Cheers,
Mike
I meant easy for me to add…
Excellent!
Thank you Luc.
Lightroom 3.4.1
Wordpress 3.2.1
URL is definitely not the problem.
2011-09-29 12:36:12 +0100, ERROR http error mt.supportedMethods: 503 : service unavailable
2011-09-29 12:36:12 +0100, DEBUG UploadTask.testConnection: num_methods 0
2011-09-29 12:36:14 +0100, ERROR http error wp.getUsersBlogs: 503 : service unavailable
Maybe be not the URL, but probably your web server.
Is there anyway to find out the problem?
Did you enable XMLRPC on your website ?
What is the URL you used ?
Luc
http://richardlee.co.uk
I’ve enabled it. I’ve tried it in normal and maintenance mode. I’ve tried different variations of the URL also
I can’t test if your site is in maintenance mode.
If wordpress in your site is at: http://mysite.com then the URL should be http://mysite.com/xmlrpc.php
If wordpress in your site is at: http://toto.mysite.com/myblog then the URL should be http://toto.mysite.com/myblog/xmlrpc.php
Luc
My site is http://richardlee.co.uk
I’ve tried it using http://richardlee.co.uk/xmlrpc.php but it does not work. I’ve tried other variations with no success..
I have deactivated the maintenance mode, for you to test.
There are only two plugins out there that do this same application. I am more than willing to donate for your efforts if this works. The other plugin by the other author is less appealing as it is not actively up to date.
Regards
Rich
Seems to be working, I played around with the permissions of the file
Hello
I have just installed your plugin on my Lightroom 3.4.1 ‘Windows version’.
I have WordPress 3.2.1 with XMLRPC activated on a dedicated server => http://christophelesage.com/xmlrpc.php
I installed the plugin in LR (directory copy), selected a picture, clicked on EXPORT then i filled some fields ..
URL BLOG : http://christophelesage.com/xmlrpc.php
My user and password
and i click on test connection
Error message: Le caractère > manquait dans l’élément de fin. (The ‘>’ char is missing in the ending element)
Of course same error if i click EXPORT button …
any help possible ? :)
Hi Christophe,
Can you send me your log file (see FAQ) ? It’ll help me to see what’s going on…
Luc
hi
i have the same error.
DossierDePresse.log
12/11/2011 10:10:50 TRACE Dossier de Presse plugin: start – version 3 0 12
err.txt
**** Error 1
La tâche de post-traitement de ce module externe ne s’est pas terminée correctement.
Le caractère > manquait dans l’élément de fin.
WP 3.2.1
DossierDePresse 3.0.12.300000
Thanks
Hi, uploading and post creation works fine for a WordPress gallery post. However, the automatic code generated always puts a “width=250″ within my tag.
I’m not sure why you are filling that in at all, or where that value comes from. I am using this as simply as is possible, just to send 1 image to a post and write about it.
If I can make a long-term suggestion you should make your own “shortcodes” for use in the “post content” text area. That way I can write my post, and where I put something like then you will automatically insert the proper link. Seems easy for a single image although more complicated for multiple ones.
it stripped out 2 spots I put ..img.. html codes
There’s no short code expansion. It’s either automatic post or the text you provide. I would recommend you use automatic post and then go fiddle with the post in the web interface. The post is not published anyway, which means you have to go there to approve the post.
Shortocde expansion is on the roadmap…
luc
Thanks, I just don’t want my image wrapped as a link or the width defined, hopefully that will be possible in the future.
Love the plugin – thank you so much for making it available.
I am unable to use Nextgen, so I’m using the standard WordPress Gallery / Media library. I would love to see the standard meta data fill in the tite, caption, description. I don’t have minimize meta data checked.
Any advice?
preserving meta data from LR helps. I want to update the source Images in just one place if possible.
thank you
I’ll check next week, when I have a bit of time.
luc
[...] sich ein Plugin an! Ich habe 2 Plugins gefunden, die sich für diese Aufgabe eignen: 1. Dossier de presse für WordPress zusammen mit NextGen Gallery dieses Lightroom Plugin arbeitet mit dem Wp-Plugin: [...]
Hello Luc,
I’m having some difficulties exporting images to my blog. the export itself works fine, but I can’t get the pictures to be bigger than 300x … px. This happens even though I enter 2000x2000px as max with 150px/inch in the export dialogue.
Can you help me solving this issue?
if you get 300px pictures, you’re using a very old version. Download the latest one (v.11 by now).
Luc
[...] Screenshot oben) .Export Zusatzmodul Dossier de PresseDas kostenlos herunterladbare Zusatzmodul Dossier de Presse von Luc Renambot funktioniert auch problemlos, bietet aber im Vergleich zu den beiden anderen [...]
I keep getting this error..any ideas?? :)bad argument #1 to ‘match’ (string expected, got nil)
so sorry figured it out… was export in to wrong gallery :)