Lightroom to Gallery Export Plugin

soulreaper

Joined: 2007-11-24
Posts: 5
Posted: Sat, 2007-11-24 11:25

Hi Folks

Following up the published Lightroom to Gallery plugin developed by khans over in this thread: http://gallery.menalto.com/node/68277 i thought i should present my own work to you people. This is not intended to put down khans work, in fact we are discussing our development efforts over at the adobe forums. Competition is good right? :)

And so here is my implementation of a Lightroom to Gallery Export Plugin:

[img]http://moritzpost.de/photography/wp-content/uploads/2007/11/lr-to-gallery5.thumbnail.jpg[/img]

You can find a more detailed description and a download link on the accompanying website: http://moritzpost.de/photography/2007/11/23/lightroom-to-gallery-export-plugin/

Any Feedback is very welcome.

 
ckdake
ckdake's picture

Joined: 2004-02-18
Posts: 2258
Posted: Sat, 2007-11-24 21:06

Thanks! Please add an entry for this to:

http://codex.gallery2.org/Other_Clients

So that people can find it more easily!

____
http://ckdake.com/ - If you found my help useful, please consider donating to Gallery.

 
soulreaper

Joined: 2007-11-24
Posts: 5
Posted: Wed, 2007-11-28 13:06

I have released this project under the GPL as an open source project. https://sourceforge.net/projects/lr-to-gallery/

Please feel free to participate in the development of this Gallery Remote client. :)

@ ckdake
I don't have a wiki account, so feel free to add it to the list to your likings. :)

 
ckdake
ckdake's picture

Joined: 2004-02-18
Posts: 2258
Posted: Wed, 2007-11-28 18:13

Cool. codex page updated. Is this just for Gallery 2 or do you support Gallery 1 as well with it? And have you tested on Windows and Mac?

____
http://ckdake.com/ - If you found my help useful, please consider donating to Gallery.

 
Lapinoo
Lapinoo's picture

Joined: 2004-05-08
Posts: 378
Posted: Wed, 2008-01-16 22:37

I just updated soulreaper's code to be localized in french and to enable the user to chose which LR medata is used to set the image caption.

I've sent the code to soulreaper so I guess he might update the SF project with this new code.

Enjoy !

 
Lapinoo
Lapinoo's picture

Joined: 2004-05-08
Posts: 378
Posted: Wed, 2008-03-12 19:07

Well, I dedicated a page to this plugin which now reached version 1.1.

The page is in french, but you will easily find the download link!

http://www.starway.org/blogs/Photographie/lightroom-vers-gallery

 
geoffmallo

Joined: 2005-12-01
Posts: 2
Posted: Tue, 2008-03-18 13:25

Hey great work,

I'm having problems uploading to a site on SSL. It's a self signed certificate that is installed in the system keychain. I can't get a log in specifying https but when I leave out the protocol it logs in ok, but fails on upload? Any ideas?

I'm not sure what version of the plugin I'm using. I'm not sure where it is to update it. When I try to install 1.1 LR says there are no updates to apply anyway.

Side note: I can upload using the iPhoto plugin ok.

 
Lapinoo
Lapinoo's picture

Joined: 2004-05-08
Posts: 378
Posted: Tue, 2008-03-18 15:36
geoffmallo wrote:
I'm having problems uploading to a site on SSL. It's a self signed certificate that is installed in the system keychain. I can't get a log in specifying https but when I leave out the protocol it logs in ok, but fails on upload? Any ideas?

I'm not sure what version of the plugin I'm using. I'm not sure where it is to update it. When I try to install 1.1 LR says there are no updates to apply anyway.

I did not test the plugin with HTTP over SSL request. In fact I did not check if the LR toolbox supports HTTPS. I'll check it later on tonight or this week.

For the moment, there are only 2 versions :
- Version 1.0 does not display its version number anywhere
- Version 1.1 displays the version number in the last export section item group.
By the way, LR does not check that the modules are up to date when you check for new releases.

 
Triptoph
Triptoph's picture

Joined: 2008-06-08
Posts: 6
Posted: Sun, 2008-06-08 18:35

Firstly, Thank you for spending the time to create this mod, it is the reason I have spent the time to integrate Gallery 2 into my site. I am having some trouble with it and wonder if you might be able to provide some insight:

It worked fine previously, but it now will log in but apparently fail to download the list of albums, as it reports "No Albums Fetched". I'm not sure where the problem is since there isn't much feedback there :) The plugin with the same information, same version of lightroom etc works on my laptop, its just not working on my main computer which has the rather large catalogue I need to work with. So I think this rules server problems out. Is there any way of getting more feedback on what the problem is? Or perhaps you have an idea already?

 
Triptoph
Triptoph's picture

Joined: 2008-06-08
Posts: 6
Posted: Mon, 2008-06-09 01:05

I'm using version 1.1. The log file has been sent via email, thanks!

 
naturalEnquirer

Joined: 2008-06-15
Posts: 52
Posted: Mon, 2008-06-16 20:53

Have you had any success in using this plug in? I also get the message "No albums fetched."

Or have you found another plugin to work with Lightroom and Gallery?

Thanks.

 
Triptoph
Triptoph's picture

Joined: 2008-06-08
Posts: 6
Posted: Mon, 2008-06-16 21:02

Unfortunately no progress yet. I have since given up on my Drupal 6 + Gallery 2.3 SVN setup in favour of creating my own gallery from scratch, due to the number of different problems i was having with Gallery (understandable since at this time 2.3 is a development version only. But there are no other options for working with Druapl 6)

 
Lapinoo
Lapinoo's picture

Joined: 2004-05-08
Posts: 378
Posted: Tue, 2008-06-17 01:47
naturalEnquirer wrote:
Have you had any success in using this plug in? I also get the message "No albums fetched."

Or have you found another plugin to work with Lightroom and Gallery?

Thanks.

Please check that you are using an account with read rights ove the albums. Some users (but not all) who were facing this problem were using an account without the right permissions.

 
naturalEnquirer

Joined: 2008-06-15
Posts: 52
Posted: Thu, 2008-06-19 20:43

Could you be specific what permissions should be set and for which folders and/or files? My \gallery2 folder is set to 755. My data storage folder is set to 700. (I temporarily changed it to 755 and it didn't make any difference.)

 
Lapinoo
Lapinoo's picture

Joined: 2004-05-08
Posts: 378
Posted: Thu, 2008-06-19 21:03
naturalEnquirer wrote:
Could you be specific what permissions should be set and for which folders and/or files? My \gallery2 folder is set to 755. My data storage folder is set to 700. (I temporarily changed it to 755 and it didn't make any difference.)

I meant the Gallery user rights !

I've seen the case where the user created a new user dedicated to LR for uploading pictures. However, this new user had no right to view or modify any album when connected. This user just had to add the correct Gallery permissions to this user.

Are you using an account which has all required rights ? (to be sure, install Gallery Remote on the same machine as LR and test it with the same account).

 
naturalEnquirer

Joined: 2008-06-15
Posts: 52
Posted: Mon, 2008-06-23 15:39

Ok. I had not used Gallery Remote till now and it also has same issue. I'm not very knowledgeable about these things so here are settings I am using in the Gallery Remote interface. Gallery version is 1.51. b36. I also downloaded "current remote applet" and copied files to mentioned directories.

In login, I assume that the username and password are the ones that I have entered on the Site Administration page of Galery2? For directory, I use http://mydomain.com/gallery2/ which is the address I use to see my gallery. When I try to login, I get a 404 Server not found. Am I supposed to log in to a specific album folder?

In case it matters, I am able to use WebDAV and Upload applet without any problems.

Thank you for your help.

 
naturalEnquirer

Joined: 2008-06-15
Posts: 52
Posted: Tue, 2008-06-24 12:52

OK I now have Gallery Remote working as it should by creating a gallery_remote.php in the gallery directory as suggested in Gallery Remote FAQ:

<?php
header("HTTP/1.0 404 Not Found");
exit;
?>

BUT export plugin still will not fetch albums. Perhaps some similar change needs to be made in the plugin?

 
davegod75

Joined: 2008-11-02
Posts: 2
Posted: Sun, 2008-11-02 14:56

Hi,

I cannot get this plugin to work with LR2.1 and Winxp. The plugin won't even load up. When I click on it in the Export dialog I get this erorr, "The plug-in had an internal error while opening the export dialog."

In the plugin manager window it lists this in the log file. "GalleryUploadExportDialogSections.lua:39: attempt to index field "?' (a nil value)

Any ideas?

 
soulreaper

Joined: 2007-11-24
Posts: 5
Posted: Sun, 2008-11-09 14:26

Hi Folks

Good news for all you Lightroom 2.x users. We have just released a new version of the Lightroom to Gallery plugin which solves several issues with the new Lightroom version. You are now able to upload your images directly into your Gallery2 installation form within Lightroom 2.x.

Thanks goes out to all the people who have raised issues about the last release and helped us to straighten out any glitches.

Also we have a new developer amongst our ranks. Lars Heller has provided valuable contributions to this release and we are very happy to welcome him as a new committer. Way to go Lars! :)

The download can be found at the usual place: https://sourceforge.net/projects/lr-to-gallery/

 
Lapinoo
Lapinoo's picture

Joined: 2004-05-08
Posts: 378
Posted: Sun, 2008-11-23 17:50
davegod75 wrote:
Hi,

I cannot get this plugin to work with LR2.1 and Winxp. The plugin won't even load up. When I click on it in the Export dialog I get this erorr, "The plug-in had an internal error while opening the export dialog."

In the plugin manager window it lists this in the log file. "GalleryUploadExportDialogSections.lua:39: attempt to index field "?' (a nil value)

Any ideas?

Yes, the plugin I published for LR 1.x presents a problem with LR 2.x. There have been a few changes in the API since, and a bug appeared.

Try this prerelease of the plugin for LR 2.x, it solves this problem. I still have to fix two small (and nasty) bugs before I re-release the plugin for LR 2.X

Enjoy!

 
tilusnet

Joined: 2008-12-28
Posts: 3
Posted: Mon, 2009-01-05 23:43

Does it work with Gallery 1?

 
Lapinoo
Lapinoo's picture

Joined: 2004-05-08
Posts: 378
Posted: Tue, 2009-01-06 09:56

I never tried but it should since G1 and G2 share the same Gallery Remote API.

I let you try and post the result!

 
ayem

Joined: 2009-01-13
Posts: 1
Posted: Tue, 2009-01-13 09:42

Thanks a lot for your work on that, up till now works fine for me on LR2

 
Lapinoo
Lapinoo's picture

Joined: 2004-05-08
Posts: 378
Posted: Tue, 2009-02-10 07:17

I finally published the new release for my plugin.
New features:
* Fully compliant with Lightroom 2.x SDK.
* Support for Gallery 1.x, Gallery 2.x and Jallery 1.x
* Available in English, French & German.
* Still user defined export of Lightroom metadata to Gallery.

You can find it there: http://www.starway.org/blogs/Photographie/lightroom-gallery/

 
r5gordini

Joined: 2007-05-06
Posts: 6
Posted: Wed, 2009-04-15 19:43

Hi - this is a great plugin and certainly simplifies my photo workflow dramatically. Recently I haven't been updating my gallery because I've not been bothered to export, then upload my photos.

Well done!

However, a couple of issues:

1) I have hundreds of albums and scrolling through these to get to the right one is pretty tedious. Is there a way to speed this up? Could we have an expandable tree?

2) I've had (what looks like) a Windows API error appear a couple of times. Sorry - didn't note it down at the time, so no idea what it was, but next time I'll make sure I do.

Using it with LR 1.3, and Gallery 2.2

Thanks!

Andrew

 
r5gordini

Joined: 2007-05-06
Posts: 6
Posted: Wed, 2009-04-15 19:48

Ahh - the API error occured just now!

An internal error has occurred: Win32 API error (unknown error -- FormatMessageW failed) when calling HttpSendRequest from private_AgHttpClient_post_L

Any ideas?

And, I've just checked - I'm actually using Gallery 2.3

Thanks,

Andrew

 
Lapinoo
Lapinoo's picture

Joined: 2004-05-08
Posts: 378
Posted: Fri, 2009-04-17 11:43

Hello,

I already know this problem. It affects a lot of plugins. It is related to the way the OS handles the HTTP connection. It seams that the problem occurs if more than 30s are required to upload the picture.

I decided to seek Adobe's help on this one since Jeffrey's plugins (Flickr, Picasa, etc.) seam now immune to it.

 
Lapinoo
Lapinoo's picture

Joined: 2004-05-08
Posts: 378
Posted: Fri, 2009-04-17 11:45
r5gordini wrote:
1) I have hundreds of albums and scrolling through these to get to the right one is pretty tedious. Is there a way to speed this up? Could we have an expandable tree?

Thanks a lot for the feedback.

I know this solution is not very convenient for Galleries with 100s of albums. However, the Lightroom SDK does not offer a lot of UI elements to play with. I agree an expandable tree would be perfect, however, it does not exist in the LR SDK. Right now, a dropdown list is the best I can do. If you have a better idea, I'm willing to listen ;)

 
siteqwester

Joined: 2008-04-26
Posts: 9
Posted: Mon, 2009-07-20 13:45

Hello all,
Just upgraded to LR 2.4 and new Vista desktop. after upgrading to Lapinoo's "lightroom2gallery 2.0.0" plugin I now get "no albums fetched. I have 'all access' rights, any ideas or help??? much appreciated. I also tried Soulreaper's lightroom-to-gallery-0.1.3 plugin with same results???

 
pixelmap

Joined: 2007-08-21
Posts: 31
Posted: Sat, 2009-07-25 19:56

Hello Lapinoo:

I've been using your plug-in for some time, and have been delighted with the amount of time it saves me - great work.

Just tried installing the new version, though, and it fails - Lightroom says that it is not installed properly, though it replaced the previous version with the new one. Downgraded back to the old version and all is well, but I wonder what went wrong.

Using it with Lightroom 1.4 on Mac OS 10.4.11.

 
Lapinoo
Lapinoo's picture

Joined: 2004-05-08
Posts: 378
Posted: Mon, 2009-07-27 16:52
siteqwester wrote:
Hello all,
Just upgraded to LR 2.4 and new Vista desktop. after upgrading to Lapinoo's "lightroom2gallery 2.0.0" plugin I now get "no albums fetched. I have 'all access' rights, any ideas or help??? much appreciated. I also tried Soulreaper's lightroom-to-gallery-0.1.3 plugin with same results???

Hum...

This really looks like an access right problem on your Gallery.

Have you tested Gallery Remote on your Gallery with the same credentials?

 
Lapinoo
Lapinoo's picture

Joined: 2004-05-08
Posts: 378
Posted: Mon, 2009-07-27 16:54
pixelmap wrote:
Hello Lapinoo:

I've been using your plug-in for some time, and have been delighted with the amount of time it saves me - great work.

Just tried installing the new version, though, and it fails - Lightroom says that it is not installed properly, though it replaced the previous version with the new one. Downgraded back to the old version and all is well, but I wonder what went wrong.

Using it with Lightroom 1.4 on Mac OS 10.4.11.

Hum...

I may have done a mistake in the current release of the plugin for LR 1.x.

Can you test this one?

 
wardie_j

Joined: 2008-10-17
Posts: 6
Posted: Wed, 2009-10-28 05:32

Hi Lapinoo,

I have just upgraded to 2.0.2 and whenever I try to export I get the below error

Plug-in error log for plug-in at: C:\Program Files\Adobe\Adobe Photoshop Lightroom 2.5\Modules\Gallery.lrplugin

**** Error 1

This plug-in’s post-processing task did not finish successfully.
Expected header 1 'field' sub-item to be a string, not nil

V2.0.1 is working with the same settings

LR2.5
Gallery2.3

 
Lapinoo
Lapinoo's picture

Joined: 2004-05-08
Posts: 378
Posted: Mon, 2009-11-02 17:23

I'll try to have a look at it next week. I'm just back from vacation and my todo list is very long.

Can you send me the complete log file from the plugin (activate the logging feature from the Plugin Manager in LR)?

 
wardie_j

Joined: 2008-10-17
Posts: 6
Posted: Fri, 2009-11-06 02:38

I have enabled Verbose logging and it only gives the below details

Plug-in error log for plug-in at: C:\Program Files\Adobe\Adobe Photoshop Lightroom 2.5\Modules\Gallery.lrplugin

**** Error 1

This plug-in’s post-processing task did not finish successfully.
Expected header 1 'field' sub-item to be a string, not nil.

Regards

Wardie

 
moasat

Joined: 2010-03-02
Posts: 8
Posted: Thu, 2010-03-25 22:24

Hello, I'm trying to use the 2.0.4 version of this plugin with Lightroom 2.6. The plugin is enabled and allows me to login to Gallery (2.3) and retrieves that albums. However, when I hit export, Lighroom tells me its exporting the images but when it finishes, it just tells me that it fails.

I have Verbose logging enabled in the plugin but have not found a single log file related to Lightroom or this plugin. Can someone please let me know where this file is supposed to be?

I have used the Gallery Remote before and that all works fine.

Thanks for any info.

 
moasat

Joined: 2010-03-02
Posts: 8
Posted: Thu, 2010-03-25 22:31

Oops, nevermind. The problem was my upload file size limit in php. It got set back to 2M.

 
Lapinoo
Lapinoo's picture

Joined: 2004-05-08
Posts: 378
Posted: Fri, 2010-03-26 10:57

Yes, this is disturbing.

I cannot warm the user in LR since I think, no error message is thrown back so that I can tell the user that the PHP limit size has raised the issue.

 
lexthoonen

Joined: 2006-11-21
Posts: 40
Posted: Sun, 2010-04-18 12:44

I've got LR 2.5, and when I go to plugin manager, I see Gallery2 Upload "Installed and Running" (and 'Enabled').

However, when I go to export I see nothing, or when I go to "web", or in fact wherever I looked.

I am probably missing something, or something is missing...

Where should I see the plugin?

Thanks!

 
Lapinoo
Lapinoo's picture

Joined: 2004-05-08
Posts: 378
Posted: Mon, 2010-04-19 11:55

If the plugin is "Enabled", and "Up & Running", everything is fine.

Go to export, and choose the plugin in the upper right corner. After, you can create a preset so that your Gallery export is quicker to access to.

 
lexthoonen

Joined: 2006-11-21
Posts: 40
Posted: Mon, 2010-04-19 20:18

Been using Lightroom for years and never knew about that. Thanks! (You see? I *was* missing something!)

 
robjkentjr

Joined: 2010-08-18
Posts: 6
Posted: Wed, 2010-08-18 15:29

Has anyone been able to get this to work with Gallery 3.0?

Using LR3 and Gallery 3RC2

 
Lapinoo
Lapinoo's picture

Joined: 2004-05-08
Posts: 378
Posted: Sun, 2010-08-22 11:07

Gallery 3 will be using a different protocol to be manipulated through a third party software.

The plugin is not (yet) compatible with this protocol.

 
lexthoonen

Joined: 2006-11-21
Posts: 40
Posted: Sun, 2010-11-07 17:37

That's a shame... Do you think it ever will?
(missing it after upgrading lightroom)

 
Lapinoo
Lapinoo's picture

Joined: 2004-05-08
Posts: 378
Posted: Mon, 2010-11-29 08:34

The plugin is working fine with LR 2/3 - Gallery 1/2
It's just G3 that is not supported yet.