Announcement

#16 2010-11-05 01:16:54

guillaumev
Member
2010-10-27
7

Re: Photo organizer

Hi,

Just to give an update on this, I'm now able to authenticate, get the list of categories and create a new category using shotwell. I'm now working on splitting the image into chunks and sending it to Piwigo using pwg.images.addChunk and pwg.images.add, which looks like is going to be the most complex part of it. I'll post my code on github when I get this working...

Offline

 

#17 2010-11-05 01:50:25

plg
Piwigo Team
Nantes, France, Europe
2002-04-05
13791

Re: Photo organizer

Hi guillaumev,

guillaumev wrote:

Just to give an update on this, I'm now able to authenticate, get the list of categories and create a new category using shotwell.

Great news! Thank you for notifying the forum.

guillaumev wrote:

I'm now working on splitting the image into chunks and sending it to Piwigo using pwg.images.addChunk and pwg.images.add, which looks like is going to be the most complex part of it.

Just don't implement pwg.images.add in your first draft of the Shotwell plugin. Use pwg.images.addSimple instead. It is much simpler. You have to install [extension by plg] pwg.images.addSimple and read [wiki] pwg.images.addSimple. pwg.images.addSimple will become a standard method in Piwigo 2.2.

Don't hesitate to ask many questions, I'm here to make your life simpler as a contributor :-)

Offline

 

#18 2010-11-05 16:17:15

guillaumev
Member
2010-10-27
7

Re: Photo organizer

Hi plg,

Well I'm glad I talked on the forum before digging too much into pwg.images.addChunk because, in fact, pwg.images.addSimple seems MUCH easier to use !

Great news.

Thanks.

Offline

 

#19 2010-11-06 21:14:39

guillaumev
Member
2010-10-27
7

Re: Photo organizer

Hi,

Ok so I'm now able to upload photos to Piwigo using Shotwell !

The code can be found here, and needs testing (obviously): https://github.com/guillaumev/piwigoshotwell I'll email the shotwell mailing list and will let you know.

Cheers.

Offline

 

#20 2010-11-06 21:18:16

plg
Piwigo Team
Nantes, France, Europe
2002-04-05
13791

Re: Photo organizer

Excellent news!

Can you give a tutorial guide on how to test?

Offline

 

#21 2010-11-07 16:36:47

freechelmi
Member
Marseille , France
2010-11-07
17

Re: Photo organizer

Hello !

Kudos to guillaumevfor this patch.

I just compile svn trunk of shotwell  and apply the patch and it worked great !

results here : http://memeteau.com/photos/index.php?/category/36

A most of the shared host are usually limiting php upload to 2M(mine @toile-libre.org is 100M ! ) , it's true that the SimpleAdd will not be sufficient in most cases but it's great for now !!

So just get the SVN or stable of shotwell and add the ppa of yorba for the needed dev librairies (see http://yorba.org/shotwell/install/)

then get the Patch from Gitbub and apply hit on the root dir of the shotwell sources.

Recompile and install and that's it !

Offline

 

#22 2010-11-07 19:02:38

guillaumev
Member
2010-10-27
7

Re: Photo organizer

Hi,

plg > you can find how to install the connector in shotwell here: https://github.com/guillaumev/piwigoshotwell (see readme file). In order to test it, I would say try to upload various files in various categories.

Testing it, I found two limitations:
- subcategories are not displayed in the combo box, making it impossible to upload photos into subcategories
- it's impossible to create a subcategory from the shotwell interface

I'll see if I can fix these, but probably later.

Offline

 

#23 2010-11-14 22:11:30

plg
Piwigo Team
Nantes, France, Europe
2002-04-05
13791

Re: Photo organizer

I just updated [extension by plg] pwg.images.addSimple with a new version 2.1e to fix the bug that forced the user to open screen [Administration > Photos > Add] at least once before using the Shotwell plugin.

guillaumev, can you please create a new topic dedicated to the Shotwell plugin, in the Beta testing section of the forum, please? (I will start to communicate a bit more about this export plugin then)

Offline

 

#24 2010-11-17 12:18:54

plg
Piwigo Team
Nantes, France, Europe
2002-04-05
13791

Offline

 

Board footer

Powered by FluxBB

github twitter newsletter Donate Piwigo.org © 2002-2024 · Contact