How to add wimimedia commons as image source?

12 views
Skip to first unread message

Shrinivasan T

unread,
May 15, 2013, 8:58:48 AM5/15/13
to open...@googlegroups.com
Thanks for the great application.

I am contributing to wikimedia commons by my photos.

http://commons.wikimedia.org/wiki/Special:ListFiles/<username>
is the URL for any user's uploaded photos.

http://commons.wikimedia.org/wiki/Special:ListFiles/Tshrinivasan

is mine.

The gallery displayed by mediawiki is very boring and old.

Thinking of adding commons.wikimedia.org as a image source for openphoto.
so that the wikimedia team can host a openphoto web application to provide a nice
gallery for their contributors.

Please guide me on how to develop a image source site for openphoto?

Thanks.

Shrini

Jaisen Mathai

unread,
May 15, 2013, 10:55:18 AM5/15/13
to open...@googlegroups.com
I'm not that familiar with wikimedia but is there an API to store and retrieve photos?
--
You received this message because you are subscribed to the Google Groups "OpenPhoto" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openphoto+...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 


--
-- Snet form my mobl phoone

Shrinivasan T

unread,
May 15, 2013, 1:16:26 PM5/15/13
to open...@googlegroups.com

Thanks for the reply.

Yes. Media wiki supports api to upload and download the images.

Will search and give you the links.

What more info we need here?

You received this message because you are subscribed to a topic in the Google Groups "OpenPhoto" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/openphoto/yGpsOPJujQs/unsubscribe?hl=en.
To unsubscribe from this group and all its topics, send an email to openphoto+...@googlegroups.com.

Jaisen Mathai

unread,
May 15, 2013, 9:02:50 PM5/15/13
to open...@googlegroups.com
That's really all you need. As long as the API has some sort of authentication (preferably OAuth) you just need to implement the FileSystemInterface.

Here's an example of one for Amazon S3.

If you have an library for your API then put that in src/libraries/external.

Hope that helps.

Shrinivasan T

unread,
May 15, 2013, 10:07:24 PM5/15/13
to open...@googlegroups.com
On Thu, May 16, 2013 at 1:02 AM, Jaisen Mathai <jai...@openphoto.me> wrote:
> That's really all you need. As long as the API has some sort of
> authentication (preferably OAuth) you just need to implement the
> FileSystemInterface.
>
> Here's an example of one for Amazon S3.
> https://github.com/photo/frontend/blob/master/src/libraries/adapters/FileSystemS3.php
>
> If you have an library for your API then put that in src/libraries/external.


Thanks for the pointers.

We upload images in the commons.mediawiki.org directly.
all the uploaded images are public.
we have to view the uploaded info via openphoto.
No need to use openphoto for uploading images.


Hence, I dont think any authentication is required.

There is api to get info of all the images of a user.

http://commons.wikimedia.org/w/api.php?action=query&list=logevents&letype=upload&leuser=Tshrinivasan

This is for my uploaded images.

I am exploring still for getting full details about the images via php.

Once done, will reply here.

Then, we can explore on how to add this in the openphoto.

It will be nice, if we have documentation on how anyone can add a image source,
as the image source sites are increasing daily.

Thanks.
Regards,
T.Shrinivasan


My Life with GNU/Linux : http://goinggnu.wordpress.com
Free E-Magazine on Free Open Source Software in Tamil : http://kaniyam.com

Get CollabNet Subversion Edge : http://www.collab.net/svnedge
Reply all
Reply to author
Forward
0 new messages