Gallery2Export iPhoto Plugin


Joined: 2005-06-16
Posts: 2
Posted: Thu, 2005-06-16 01:53

So I don't know if anyone really cares about this, but I did, so... :)

I've modified CopperExport (which is based on FlickrExport) to allow it to connect with Gallery2. Now it is called Gallery2Export.
It works exactly like CopperExport, it allows you to title/tag/describe your images, and select an album to publish them in (or to create a new album to publish them in).
The keywords are grabbed from iPhoto, but the remote call doesn't allow them to be used (? There is not an option for keywords as far as I can tell).

It's available at

If nobody cares about this, that's cool, I really wanted it and was tired of waiting. :) But I do hope at least someone else might find it useful.

If anyone has any improvements to submit, just let me know. I don't actually "know" Objective-C... so this is what I made by reading the code a bunch and figuring it out. String parsing was the worst. Mabe an hour and a half for new album creation and file upload, and many many hours for string parsing. Oh well.

Let me know what you think. Except if you are going to say 'it sucks' because I don't care ;)

nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Thu, 2005-06-16 02:46

I don't use iPhoto, so I won't be trying this out. But, how well does your diy AC unit work?

I know that setup is terribly ineffecient from an engineering standpoint, but for the few days of summer it's actually uncomfortable here, it would be nice. I guess for ~$20 of materials I can always try it.


Joined: 2005-06-16
Posts: 2
Posted: Thu, 2005-06-16 03:51

It isn't good for cooling a room, that is for sure. BUT it does work fairly well for keeping ME cool.
It takes some ice (frozen bottle of water) in the water, but it keeps me cool even when my room is 80+.
It's good enough for the $15 it cost me.
While I would love something better, it will due. :) haha
But yeah, it is really ineffecient.

nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Thu, 2005-06-16 04:00

note: I took the discussion offline with a PM.

bharat's picture

Joined: 2002-05-21
Posts: 7994
Posted: Sat, 2005-08-13 13:39

I haven't tried this, but I noticed that we now link to it in the User Contributions section of the codex. Thanks!


Joined: 2006-03-26
Posts: 1
Posted: Sun, 2006-03-26 20:49

I compiled a version of this for Intel Macs (and thus only Tiger and iPhoto 6). Works great. I take no other credit than the recompile; I stand on the shoulders of giants. :-)


Joined: 2005-12-02
Posts: 41
Posted: Thu, 2006-06-08 04:31

Getting a "http error 403: forbidden" error when I try to export.

turned on gallery logging and it seems like its not actually being connected to at all, as the log shows nothing.
Although, apache log does show the hit.

[08/Jun/2006:00:13:24 -0400] "POST /main.php?g2_controller=remote:GalleryRemote&g2_form[cmd]=login HTTP/1.1" 403 - "-" "CFNetwork/129.16"


Joined: 2005-09-30
Posts: 3
Posted: Sat, 2006-06-10 03:33

I have the same problem


Joined: 2006-09-16
Posts: 6
Posted: Sat, 2006-09-16 23:58

I'm brand-new to Gallery, I'm using Gallery 2 module in Xoops. I installed the iPhoto plugin, and when I enter the URL where I want to upload the photos, which I chmod to 777, I get a HTTP error 403: forbidden when I tried to access it. What else do I need to do?

DamienA's picture

Joined: 2003-05-25
Posts: 203
Posted: Mon, 2006-11-13 09:24

This worked well for me for iPhoto 6.0.5 on an Intel Mac, after I followed the fix posted by halh below ( Wish the author would update it so that the steps below are not necessary...

For those of you that can’t get the plugin to showup in iPhoto… Do this…

Browse to /Applications
Right click on iPhoto
Choose “Show Package Contents”
Double click the “Contents” folder
Double click the “Plugins” folder
Scroll down until you find the “Gallery2Export.iPhotoExporter.plugin” icon
Right click on said icon
Choose “Get Info”
In the “Name & Extension” field, remove the ‘.plugin’ extension, leaving the rest of the name intact
Close the “Get Info” window
Accept the question about changing the name
Open iPhoto
Click File -> Export -> Gallery2


Joined: 2003-10-10
Posts: 2
Posted: Tue, 2007-01-02 15:33

If you get an Error 403, see if mod_sec is installed on the server. The apache logs would show something like this:

[Tue Jan 02 10:11:58 2007] [error] [client 999.999.999.999] mod_security: Access denied with code 403. Error processing request body
: Multipart: invalid boundary encountered: --FB282D3E-CCE0-4348-B337-B3F541AD3C15-12876-0000128E12D57D33\\n [severity "EMERGENCY"]
 [hostname ""] [uri "/photos/main.php?g2_controller=remote:GalleryRemote&g2_form[cmd]=login"]

I have not played around with mod_sec to correct this error yet.

When I tried to use the plugin it crashes when trying to log in. I am using gallery 2.1 and iPhoto 6.0.5 (316) on a G5 Dual 2.7. Any way around this?

Find Mac Stuff quickly and easily


Joined: 2003-12-31
Posts: 8
Posted: Fri, 2007-09-28 12:41

I've got all my pics in gallery and want them in iphoto as the store. Will this work with exporting from gallery 1 ro iphoto?