I was working again, after a few months, in my attempt of plugin: spicasa [1]
Basicly, it’s a clone of flickr_cc [2][3] developed by Arno, using this unofficial library [4] to work with picasaweb API.
It works, but partially. The problem is that the function copie_locale() [5] fails if the full-size image is bigger than 800px, wich is the maximum « embeddable » size that google allow [6].
So, if I try to retrieve a bigger size, (see this line [7]), I can get the absolut URL to the image, but copie_locale() return False;
There is a way to pass over this restriction? I think if I want download the file from picasa and host it in my own server it should be possible.
Maybe you only have to add this line to mes_options.php :
@define('_COPIE_LOCALE_MAX_SIZE',2097152); // Max Size in byte
.Gilles
On Thu, Feb 12, 2009 at 6:34 AM, Martín Gaitán <gaitan@gmail.com> wrote:
I was working again, after a few months, in my attempt of plugin: spicasa [1]
Basicly, it’s a clone of flickr_cc [2][3] developed by Arno, using this unofficial library [4] to work with picasaweb API.
It works, but partially. The problem is that the function copie_locale() [5] fails if the full-size image is bigger than 800px, wich is the maximum « embeddable » size that google allow [6].
So, if I try to retrieve a bigger size, (see this line [7]), I can get the absolut URL to the image, but copie_locale() return False;
There is a way to pass over this restriction? I think if I want download the file from picasa and host it in my own server it should be possible.
well, I was working on this a few hours more tonight and although I couldn’t fix it, I add a few new features and improved. I think it’s working fairly well.
I like very much to receive some feedback, so if somebody have a little time to try it, I’ll be glade.