Adobe Lightroom to Gallery?

kwai

Joined: 2005-04-14
Posts: 2
Posted: Mon, 2007-08-20 19:05

Is anyone working on this? I'm evaluating both Lightroom and Apple's Apperture, and like lightroom better... but publish heavily to gallery and would love a plug in. Especially one which supported stacks. Could be some money offered ;;)
Thanks
Kwai

 
pixelmap

Joined: 2007-08-21
Posts: 31
Posted: Tue, 2007-08-21 16:47

I would like to second this; I'm currently using Lightroom, and loving it, and also publish heavily to gallery. At the moment, my convuluted workflow is to export from Lightroom to iPhoto, upload to Gallery with the iPhototoGallery plug-in, and then delete the photos in iPhoto.

A direct Lightroom - Gallery combination would be amazing.

 
ameme

Joined: 2007-10-03
Posts: 3
Posted: Wed, 2007-10-03 14:11

"Lightroom to iPhoto" is good idea, but one direct Lightroom is more cooler. Thanks.

--------
home software review

 
Nebular

Joined: 2003-02-02
Posts: 8
Posted: Thu, 2007-10-04 22:49

I also agree that a Lightroom --> Gallery2 plugin would be handy. But the question is, who out there knows Adobe well enough to do that? I wonder if a CS3 plugin would also work in Lightroom?

 
Lapinoo
Lapinoo's picture

Joined: 2004-05-08
Posts: 378
Posted: Mon, 2007-10-08 10:20

I would like too to manage my Gallery online albums from tools such as Lightroom or ACDSee.

In addition to export photos to Gallery albums, what would especially be cool would be to update what is already on-line :
- Add a new photo from a LR collection to a Gallery album.
- Update a picture in Gallery because you have improved its development or edited keywords, texts, and so on.

 
awdesign

Joined: 2004-07-14
Posts: 2
Posted: Sun, 2007-10-28 19:56

I can pay for this plug-in. Please let me now if someone has this.

 
fweeee

Joined: 2006-12-16
Posts: 46
Posted: Mon, 2007-10-29 06:39

Well, this should not be all that hard. Maybe a little time consuming, but not that difficult.

Lightroom keeps its data in SQLite, so it should just be a matter of writing a script or program to read this database and upload the files as appropriate. This is what I did to add upload functionally from Adobe Photoshop Elements 5. (Added functionality to an existing project - Pix2Gallery2).

Of course, this is only easy if you know how to program, and understand relational databases.

I wouldnt know where to start with writing a plug-in (for Lightroom) however.

 
kingstog

Joined: 2007-10-08
Posts: 13
Posted: Thu, 2007-11-15 01:29

There is finally a handy solution apparently. Picturesync can upload your pictures, I say apparently as I can't get it to work on my machine (mac osx 10.4). Hopefully this will help someone running windows.

 
verseguru

Joined: 2005-10-21
Posts: 4
Posted: Thu, 2007-11-15 08:46

Could you let me know (Help>Send Feedback) what it is that you can't seem to get working? Do check that you're running the latest version, and if in doubt, enter the full URL to your gallery installation e.g. example.com/gallery2/main.php

 
carl_

Joined: 2004-07-19
Posts: 18
Posted: Fri, 2007-11-16 13:37

I think todays news about the Lightroom SDK preview would make this a lot easier to implement!

http://photoshopnews.com/2007/11/16/adobe-posts-lightroom-13-export-sdk/

In the SDK preview it's already working examples of exporting to ftp and flickr (if I read correctly)
So hopefully, that would not be to hard to tweak a gallery2 version. Unfortenatly I'm not skilled enough to do that.
But hopefully, some other people are :)

 
khans

Joined: 2006-10-20
Posts: 32
Posted: Sat, 2007-11-17 06:00

I'm going to give this a stab this weekend. The Lightroom SDK is all Lua based.

-shehryar
(author of the Aperture to Gallery plug-in)

 
carl_

Joined: 2004-07-19
Posts: 18
Posted: Sat, 2007-11-17 16:28
khans wrote:
I'm going to give this a stab this weekend. The Lightroom SDK is all Lua based.

-shehryar
(author of the Aperture to Gallery plug-in)

Great! Please give an update here if you need any testing or something..

 
khans

Joined: 2006-10-20
Posts: 32
Posted: Mon, 2007-11-19 09:03

Just a quick heads up for everybody.

I'm making good progress on the lightroom plug-in. Login and fetching albums is working already. Working on the upload of images now - hoping to get that done in the next couple of days.

Here's a sneak peak.

[img]http://www.ubermind.com/~khans/lightroomtogallery.jpg[/img]

If you're interested in beta testing it please send an email to support at ubermind dot com.

thanks!

 
khans

Joined: 2006-10-20
Posts: 32
Posted: Tue, 2007-11-20 19:54

more progress.

uploading of images to gallery now works (with captions / titles from Lightroom).

now working on the album selector so that the user can choose which album the images should be added to.

stay tuned.

 
talmdal

Joined: 2006-12-06
Posts: 358
Posted: Tue, 2007-11-20 22:37

Please let me know when you have something working, I would be interested

Thanks

 
khans

Joined: 2006-10-20
Posts: 32
Posted: Thu, 2007-11-22 17:05

ok - initial beta version (0.5) is up.

available here:

http://www.ubermind.com/products/lightroomtogallery.php

I'm in the process of creating a Mac OS X Installer package and a NSIS based installer for Windows. But for now, installing the plug-in requires copying it to one of two locations on your computer.

On Windows: C:\Program Files\Adobe\Adobe Photoshop Lightroom 1.3/
On Mac OS X: /Library/Application Support/Adobe/Lightroom/Modules/

enjoy :-)

-shehryar

 
carl_

Joined: 2004-07-19
Posts: 18
Posted: Thu, 2007-11-22 19:44

Wow, my first impression: this works very well already! Really apreciate your efforts here!
The only main thing I miss is ability to create album within the plugin interface..
(It might be difficult to understand how to swith to the plugin for the first time in the export dialog, maybe worth to mention to click the top area named "Export Files to Disk")

Thanks again

 
kingstog

Joined: 2007-10-08
Posts: 13
Posted: Thu, 2007-11-22 19:55

Hi, I can't get it to log in, when I put in the path, username and password and hit login it just says loggin in.... and stays like that. Any ideas? I'm running lightroom 1.3 on mac os 10.4 and gallery2 on Apache.

 
carl_

Joined: 2004-07-19
Posts: 18
Posted: Thu, 2007-11-22 19:57

be sure to use the correct url to the gallery, including http:// in the beginning, eg:
http://yourdomain.com/gallery2/

 
kingstog

Joined: 2007-10-08
Posts: 13
Posted: Thu, 2007-11-22 20:22

Wow that was a speedy response, thanks!
The gallery I was trying to access was installed in the root folder on the server, tried it on another install and it works great! Even solved a problem I had where colours were becoming faded when rendered by imagemagick :)
One other thing though, is there a way to create a new album from the plugin? I understand this is a first release beta, just wondering if I'm missing it (It's late).

 
kingstog

Joined: 2007-10-08
Posts: 13
Posted: Thu, 2007-11-22 20:36

Sorry, scratch that last question, I see you asked it earlier. It's late, I'm tired and excited. Bad mix for concentration. Just had a look at khans' website and the Aperture to Gallery plugin has everything you'd need, I would imagine this will be the same when finished. As a wedding photographer I was uploading massive amounts of photographs to the web as plain html pages for years and only discovered gallery recently. I can customise it, there's ecommerce plugins, password protection and now this plugin really is the icing on the cake. Cheers khans :)

 
khans

Joined: 2006-10-20
Posts: 32
Posted: Thu, 2007-11-22 23:17

Thanks guys. Appreciate the kind words.

There's a bug in this version where validation doesn't catch invalid gallery urls properly. It'll try to connect and when it fails it just sits there with the "logging in" message. Kingstog - I suspect that's the problem you ran into.

Here's a list of requested features so far (please post here and / or send me your feedback so that I can refine / prioritize this list)

- add support for creating albums from within the plug-in interface
- OS X installer package
- NSIS based Windows installer
- add a screencast showing how to use the plug-in
- add FAQ question / answer about how to get to the plug-in panel (by clicking on the top area etc.)
- improve handling of permissions (can add item and can add sub album etc.)

thanks!

 
khans

Joined: 2006-10-20
Posts: 32
Posted: Thu, 2007-11-22 23:46

Here's a quick and easy way to take it for a spin

[install]

- download and install the 30 day trial version of lightroom (http://www.adobe.com/products/photoshoplightroom/)
- download and install the trial version of VMWare Fusion (http://www.vmware.com/products/fusion/)
- or the free WMWare Player for Windows or Linux
- download and play the Gallery VMWare appliance (http://www.rpath.org/rbuilder/project/gallery/release?id=5524)
- download and install the Lightroom to Gallery plug-in

[use]

- choose a few photos in lightroom
- right click Export -> Export...
- choose Gallery from the export popup menu (by clicking on the area where it says Export Files to Disk)
- click on Log In
- enter gallery url (of the form http://<hostname>/gallery2), "admin" and "password" in the Gallery Login panel
- this will cause the Album popup to populate - choose an album in that popup menu
- click on the "Export" button

happy thanksgiving :-)

 
ianmacd66

Joined: 2007-11-25
Posts: 1
Posted: Sun, 2007-11-25 23:59

Thanks for putting together the Lightroom plugin.

I think I've run into a problem exporting certain photos with it though. When trying to export large dimension panoramic images an error dialog is displayed with the message "An internal error has occurred: Win32 API error (unknown error -- FormatMessageW failed) when calling HttpSendRequest from private_AgHttpClient_post_L". Are there any internal restrictions to the size or dimensions of the images when using the Gallery plugin?

Cheers,

-- Ian

 
khans

Joined: 2006-10-20
Posts: 32
Posted: Mon, 2007-11-26 05:03

A likely cause for this is because PHP enforces a size limitation for data uploads (usually 2 MB) which may be preventing your image from being sent to your Gallery installation. This size limitation can be adjusted by editing the php settings in your php.ini file. For more details, go here:

http://www.php.net/manual/en/features.file-upload.common-pitfalls.php

thanks!

 
hemsoe

Joined: 2004-09-09
Posts: 38
Posted: Mon, 2007-11-26 11:10

Hi...

Ihave a problem with one of my galleries... when the plugin fetches the album list i halt's..

I have 5K+ items..Anyone with large galleries...???

/Hemsoe

 
Lapinoo
Lapinoo's picture

Joined: 2004-05-08
Posts: 378
Posted: Sun, 2007-12-02 16:12

The plugin is working great. I face two problems :
- If URL / credentials are incorrect, the plugin never returns (problem already known)
- My Gallery has albums containing "é", "&" and other special characters. Thoses are replaced by the HTML espaced chars or other values.

I would like to see the possibily to update/replace pictures already uploaded especially when better treatments were done.

The plugin could localized. I may help for the FR release.

 
tedora

Joined: 2007-12-13
Posts: 1
Posted: Thu, 2007-12-13 09:29

I can not tell you how excited I am about what you have created, thank you....
Once it is up and running fully, I will send you a contribution for your work. You have just saved me so much time and hassle in my work it's fantastic. Thank you!

 
adamsjd

Joined: 2005-04-02
Posts: 21
Posted: Sun, 2008-01-06 02:50
hemsoe wrote:
Hi...
I have a problem with one of my galleries... when the plugin fetches the album list i halt's..
I have 5K+ items..Anyone with large galleries...???
/Hemsoe

I'm having this same problem. I succesfully log in, then it hangs on the fetching of the albums.

 
Lapinoo
Lapinoo's picture

Joined: 2004-05-08
Posts: 378
Posted: Sun, 2008-01-06 10:49

There is another implementation of a LR export plugin to Gallery.

http://sourceforge.net/projects/lr-to-gallery/

This one is better.

 
Lapinoo
Lapinoo's picture

Joined: 2004-05-08
Posts: 378
Posted: Mon, 2008-02-11 12:19

Well, since the project on SF (lr 2 gallery) does not seam to have anymore activity, I decided to post my own plugin which now contains some fixes plus the FR translation.

It can be found here: http://www.starway.org/blogs/Photographie/lightroom-vers-gallery

The page is in french, but I'm sure you will find the download link! Have fun and don't hesitate to notify me of any bug.

 
carl_

Joined: 2004-07-19
Posts: 18
Posted: Mon, 2008-02-11 14:29
Lapinoo wrote:
Well, since the project on SF (lr 2 gallery) does not seam to have anymore activity, I decided to post my own plugin which now contains some fixes plus the FR translation.

Thanks a million! I don't know what was implemented or not in the original, but this version seemes perfect so far! Album creation, correct display of characters etc. Really apreciated!

 
Lapinoo
Lapinoo's picture

Joined: 2004-05-08
Posts: 378
Posted: Mon, 2008-02-11 14:46
carl_ wrote:
Thanks a million! I don't know what was implemented or not in the original, but this version seemes perfect so far! Album creation, correct display of characters etc. Really apreciated!

Thanks! I'm glad someone finds it useful! :)

 
Lapinoo
Lapinoo's picture

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

I just updated my module to version 1.1.

Enhancements and bug fixes :
- Editable log level
- Special characters in usernames and passwords via a rewrite of the way Gallery Remote was called.
- German translation

Don't hesitate to notify me with any bug!

The module is still available at this french (sorry) page:
http://www.starway.org/blogs/Photographie/lightroom-vers-gallery

 
thomaabi
thomaabi's picture

Joined: 2008-03-03
Posts: 10
Posted: Thu, 2008-04-17 03:05

Just started using it. Fantastic! Quick question: How do I examine the log?

-=|=- abish
www.abishphotodesign.com

 
Lapinoo
Lapinoo's picture

Joined: 2004-05-08
Posts: 378
Posted: Thu, 2008-04-17 09:00

The log file is a text file written in the "My Documents" (Windows) or "Home" (Mac OS X) directory.

It contains mainly debug information I may request when a user describes a problem with the plugin.

For the end user, this file is useless.

 
nemloc

Joined: 2005-11-25
Posts: 23
Posted: Thu, 2008-05-08 16:27

I seem to be having intermittent success with the plugin exporting out of LR. I'm using LR 1.3.1 on a Mac running Leopard 10.5.2 and exporting to Gallery 2.2.4. I have gotten it to work a couple of times, usually with single photo exports. The issue is usually that it works on a fresh reboot but then doesn't on subsequent exports in the same session. Rebooting usually does the trick.
Any ideas about this one? I'm including the log snippet of where the export hangs in LR and isn't even able to be cancelled. When it fails, the log file always shows the last three lines listed below no matter if I try to upload one or more images and which ones they are or to which album.

Thanks for any help you can provide.

Log:

2008-05-08 08:59:42 -0700, TRACE	Calling GalleryUploadExportDialogSections.sectionsForTopOfDialog( f, properties )
2008-05-08 08:59:42 -0700, TRACE	Calling GalleryUploadExportDialogSections.sectionsForBottomOfDialog( f, properties )
2008-05-08 08:59:44 -0700, TRACE	Calling GalleryRemoteProtocol.isRemoteProtocolEnabled( mydomainname.com )
2008-05-08 08:59:44 -0700, TRACE	Calling GalleryRemoteProtocol.getGalleryRemoteURL( http://www.mydomainname.com/ )
2008-05-08 08:59:44 -0700, TRACE	Calling GalleryRemoteProtocol.getGalleryURL( http://www.mydomainname.com/ )
2008-05-08 08:59:46 -0700, TRACE	Calling GalleryRemoteProtocol.parseGalleryResponse( Raw Message )
2008-05-08 08:59:46 -0700, TRACE	Calling GalleryRemoteProtocol.login( mydomainname.com )
2008-05-08 08:59:46 -0700, TRACE	Calling GalleryRemoteProtocol.getGalleryRemoteURL( http://www.mydomainname.com/ )
2008-05-08 08:59:46 -0700, TRACE	Calling GalleryRemoteProtocol.getGalleryURL( http://www.mydomainname.com/ )
2008-05-08 08:59:47 -0700, TRACE	Calling GalleryRemoteProtocol.parseGalleryResponse( Raw Message )
2008-05-08 08:59:47 -0700, TRACE	Calling GalleryRemoteProtocol.getAlbumList( mydomainname.com )
2008-05-08 08:59:47 -0700, TRACE	Calling GalleryRemoteProtocol.getGalleryRemoteURL( http://www.mydomainname.com/ )
2008-05-08 08:59:47 -0700, TRACE	Calling GalleryRemoteProtocol.getGalleryURL( http://www.mydomainname.com/ )
2008-05-08 08:59:48 -0700, TRACE	Calling GalleryRemoteProtocol.parseGalleryResponse( Raw Message )
2008-05-08 08:59:48 -0700, TRACE	Calling buildAlbumItems( properties, albumList )
2008-05-08 08:59:48 -0700, TRACE	Calling attachChildren( properties, albumList, 4,  )
2008-05-08 08:59:48 -0700, TRACE	Calling attachChildren( properties, albumList, 1,   |   )
2008-05-08 08:59:48 -0700, TRACE	Calling attachChildren( properties, albumList, 2,   |    |   )
2008-05-08 08:59:48 -0700, TRACE	Calling attachChildren( properties, albumList, 3,   |    |   )
2008-05-08 08:59:50 -0700, TRACE	Calling updateAlbumSelectionStatus( properties )
2008-05-08 08:59:53 -0700, TRACE	Calling GalleryUploadTask.processRenderedPhotos( functionContext, exportContext )
2008-05-08 08:59:54 -0700, TRACE	Calling GalleryRemoteProtocol.uploadImage( mydomainname.com, 86, /var/folders/fN/fNtigK7yGlCUyQGkTYKhUU+++TI/-Tmp-/E97C947F-7A39-4AD6-A60A-CA1F523A7D40/DSC_8708.jpg, DSC_8708.jpg )
2008-05-08 08:59:54 -0700, TRACE	Calling GalleryRemoteProtocol.getGalleryRemoteURL( http://www.mydomainname.com/ )
2008-05-08 08:59:54 -0700, TRACE	Calling GalleryRemoteProtocol.getGalleryURL( http://www.mydomainname.com/ )
 
nemloc

Joined: 2005-11-25
Posts: 23
Posted: Fri, 2008-05-09 14:17

I did some more testing and it seems to behave like an auth token timeout issue. Meaning the first time I try to upload after not making any attempts or browsing to the gallery, it works fine and I get to upload. If I try it again right afterwards, it fails and just sits there at the same point as the above log.

Is there any kind of plugin caching that is happening in Lightroom?
Is there any kind of Gallery Remote protocol log that I can enable and look at server side?
Any other suggestions?

 
talmdal

Joined: 2006-12-06
Posts: 358
Posted: Fri, 2008-05-09 14:52

You might have stumbled on a bug that is related this one: https://sourceforge.net/tracker/index.php?func=detail&aid=1564288&group_id=7130&atid=107130. Any detail you can add to that bug about recreating it would be very helpful.

 
Lapinoo
Lapinoo's picture

Joined: 2004-05-08
Posts: 378
Posted: Sun, 2008-05-11 21:18

Nemloc, your problem is very weird...

Did you run the latest release of the plugin (v1.1 in which I rewrote most of the HTTP code, especially the one for the login request) in the most verbose mode?

 
nemloc

Joined: 2005-11-25
Posts: 23
Posted: Mon, 2008-05-12 14:01

Yes, I'm using the latest version. I further debugged it to hanging inside the LrHttp.postMultipart function of Lightroom. When it succeeds, the function returns, when it hangs that function just never returns. It seems to be sending the correct request at all times. Is there any way to verify what the server is receiving and what the server is doing about it? Are there any settings on the hosting server that would affects how often or how much I can upload? I checked my php sizelimit and it seemed fine.
This photos end up at around 1mb jpg each and usually smaller. The first time I connect and upload it doesn't matter what I upload and it very often works. The subsequent times with multiple items just hangs. My host is dreamhost.com.

Is there an open gallery that I can test uploading with the plugin to? I want to try to figure out if it's my client or my server that has the issue.
Is there any other info on the server that can help me debug?

 
kkirts

Joined: 2008-05-12
Posts: 1
Posted: Mon, 2008-05-12 20:32

This plugin is great! I am using it with LR 1.3 and am thinking of upgrading LR to 1.4. Is this plugin working with 1.4?

Thanks again!

 
nemloc

Joined: 2005-11-25
Posts: 23
Posted: Tue, 2008-05-13 01:57

Update: I have my windows laptop and my mac side by side on the same network connecting to the same gallery. Both running Lightroom 1.3.1. The windows box has no problem exporting to gallery in any combination of number of images and repeats. The mac still mostly hangs the export task in Lightroom.

EDIT: also tried it with LR 1.4.1 on the Mac. Same behavior. :(

Is anyone using this plugin on a Mac? is there anything that needs to be done as far as openning up security or cookie behavior for this to work reliably on the mac?

 
Lapinoo
Lapinoo's picture

Joined: 2004-05-08
Posts: 378
Posted: Tue, 2008-05-13 09:39

Yes, it is working with LR 1.x (I'm now using it with LR 1.4.1) and also with LR 2.0 Beta 1

 
Lapinoo
Lapinoo's picture

Joined: 2004-05-08
Posts: 378
Posted: Tue, 2008-05-13 10:00

Nemloc,

This reminds me of a TCP / HTTP timeout problem. I've seen such a problem with the Flickr plugin used on Windows. When large pictures were sent to flickr, the LrHTTP POST method received a socket error because Flickr did not respond soon enough.

The test was easy to do : try with small pictures and then with large ones. At some point, it's going to fail.

The solution was to change a timeout value in the Windows Registry. Maybe it is a similar problem on Mac OS X.

By the way, I know other users of this plugin on Mac OS X.

Can you retry with small pictures (less than 100kB files)?

 
nemloc

Joined: 2005-11-25
Posts: 23
Posted: Wed, 2008-05-14 05:03

Retried with smaller pics (~30k) but had the same behavior. First export after a reboot works, and than following attempts fail with the task just hanging. The Lightroom task bar in the top left just never completes and goes away. Tracing through the log the LrHttp::Postmultipart call just doesn't return it seems. (the trace after the call never gets called when it hangs)
Any thoughts or ways to further debug?

 
Lapinoo
Lapinoo's picture

Joined: 2004-05-08
Posts: 378
Posted: Wed, 2008-05-14 06:00

Can you try to upload pictures with your mac to Flickr using Jeff Friedl's plugin ? (http://regex.info/blog/photo-tech/lightroom-flickr/)

I'd like to know if the problem is specific to the Gallery plugin or also appears on the Flickr plugin.

 
nemloc

Joined: 2005-11-25
Posts: 23
Posted: Wed, 2008-05-14 14:46

Just tried the flickr plugin you linked and it worked without any issues. I tried single images, multiple images, small (~30k), large (~5meg), and repeats. All worked. I than tried the gallery export and it failed exactly the same as before, just hanging the task. Lightroom is still functional but that task just sits there not doing anything. No network traffic is taking place, etc.

thoughts?

 
nemloc

Joined: 2005-11-25
Posts: 23
Posted: Sat, 2008-05-17 04:04

Ran some more tests with both the Ubermind beta plugin for gallery and Lapinoo's one, lightroom 1.3.1 & 1.4.1:
works fine on Vista on my laptop from home or work
hangs on second and multi photo uploads on my mac pro (multiproc/multicore/10gb ram)
hangs on second and multi photo uploads on wife's iMac (single proc/multicore/3gb ram)
hangs on second and multi photo uploads on friend's mac pro (multiproc/multicore/3 gb ram/older generation)

Tests conducted using 50k, 1meg, and 5 meg images as well as jpg and NEF files starting photos. No difference. :(

All of these tests were to my site which is hosted by dreamhost.com. Is there a gallery site that I would be able to upload photos to test to? (ie: open site, or free trial of host gallery 2 somewhere, or an account on someone's site)

I'm running out of options for making this work on my mac which is really a shame. It always hangs in the LrHttp:postmultipart call to gallery which doesn't return. (no errors or anything) The flicker plugin works just fine in all scenarios.

any help would really be appreciated.

 
Infern_0

Joined: 2007-04-10
Posts: 2
Posted: Fri, 2008-09-26 13:06

Tested with LR 2.1 and gallery 2.26 on MacOS 10.5 works perfect!

The only thing I do is make the albums in Gallery itself, since I cannot find how to make subalbums.

 
davegod75

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

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?