Does anyone know if galleryremote will be added to gallery 3?
It has come in extremely handy in connecting my iphoto images to my gallery 2.3 instance (through a number of different third-party apps/plugins). I especially love that I can edit titles and descriptions in iphoto and those carry over right to my site. Saves oodles of time.
thanks,
Scott
Posts: 16504
Can't promise anything, but eventually I'm guessing someone will do this as it seems pretty popular.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here
Posts: 58
I wrote an iPhoto plugin based on the iPhotoToGallery plugin to upload iPhoto's photos to Gallery 3.
It can be downloaded from here http://github.com/lescoste/iphototogallery3/downloads
Posts: 54
OK, this is awesome. Thanks for putting this together!
notes:
1) To install, put inside the "plugins" directory inside of iphoto
2) You have to remove "iPhotoToGallery.iPhotoExporter" if that's in there as it makes iPhoto crash when you try to export with this new gallery3 exporter
3) You can't use quotes in the description when exporting - gives an error "1001"
4) Titles and comments don't seem to be exporting and it uses the image name as title instead of the title put into iphoto
Otherwise, works great! Exactly what I need. Thank you.
Posts: 58
Glad you like it.
I will have a look for the title and image description.
When you says "You can't use quotes in the description when exporting - gives an error "1001""
you are talking about the new album description ?
Also you can put the plugin inside the "~/Library/Application Support/iPhoto/Plugins" folder.
Posts: 58
I posted a new version on http://github.com/lescoste/iphototogallery3/downloads that fixes 2 bugs see http://github.com/lescoste/iphototogallery3/issues
Posts: 54
Great improvement! Titles go now and quotes can be used. Thanks for this great plugin - just what I needed.
If I might put in a feature request: is it at all possible to export any Faces that iPhoto has captured (the people's names) and have those names go into gallery 3 as a tag?
So, if I had "Scott Nath" in a photo in iPhoto, when your exporter sends the picture to Gallery 3, the photo online has a tag "Scott Nath".
thanks again, this is great.
Posts: 58
Good idea i will see if i can add it.
Posts: 337
I copied the folder to the written path (I manually created the last two folders: iPhoto/Plugins) as they were not existed. However, I don't see the function in my iPhoto. I have already looked at Share menu as well as the export window, both don't have any option to export to Gallery 3. Am I missing something?
Posts: 58
You have to restart iPhoto to see the plugin.
Instructions :
To install it, you need to :
1) decompress the zip file
2) if you have installed the iPhotoToGallery for gallery 2 , then delete it : iPhotoToGallery.iPhotoExporter in /Applications/iPhoto/Contents/Plugins/
3) important : quit iPhoto
4) copy the "iPhotoToGallery3.iPhotoExporter" folder to the "~/Library/Application Support/iPhoto/Plugins" folder. If this folder doesn't exist then create it.
5) Launch iPhoto, select some photos then goto menu "File" -> "Export" : there will be a tab named "Gallery3"
Posts: 337
I have already restarted iPhoto many times. However, there is no tab in the export window other than the original ones that built in iPhoto (File Export, Web Page, Quick Time and Slideshow). Any thoughts :S?
Posts: 58
1) You can try to put the plugin in the iPhoto plugin dir /Applications/iPhoto/Contents/Plugins/
2) check your iPhoto version : I only tried with iPhoto 09 (version 8.1.2)
3) post the logs found in the /Applications/Utilities/Console : only post the logs you found once you start iPhoto until you open the "export" menu.
Posts: 337
Just tried with no hope. Nothing appear in iPhoto export window after restarting.
Mine is the same (8.1.2).
I found those:
Thanks!
Posts: 58
Which version of Mac Os X do you have ? PPC or intel ?
Posts: 337
Intel-based MacBook Pro (mid-2009) with Leopard 10.5.8 installed.
Posts: 58
I uploaded a new version :
2010/09/21 version 0.3
- allows to have the Gallery plugin for version 1 and 2 from Zach Wily installed together
- when the new album short name is empty, it fills it with a timestamp
- faster album list loading
- should also run on Mac OsX 10.5
http://github.com/lescoste/iphototogallery3/downloads
Posts: 337
I see it now, thanks! However, everytime I try to use it I get 'Unknown Error: 1001' after (fetching albums) stage.
Posts: 58
Ok, but to see what is wrong, I need you to post the logs found in the console.
Posts: 337
Posts: 58
I see.
You have to activate the REST module in the admin of your gallery.
The plugin needs it to talk to the gallery server.
REST API Module 3 A REST-based API that allows desktop clients and other apps to interact with Gallery 3
Posts: 337
It's already activated. I actually had to activate it for the Organize module to work.
Posts: 337
By the way, the plugin didn't ask for my user REST key.
Posts: 58
The plugin get the REST key by login in with the user/password you provided.
And that is exactly what you see in the console log :
iPhoto[5737] logged in :requestkey =....
The plugin successfully logged in and tried to get your key. but the REST url responded with a login page again.
May be your username/password is wrong ?
Posts: 337
Hmm.. my username is in Arabic. Could that be a problem? (i.e. the plugin doesn't encoded it properly)
Posts: 337
Nope. I've just tried to make a test user using Ascii characters but it doesn't work also. By the way, the fact that the error appears after 'fetching albums' status message doesn't confirm that the plugin could successfully logging in?
Posts: 58
The plugin could not log in. The console log shows the response obtained for the login request and it doesn't look like a rest key.
The response is the login page.
I will add some code in the plugin to show the right error.
Another user cannot login either.
I have to make sure the plugin I uploaded is ok.
I will post when a debug friendly version is available.
Posts: 337
I understand. Thanks for your time, lescoste.
Posts: 58
I uploaded a new zip same as version 0.3 with more debug info.
Try it and post the logs you found in the Console.
to let you know, I also have a iMac G5 with Mac os X 10.5. I tried the plugin on it and it worked well.
Posts: 337
Now the error shown in the export window is: Could not connect to the gallery.
From the console:
Don't see any difference :S
Posts: 58
There is another user that have a similar pb but with osx 10.6 .
I will solve his pb first and then come back for you after .
Posts: 337
No problem. Take your time, and thanks for your effort
Posts: 58
Can you try this version : it is exactly the same version as 0.2 but compiled for 10.5
http://github.com/downloads/lescoste/iphototogallery3/iPhotoToGallery3.iPhotoExporter-10.5-0.2.2.zip
And tell me if it works ?
Posts: 337
Sorry for the delay. Unfortunately, the same 'Unknown Error: 1001' error message appears with it
By the way, I see the same error in the console (٢٣/٩/٢٠١٠ ٤:١٤:٢٢ م iPhoto[19586] logged in :requestkey = !DOCTYPE html PUBLIC... etc).
Posts: 58
Well I really think it is a configuration problem of your gallery server.
Either the REST api is not activated or is not at the URL http://****.com/gallery/index.php/rest
So please check your configuration and try again. May be try the REST api with another tool to see if it works.
I don't know what i can do more. I tested this zip on a 10.5 imac and it worked.
Sorry.
Posts: 58
There is a REST php client here :
http://codex.gallery2.org/Gallery3:API:REST#Client_libraries
You should try it.
Posts: 337
How can I use it?
Posts: 6
Hi lescoste!
Thanks so much for building this plug-in.
In my case, it logs in, but it tends to crash a lot -- after it creates a new album, and then after it uploads a single photo. Seems like the plug-in can do one thing, and then it bombs on me.
I'm using OS X 10.6.4 / iPhoto 8.1.2 / Gallery 3.0 / PHP 5.2.14 / imagemagick
iPhotoToGallery3 0.3.4
I have options "Export titles and comments" and "Export keywords as tags".
The photos each have one keyword.
Here's the last few entries in console before iPhoto crashed:
Let me know if there's any other information that would help you.
Posts: 58
Hi,
Glad you like it.
You were right I got the same error when trying to upload a photo with a keyword that doesn't exist yet in Gallery.
It is due to a new return code from Gallery3 when creating a new tag.
I fixed it.
You can download a new version now at github : http://github.com/lescoste/iphototogallery3 or soon from macupdate http://www.macupdate.com/info.php/id/35369/iphototogallery3
Tell me if it fixes all your problems.
Lescoste.
Posts: 6
It seems to have done the trick.
Thanks!
Posts: 15
This tool looks promising, but I am having trouble getting it to work.
I have installed it as a plugin for iPhoto 8.1.2 on Mac OSX 10.6.4
The plugin interface show up properly when I select the Export menu in iPhoto.
In the gallery3 section of the export interface I enter the hostname of my server followed by /index.php, my Gallery3 username and password.
In the Advanced options section I checked the "Use SSL" option since my Gallery server is running with https only.
I then get Status: "Could not connect to the gallery"
On the server side, when my connection attempt fails I see the following in my apache2 access log:
"POST /index.php/rest HTTP/1.1" 200 3236
"GET /index.php/admin?reauth_check=1 HTTP/1.1" 200 20
On my Gallery3 server, I have tested the "Available RSS feeds" option which I believe also depends on the REST API and these RSS feeds appear to work properly.
When my connection attempt fails the Mac console reports the message below. I should point out that I have changed the actual hostname and the password before submitting it here. I notice however that the value for username appears to be empty although it shows up in the Plugin's "Edit Gallery List..." interface.
Have you got any suggestion for getting this to work?
Thanks, Doug
10/18/10 2:30:26 PM iPhoto[78387] doLogin: url = https://server.domain.org/index.php/rest
10/18/10 2:30:27 PM iPhoto[78387] doLogin: Wrong request key: !DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<title>
Login </title>
<link rel="shortcut icon" href="/lib/images/favicon.ico" type="image/x-icon" />
<!--[if lte IE 8]>
<link rel="stylesheet" type="text/css" href="/themes/widewind/css/fix-ie.css"
media="screen,print,projection" />
<![endif]-->
<script type="text/javascript">
var MSG_CANCEL = "Cancel";
</script>
<!-- LOOKING FOR YOUR JAVASCRIPT? It's all been combined into the link below -->
<script type="text/javascript" src="/index.php/combined/javascript/bed298986aa104f1b882cb3dad17b616"></script>
<!-- LOOKING FOR YOUR CSS? It's all been combined into the link below -->
<link rel="stylesheet" type="text/css" href="/index.php/combined/css/b43a923c8c8d4b6efdf46f99d2b3f1a8" media="screen,print,projection" />
</head>
<body >
<div id="doc3" class="yui-t5 g-view">
<div id="g-header" class="ui-helper-clearfix">
<div id="g-banner">
<a id="g-logo" class="g-left" href="/index.php/" title="go back to the Gallery home">
<img width="107" height="48" alt="Gallery logo: Your photos on your web site" src="/lib/images/logo.png" />
</a>
<!-- hide the menu until after the page has loaded, to minimize menu flicker -->
<div id="g-site-menu" style="visibility: hidden">
</div>
<script type="text/javascript"> $(document).ready(function() { $("#g-site-menu").css("visibility", "visible"); }) </script>
</div>
</div>
<div id="bd">
<div id="yui-main">
<div class="yui-b">
<div id="g-content" class="yui-g">
<form action="/index.php/login/auth_html" method="post" id="g-login-form" class="g-narrow">
<input type="hidden" name="csrf" value=removed for public display /><input type="hidden" name="continue_url" value="https://server.domain.org/index.php/rest" /> <fieldset>
<legend>Login</legend>
<ul>
<li>
<label for="name" >Username</label>
<input type="text" id="g-username" name="name" class="" value="" />
</li>
<li>
<label for=
<input type=
</li>
<li>
<input type="submit" value="Login" class="submit" />
</li>
</ul>
</fieldset>
</form> </div>
</div>
</div>
<div id="g-sidebar" class="yui-b">
</div>
</div>
<div id="g-footer" class="ui-helper-clearfix">
</div>
</div>
<script src="https://e.cooliris.com/slideshow/v/37732/go.js" type="text/javascript"></script> </body>
</html>
Posts: 58
Hi,
I tested the "Use SSL" option and it works.
The problem seems to be that the REST module is not activated. Because the response to the login rest is the html login page.
Check your REST module activation. And try to organize an album, it requires the REST module.
Posts: 15
The REST API Module is enabled on the Gallery Modules admin page.
the organize function appears to work fine as I am able to rearrange images and albums.
I tested with and without SSL and get the same result.
Any other suggestions?
Is it surprising to you that the Console message does not contain my username?
Posts: 58
The REST api uses HTTP POST requests so you don't see the login/password in the url but in the body, which is not displayed in the log. To see it you need a packet sniffer like wireshark and don't use ssl otherwise it is encrypted.
If you can get the wireshark logs that would be helpfull.
Posts: 15
I ran wireshark on the client machine while attempting to connect. I did see my username in the post. I don't see anything unusual, but I don't really know what to look for.
Posts: 58
If you could send me the wireshark logs , I could may be see what is going on.
Stephane at lescoste dot net
Posts: 54
Does this work with iphoto '11?
Posts: 58
Yes it does.
Posts: 1
Does this work with iPhoto 6 (6.0.6 (322))? The old Gallery2 uploader worked fine, but the latest Gallery3 I'm seeing iphoto crash with the following in the console:
Also, I had to install it in to /Applications/iPhoto/Contents/PlugIns/ instead of ~/Library/Application Support/iPhoto/Plugins/ - it wasn't recognized in that location.
Thanks for any help.
Posts: 58
Sorry but only the last 2 versions of iPhoto are supported : ilife 09 and 11.
Posts: 28
thank you so much for that plugin. i registered here just to say thank you. without your plugin Gallery3 would suck, given there is no java upload applet anymore.
thanks,
Tom
Posts: 58
Thank you for your support.
I'm glad you find it useful.
Stephane.