Aditya Mooley
|
 |
« on: April 19, 2005, 07:24:37 am » |
|
To satisfy the demand of desktop client writers we have hacked a Remote Access API for Coppermine 1.4.x which is very loosely modeled on the Flickr API (in terms of responses etc). Currently only two methods have been implemented to #1 Upload a picture #2 Get Category and Album list with IDs A PHP client is provided as an example for the devs BUT it is expected that we will soon see desktop clients which can post to pictures directly to your Coppermine install Read the README to get started  [Edit] We have released a new version with some minor bug fixes. [/Edit] [Edit April 20, 2006] Version 0.4 There was a bug in the debugging module of API. It is now fixed in this version. [/Edit] [Edit April 18, 2006] More changes: Version 0.3 * Allows normal users to upload photos. Reads the User Galleries properly while listing the categories and albums. * User uploads respects the quotas allocated to them. [/Edit]
|
|
|
|
« Last Edit: April 20, 2006, 11:53:56 am by Aditya Mooley »
|
Logged
|
|
|
|
willdenniss
Contributor
  
Gender: 
Posts: 9
Gallery Mage author
|
 |
« Reply #1 on: April 20, 2005, 04:30:58 am » |
|
Thanks for adding this feature, I can see how it works and it is certainly possible to utilise this in Gallery Mage. Before I commit the time to adding this feature, are there plans to add information about these tools in the Coppermine documentation? I'm willing to author some text if that is all that's needed. I ask because currently there are few Gallery Mage users who are using Coppermine. Adding this feature will make Gallery Mage much more useful to Coppermine users than it currently is, but unless Coppermine users know about the existance of the tool, there is little point in me improving it for them. Cheers, Will.
|
|
|
|
|
Logged
|
|
|
|
Aditya Mooley
|
 |
« Reply #2 on: April 20, 2005, 06:00:58 am » |
|
This is an add-on atleast for CPG 1.4.x but if you author a few paragraph we will add it in the documentation as appropriate.
|
|
|
|
|
Logged
|
|
|
|
|
Tarique Sani
|
 |
« Reply #3 on: April 20, 2005, 07:54:51 am » |
|
and like we have said in the README your code will me more or less future proof even for later version - So you can code and be free of worries 
|
|
|
|
|
Logged
|
|
|
|
willdenniss
Contributor
  
Gender: 
Posts: 9
Gallery Mage author
|
 |
« Reply #4 on: April 21, 2005, 09:23:17 am » |
|
ok, sounds good.
I've found an API that should make the task of submitting data via post fairly easy. It's then just a matter getting a list of galleries so the user can pick which one to upload to.
I'll put this on my TODO list. If there are people now who want this support, make sure you let me know and I'll bump it up the list.
Thanks,
Will.
|
|
|
|
|
Logged
|
|
|
|
|
Tarique Sani
|
 |
« Reply #5 on: May 02, 2005, 08:54:11 am » |
|
Most people do not know what Gallery mage will do for their Coppermine when used in addition with the new API... Seems like a chicken and egg situation.
Some of the uses of new API can be
#1 Desktop Upload Client (obvious) #2 Replicate and keep in Sync a Coppermine Installation with your desktop archieve (the Categories can Albums can be folders in the local system) #3 Create funky screen savers showing latest pictures from a Coppermine install. #4 Create Flash based frontends... #5 Create all kinds of remote access Kool stuff - eg: cpmFetch based on a single API - this frees the application developer from maintaining / writing the access libraries
|
|
|
|
|
Logged
|
|
|
|
sigepjedi
Coppermine frequent poster
  
Posts: 111
|
 |
« Reply #6 on: January 03, 2006, 08:52:27 pm » |
|
have any updates been made to this, or the available methods"?
|
|
|
|
|
Logged
|
|
|
|
|
Tarique Sani
|
 |
« Reply #7 on: January 04, 2006, 07:01:20 am » |
|
Interest has been very low on this one, hence no further work was done - what methods would you like to see?
|
|
|
|
|
Logged
|
|
|
|
|
r_f_o_t
Coppermine newbie
Posts: 2
|
 |
« Reply #8 on: April 23, 2006, 10:49:50 pm » |
|
Hello,
Silly question. Where does the API get installed? There is no README in the tarball.
Thanks
Chuck
|
|
|
|
|
Logged
|
|
|
|
|
r_f_o_t
Coppermine newbie
Posts: 2
|
 |
« Reply #9 on: April 24, 2006, 01:44:08 am » |
|
OK, after some trial and error, figured it out. Just install it someplace in cpg directory, then point koppemine to that directory.
Chuck
|
|
|
|
|
Logged
|
|
|
|
eric.com.my
Coppermine newbie
Gender: 
Posts: 14
Eric Chooy
|
 |
« Reply #10 on: May 15, 2006, 02:15:23 pm » |
|
OK, after some trial and error, figured it out. Just install it someplace in cpg directory, then point koppemine to that directory.
Chuck
May I know how can I do that? Thank you.
|
|
|
|
|
Logged
|
|
|
|
|
|
ve.ru
Coppermine novice

Posts: 26
|
 |
« Reply #12 on: June 08, 2006, 09:14:56 pm » |
|
Is there an ongoing development on this feature? I am just interested if it is possible to create a new album via this API.
|
|
|
|
|
Logged
|
|
|
|
|
jonplqs
Coppermine newbie
Posts: 8
|
 |
« Reply #13 on: July 24, 2006, 06:33:41 pm » |
|
Hi when i try to install I got this error. <?xml version="1.0" encoding="utf-8" ?> - <cpg> <status>fail</status> <error>100</error> <verbose>Invalid function name passed</verbose> </cpg> Thanks
|
|
|
|
|
Logged
|
|
|
|
Aditya Mooley
|
 |
« Reply #14 on: July 25, 2006, 06:01:16 am » |
|
Is there an ongoing development on this feature? I am just interested if it is possible to create a new album via this API.
Currently it is not possible to create new albums via API. But we are considering this option and you may see it in next release.
|
|
|
|
|
Logged
|
|
|
|
Aditya Mooley
|
 |
« Reply #15 on: July 25, 2006, 06:05:34 am » |
|
@jonplqs Are you trying to access the API through your browser? API's cannnot be accessed directly. You need API client like Koppermine which allows you to upload/rotate/resize your image directly from your desktop.
|
|
|
|
|
Logged
|
|
|
|
|
jonplqs
Coppermine newbie
Posts: 8
|
 |
« Reply #16 on: July 25, 2006, 06:25:31 pm » |
|
ok thanks a lot.
|
|
|
|
|
Logged
|
|
|
|
|
pax
Coppermine newbie
Posts: 7
|
 |
« Reply #17 on: January 06, 2007, 11:33:19 am » |
|
Currently it is not possible to create new albums via API. But we are considering this option and you may see it in next release.
I'll add my vote to that suggestion 
|
|
|
|
|
Logged
|
|
|
|
|
gmichels
Coppermine newbie
Posts: 1
|
 |
« Reply #18 on: January 09, 2007, 04:33:26 pm » |
|
I really don't know what's wrong, but I can't have Koppermine working. My settings and the error after trying to refresh the album list.
(http://i16.tinypic.com/2uygd3s.png)
I'm using Coppermine 1.4.9. Any ideas?
Thanks!
|
|
|
|
|
Logged
|
|
|
|
Aditya Mooley
|
 |
« Reply #19 on: January 11, 2007, 04:56:51 pm » |
|
Please post all the Koppermine related problems on Koppermine's support forum sf.net Also provide more details like which KDE version are you using and flavor of Linux.
|
|
|
|
|
Logged
|
|
|
|
|