Are you using the newest version of the module? Currently there is no option to resume an operation if it broke down. I should probably add something like that. But so far I had no troubles myself even with large sets of over hundred pictures. I would suggest splitting the set if somehow possible or selecting the remaining images manually - though that is probably painful
__________________________________________
Blog: http://gunnarwrobel.de
Company: http://www.pardus.de
Distribution: http://www.gentoo.org
drazin
Joined: 2002-11-23
Posts: 144
Posted: Wed, 2007-02-28 15:19
yeah i was using 2.0 and had the problem, then i upgraded to 2.9 and its still the same problem. ima try today and see if its maybe my server shitting the bed.
sphereboy
Joined: 2003-03-07
Posts: 1
Posted: Fri, 2007-03-02 06:12
looking forward to the fix. much appreciated. i'm getting the same errors as a few on here.
I you need more details, please tell me and I'll gladly provide them. If you want me to test a debug version of your module or anything else that may help solving the problem, please ask.
Jean-Marc Liotier
Joined: 2004-03-07
Posts: 80
Posted: Fri, 2007-03-02 18:24
According to Valiant, you "need to change the module / core API requirement" because your "usage of GalleryCoreApi::error calls is not backwards compatible with g2.1.2".
fortyfoxes
Joined: 2006-09-24
Posts: 8
Posted: Tue, 2007-03-06 20:34
Hi - just came across this - great! I am half way through adding Gallery support to my Flickr client and well now I don"t need to Would be great to add import support to the remote protocol - http://codex.gallery2.org/Gallery_Remote:Protocol ?
My question before I get down and install is I need the extra information from Flickr - like author, license, tags and so forth. I had started by adding these as extra fields - do you support these?
Gunnar Wrobel
Joined: 2006-11-27
Posts: 40
Posted: Tue, 2007-03-06 22:05
@Jean-Marc: Thanks. I'll try to fix that for the next version.
@fortyfoxes: Tags from flickr are supported. They directly match keywords in Gallery. They will be exported and imported. Author and licenses are not supported (yet). There are no default fields like that in Gallery and I did not think about a solution to that yet. How could that be done?
Well I only made a start seriously yesterday and I am not sure the existing version of the remote protocol will do all I need but my thought was to use the extra fields. I added:
As extra fields to the global set up. I guess this could be automated via an SQL query - but I did it manually. I then should be able to fetch and set these via the remote api?
NB - my default install is Gallery v2.1.2 with remote protocol server version 2.8. Do I need a more recent version as at the moment the set up is a one-click install and I am wary of switching it over to a custom install?
Now I should get back a response which includes this information:
Quote:
|image.caption.ref-num=caption associated with the image
|image.title.ref-num=title associated with the image [G2]
0...n |image.extrafield.fieldname.ref-num=value of the extra field of key fieldname
But I get nothing back about "extrafield" and the "image.caption.ref-num" is contains the "title" as shown in the web GUI and the "image.title.ref-num" contians the (file)Name as shown in the GUI. Can find "description" and "keywords" nowhere in the response.
Howdy Gunnar and thanks for the GREAT module.
Makes things so much easier!
Just thought I'd report in that I too am having the same problem that zither reported with some sets only uploading a half of the images.
The image text and info exists as though it's been uploaded, but the image is just a placeholder image. And I get the 'This photo is currently unavailable" Flickr placeholder image if I try to view it.
I am using version 2.9.
Has happened with both big and small sets.
Cheers mate .
sebflipper
Joined: 2004-08-08
Posts: 18
Posted: Sun, 2007-04-22 18:15
Thanks for the module, I tested it by exporting one of my albums, but I noticed on Flickr it didn't keep the watermark that has been set on each photo/album.
Is there anyway of maintaining the watermark that's set in Gallery when exporting to Flickr?
On another note I keep getting this error when exporting the photos to Flickr:
Database Error
An error has occurred while interacting with the database.
Back to the Gallery
But all the images in the Gallery appear on my Flickr account, so its nothing major as it still works.
revsmitty
Joined: 2007-05-11
Posts: 15
Posted: Thu, 2007-05-17 18:21
Looks to be a great module, but I'm getting the same type of errors that Jean-Marc had. Running Gallery 2.2.1. Has there been a fix to that or am I just doing something wrong?
The action you attempted is not permitted.
Back to the Gallery
almandot
Joined: 2007-05-03
Posts: 13
Posted: Wed, 2007-05-23 12:16
Everytime I try to import a whole set I get
Database Error
An error has occurred while interacting with the database.
Back to the Gallery
Granted it's got 710 photos in it and it might exceed a php limit on my site..
But when i try to import individual images from flickr i get a fill-in image put into my gallery saying "This image is currently unavailable"
Also, I apply the fix upthread for the security violation... and still can't login to my site after logging out...
Funky Dung
Joined: 2007-05-29
Posts: 1
Posted: Tue, 2007-05-29 14:54
I just installed version 0.2.9 on Gallery 2.2.1. I can successfully export individual photos to Flickr, but attempting to upload entire albums fails. The plugin says it worked, but no new pics appear in Flickr.
clarification:
If I navigate into the album, I can upload the whole thing, but if I try to use the drop-down from the next level up, nada.
willprotein
Joined: 2007-05-31
Posts: 1
Posted: Thu, 2007-05-31 15:04
hi,
i'm fairly new to gallery, but have got a small problem with this module as it causes two problems:
- i get security violation if i try to log/login
- i get a blank white screen when i click on the "generate link" button
much appreciated if can anyone shed any light on these as i'm mad keen to get it working!?
OK, re my issue with not being able to import some images, the problem is:
a. Flickr has changed the logic for calculating URLs
b. as best I can see they won't give you the information necessary to calculate the "large size" URL if the user is a free user
Of course, you can screenscrape the relevant URL, so it's really silly that they won't just give you the data.
thayvian
Joined: 2007-05-25
Posts: 4
Posted: Sat, 2007-06-02 09:41
OK, here's a patch against 0.2.9 for being able to download the biggest image available to a Free (non-Pro) user:
It uses getSizes in the crucial place, because getSizes returns URLs for all available sizes of a photo, whereas http://www.flickr.com/services/api/misc.urls.html describes no way to calculate the static URL for a Large image for a Free user. Possibly getSizes should be used everywhere, since it seems much less fragile than trying to follow http://www.flickr.com/services/api/misc.urls.html
As for the rotation problem, the problem is that if a user uploaded an image to Flickr and it wasn't rotated already and the user rotated it later, the Large (for Free) and Original (for Pro) images never have the rotation applied. This seems like a problem (or feature) of Flickr, not of this plugin.
elvisanderson
Joined: 2007-03-28
Posts: 1
Posted: Wed, 2007-06-13 20:18
Hi All.. thanks again for a great module! I was wondering about importing the GPS coordinates with the photos from Flickr. I'm using the map module in Gallery, but geocoding hundreds of photos is very time consuming as it must be done by editing each photo.... Can this module take the lat / long and include it in the EXIF info?
Thanks!
AllanB
Joined: 2007-03-01
Posts: 40
Posted: Sat, 2007-06-16 05:47
Gunnar Wrobel wrote:
The menu entries should appear once you activated your user account with flickr. Did you go to your user profile settings and authenticate with flickr? The older module uses the site admin menu to do that but in order to make the plugin secure and prevent just anybody from importing/exporting images I needed to move that part to the user profile settings. Now every user can have his/her own connection to flickr.
I have Gallery 2.1.2 and just installed G2Flickr 0.2.9. The module has been activated, but I don't see anything that allows me to authenticate the user. Where do I find this?? Is this compatible with v.2.1.2??
Thanks!
Allan
Gunnar Wrobel
Joined: 2006-11-27
Posts: 40
Posted: Tue, 2008-03-25 13:34
Well, it took a while for me to find time for this little project again. Anyhow, I did release Gallery2Flickr-0.9.0 now.
The menu entries should appear once you activated your user account with flickr. Did you go to your user profile settings and authenticate with flickr? The older module uses the site admin menu to do that but in order to make the plugin secure and prevent just anybody from importing/exporting images I needed to move that part to the user profile settings. Now every user can have his/her own connection to flickr.
I have Gallery 2.1.2 and just installed G2Flickr 0.2.9. The module has been activated, but I don't see anything that allows me to authenticate the user. Where do I find this?? Is this compatible with v.2.1.2??
Thanks!
Allan
You'll find the Flickr authentication part in your user account management. Each user can register seperately at Flickr if necessary.
The module should tell you if it is compatible with 2.1.2 during installation.
Hi All.. thanks again for a great module! I was wondering about importing the GPS coordinates with the photos from Flickr. I'm using the map module in Gallery, but geocoding hundreds of photos is very time consuming as it must be done by editing each photo.... Can this module take the lat / long and include it in the EXIF info?
Thanks!
I think it should be possible. I just lack the time to implement it at the moment. If somebody has a diff I'll certainly integrate it.
It uses getSizes in the crucial place, because getSizes returns URLs for all available sizes of a photo, whereas http://www.flickr.com/services/api/misc.urls.html describes no way to calculate the static URL for a Large image for a Free user. Possibly getSizes should be used everywhere, since it seems much less fragile than trying to follow http://www.flickr.com/services/api/misc.urls.html
As for the rotation problem, the problem is that if a user uploaded an image to Flickr and it wasn't rotated already and the user rotated it later, the Large (for Free) and Original (for Pro) images never have the rotation applied. This seems like a problem (or feature) of Flickr, not of this plugin.
I had to upgrade to the newer phpFlickr library in the 0.9.0 release. So you patch did not match anymore. Would it be possible to recreate it against the newer phpFlickr lib? Sorry for the inconvience.
OK, re my issue with not being able to import some images, the problem is:
a. Flickr has changed the logic for calculating URLs
b. as best I can see they won't give you the information necessary to calculate the "large size" URL if the user is a free user
Of course, you can screenscrape the relevant URL, so it's really silly that they won't just give you the data.
a.) should be fixed in 0.9.0 with the upgrade to phpFlickr-2.1.0
Howdy Gunnar and thanks for the GREAT module.
Makes things so much easier!
Just thought I'd report in that I too am having the same problem that zither reported with some sets only uploading a half of the images.
The image text and info exists as though it's been uploaded, but the image is just a placeholder image. And I get the 'This photo is currently unavailable" Flickr placeholder image if I try to view it.
I am using version 2.9.
Has happened with both big and small sets.
Cheers mate .
I'm having the same issue, and I'm using the latest version. My photos show up when I click Import from Flickr, but if I choose either a photo or a whole set, I get a window that says "This photo is currently unavailable." Any fixes for this problem?
omike
Joined: 2007-06-27
Posts: 2
Posted: Wed, 2007-06-27 17:33
Hmm... I upgraded my Flickr account to Pro, and now it's working. Does this not work with the Free Flickr accounts?
Gunnar Wrobel
Joined: 2006-11-27
Posts: 40
Posted: Wed, 2007-06-27 19:23
omike wrote:
Hmm... I upgraded my Flickr account to Pro, and now it's working. Does this not work with the Free Flickr accounts?
I was not aware of this but it might be the case. Maybe Flickr does not allow to download original sized photos for non-pro users? There was somebody that provided a patch to download the pictures in the largest available format but I couldn't include it for 0.9.0 since it did not match the upgraded phpFlickr library.
__________________________________________
Blog: http://gunnarwrobel.de
Company: http://www.pardus.de
Distribution: http://www.gentoo.org
Hi, just successfully installed and configured this module in a scratch Gallery2 installation to test it out. I was just having a look around, wondering if anyone lese has asked these question, but can't see any posts....
- is it possible to cron or somehow schedule an automatic import or export, rather than having it run manually?
- can you import images from a group rather than a user or a set or based on a search?
Thanks, James
Gunnar Wrobel
Joined: 2006-11-27
Posts: 40
Posted: Wed, 2007-07-04 13:37
@james789: Both features you are requesting are currently not integrated into the Gallery2Flickr bridge. On the other hand both are rather easy to achieve if you know a little bit of PHP. Since I'm not really in need for either of these features it is unlikely that I'll script it myself in the near future but maybe somebody else provides the necessary patches.
I've installed the bridge but it's not showing on the sidebar. using G2 2.2.2. any clue?
david
sdimbert
Joined: 2002-09-06
Posts: 17
Posted: Wed, 2007-08-01 05:19
I've edited because I RTFM'd and solved my first problem.
But now I'm running into the fact that my flickr account is free and I want to use this plugin to rescue my photos. I don't want to pay for a Pro acct since the whole reason I want to move them to Gallery is to avoid having to pay for a pro acct with flickr.
Can anyone help me with making this module work with flickr free accounts?
photocub
Joined: 2006-03-31
Posts: 5
Posted: Tue, 2007-08-14 00:19
David,
I'm having the same issue. I've installed the module, but can't find it in Gallery2.
Anybody have advice?
-Andrew
morktron
Joined: 2006-11-23
Posts: 18
Posted: Wed, 2007-08-15 03:34
I'm having the same issue too, can't find any button to upload
chivas12
Joined: 2005-05-31
Posts: 43
Posted: Wed, 2007-08-29 02:36
I also can't find any button to upload. Please help!
-----------------------------------------------
My Album:Photo Album
kenmoto
Joined: 2007-08-26
Posts: 26
Posted: Tue, 2007-08-28 16:23
+1 - sorry, this was more to subscribe to this thread since I see no other way. But I really do want this mod.
Thanks.
mindless
Joined: 2004-01-04
Posts: 8601
Posted: Tue, 2007-08-28 16:58
(for future reference: go to the first page of the topic and click "subscribe post" below the opening message in the topic.. yup, it's kinda hidden when the topic is long)
morktron
Joined: 2006-11-23
Posts: 18
Posted: Wed, 2007-08-29 01:58
Gunnar Wrobel wrote:
I had to upgrade to the newer phpFlickr library in the 0.9.0 release. So you patch did not match anymore. Would it be possible to recreate it against the newer phpFlickr lib? Sorry for the inconvience.
Thayvian I don't suppose you could update your patch so non pro Flickr people can use this most splendid module?
By the way I found out how to upload, just click on an album (no a thumb) and you'll see it on the left
Morktron: indeed Flickr doesn't let free users download original-sized pictures.
In my case, I found out that I could download all the way to 1024x768, which suits me.
Here is what I did:
1. I opened classes/Gallery2Flickr.class.php
2. I looked for:
$photo_url = $this->flickr->buildPhotoURL($photo, 'original');
3. I replaced with:
$photo_url = $this->flickr->buildPhotoURL($photo, 'large'); // CFR
Cheers,
-C.
morktron
Joined: 2006-11-23
Posts: 18
Posted: Thu, 2007-08-30 01:45
Thanks Chris, I did as you suggested but unfortunately it didn't succeed. It still says 'This photo is currently unavailable'.
I do appreciate your help though, so thanks
The holly grail still lies before me, I want to host my photo's on Flickr and display them simultaneously on my personal website, Facebook, Flickr and my business site.
etho55
Joined: 2006-01-21
Posts: 5
Posted: Fri, 2007-08-31 18:22
I am looking to pay someone to import my Gallery photos into Flickr. Please email me at
if you're able to do this.
Thanks!
etho55
Joined: 2006-01-21
Posts: 5
Posted: Wed, 2007-09-05 07:34
Sent this email to Gunnar recently, copying it here in case anyone can help (haven't heard back from Gunnar yet, understandably):
Hi there,
First off, thanks for developing this plugin. Great work.
I have a few issues that are preventing me from successfully migrating to Flickr. I was hoping you could address them - I am willing to pay for your time.
The issues are:
1) Exporting to Flickr seems to create duplicates of the imported items. So if the album I'm importing from Gallery has 25 items, I'll wind up with 50 items in Flickr - each photo twice. [NOTE: I've since found out that if I delete the original album in Gallery1 before importing from G2 to Flickr, the duplicate images issue is resolved. However, I find that solution a bit risky for my liking - is there another way I can shake the Gallery2Flickr tool off the scent of my G1 installation?]
2) For some reason, two identical Flickr sets are created to house the 1 incoming Gallery album, but each set contains just one photo each. The rest of the photos from that gallery album reside outside of sets as unsorted photos in my Flickr photostream. This is a pain as I need to select all the incoming photos and repatriate them into the set.
What you should know about my environment:
1) I am migrating Gallery 1 albums (www.adriancrook.com/gallery) into Gallery 2 ( www.adriancrook.com/gallery2) prior to using Gallery2Flickr to get them into Flickr.
2) I importing into a Flickr Pro account (http://flickr.com/photos/adriancrook/ ) and therefore am hoping that the images imported are the originals (i.e. full size versions from Gallery). [NOTE: I've since found out that it looks like the full res, original images are indeed the ones imported into Flickr. Cool.]
I submitted a bug report on this. But I also wanted to post here in the forum and see if I could possibly get some help? Here is a link to my bug report:
I have a couple issues with my gallery2flickr module not working correctly on my website.
I just recently installed gallery2flickr on my gallery2 site. It currently
times out in several places when trying to run the module.
1) When i'm in an gallery album and I try and click on import from flickr
(in the options on the left) the page will time out. Eventually it puts me
to a page cannot be displayed error and redirects me to my
\gallery\main.php page. At which point I have to go back to the main page of the site to get back to my gallery albums.
2) When I do manage to successfully get the import option to work, and it
brings up the screen to select what images to import from my flickr
account. The "import set" function might transfer one or two files and then
time out on the rest.
3) If I try and manually import using the "import image from set" option.
It will let me select one or two individual files and that is about it,
then the page will time out again. I have managed to work it up to 3 images
sometimes before this happens.
let me know if there is any additional information/files you need to help you
determine the issue.
here is the debug output from gallery when try to import the photos from a set. Since I turned on debug output, I don't seem to have the problem with loading the import tool at least. But it still times out in retrieving the photos from Flickr and importing them into Gallery.
OK, well apparently even deleting the old album in G1 before sending the G2 album to Flickr doesn't help - I still get duplicates of every image, which slows down the import process HUGELY, making it far less effective. Now I have to wait twice as long for the upload to complete, then go in and delete all the duplicate images and manually create a set (since Gallery2Flickr doesn't seem to automatically include the exported images in a Flickr set corresponding with the G2 album of origin).
Any help on this? I will pay money at this point... $50, at least, for a resolution to this. I know it's not much as we all have f/t jobs, but this is frustrating.
Raybdbomb2
Joined: 2005-05-18
Posts: 14
Posted: Mon, 2007-10-08 18:38
edit: n/m, my edit didn't work as i thought it would.
petri
Joined: 2005-12-15
Posts: 253
Posted: Wed, 2007-10-17 23:47
Hello,
Sounds like a great module but I have the same problem as willprotein :
- i get a blank white screen when i click on the "generate link" button, I am running on mac and have this pb with Safari as well as Firefox.
anyone has an idea ? Thanx in advance for your answer.
markmark
Joined: 2007-07-06
Posts: 1
Posted: Sun, 2007-11-04 22:37
Great module but buggy -- when I go to export an album to flickr, it sends four images and quits. I suppose I could upload individual photos, but with nearly 3,000 of them, it'd be easier to start from scratch. Anyone know of a workaround? I posted a bug report on sourceforge as well.
Posts: 40
Are you using the newest version of the module? Currently there is no option to resume an operation if it broke down. I should probably add something like that. But so far I had no troubles myself even with large sets of over hundred pictures. I would suggest splitting the set if somehow possible or selecting the remaining images manually - though that is probably painful
__________________________________________
Blog: http://gunnarwrobel.de
Company: http://www.pardus.de
Distribution: http://www.gentoo.org
Posts: 144
yeah i was using 2.0 and had the problem, then i upgraded to 2.9 and its still the same problem. ima try today and see if its maybe my server shitting the bed.
Posts: 1
looking forward to the fix. much appreciated. i'm getting the same errors as a few on here.
Posts: 80
I found that Gallery2Flickr version 0.2.9 may be the cause of a problem I encountered (see the linked thread).
I you need more details, please tell me and I'll gladly provide them. If you want me to test a debug version of your module or anything else that may help solving the problem, please ask.
Posts: 80
According to Valiant, you "need to change the module / core API requirement" because your "usage of GalleryCoreApi::error calls is not backwards compatible with g2.1.2".
Posts: 8
Hi - just came across this - great! I am half way through adding Gallery support to my Flickr client and well now I don"t need to Would be great to add import support to the remote protocol - http://codex.gallery2.org/Gallery_Remote:Protocol ?
My question before I get down and install is I need the extra information from Flickr - like author, license, tags and so forth. I had started by adding these as extra fields - do you support these?
Posts: 40
@Jean-Marc: Thanks. I'll try to fix that for the next version.
@fortyfoxes: Tags from flickr are supported. They directly match keywords in Gallery. They will be exported and imported. Author and licenses are not supported (yet). There are no default fields like that in Gallery and I did not think about a solution to that yet. How could that be done?
__________________________________________
Blog: http://gunnarwrobel.de
Company: http://www.pardus.de
Distribution: http://www.gentoo.org
Posts: 8
Well I only made a start seriously yesterday and I am not sure the existing version of the remote protocol will do all I need but my thought was to use the extra fields. I added:
imageOwner
photoTags
imageLicense
geoLatitude
geoLongitude
geoAccuracy
ispublic
isfriend
isfamily
As extra fields to the global set up. I guess this could be automated via an SQL query - but I did it manually. I then should be able to fetch and set these via the remote api?
NB - my default install is Gallery v2.1.2 with remote protocol server version 2.8. Do I need a more recent version as at the moment the set up is a one-click install and I am wary of switching it over to a custom install?
Posts: 8
Having some problems getting the info about extra fields from the Remote API. As an example for a call to "fetch-album-images" (http://codex.gallery2.org/Gallery_Remote:Protocol#fetch-album-images), on a test album with one image - I send:
Now I should get back a response which includes this information:
But I get nothing back about "extrafield" and the "image.caption.ref-num" is contains the "title" as shown in the web GUI and the "image.title.ref-num" contians the (file)Name as shown in the GUI. Can find "description" and "keywords" nowhere in the response.
Here is the full response:
Posts: 1
Howdy Gunnar and thanks for the GREAT module.
Makes things so much easier!
Just thought I'd report in that I too am having the same problem that zither reported with some sets only uploading a half of the images.
The image text and info exists as though it's been uploaded, but the image is just a placeholder image. And I get the 'This photo is currently unavailable" Flickr placeholder image if I try to view it.
I am using version 2.9.
Has happened with both big and small sets.
Cheers mate .
Posts: 18
Thanks for the module, I tested it by exporting one of my albums, but I noticed on Flickr it didn't keep the watermark that has been set on each photo/album.
Is there anyway of maintaining the watermark that's set in Gallery when exporting to Flickr?
On another note I keep getting this error when exporting the photos to Flickr:
But all the images in the Gallery appear on my Flickr account, so its nothing major as it still works.
Posts: 15
Looks to be a great module, but I'm getting the same type of errors that Jean-Marc had. Running Gallery 2.2.1. Has there been a fix to that or am I just doing something wrong?
The action you attempted is not permitted.
Back to the Gallery
Posts: 13
Everytime I try to import a whole set I get
Database Error
An error has occurred while interacting with the database.
Back to the Gallery
Granted it's got 710 photos in it and it might exceed a php limit on my site..
But when i try to import individual images from flickr i get a fill-in image put into my gallery saying "This image is currently unavailable"
Any ideas?
Posts: 4
I have two problems with the module:
1. When I import images that are rotated on Flickr, eg http://www.flickr.com/photos/puzzlement/391565827 they are not rotated in gallery
2. When I import more recent images such as http://www.flickr.com/photos/puzzlement/425062701 I get an error image imported saying "This photo is currently unavailable"
Posts: 4
Also, I apply the fix upthread for the security violation... and still can't login to my site after logging out...
Posts: 1
I just installed version 0.2.9 on Gallery 2.2.1. I can successfully export individual photos to Flickr, but attempting to upload entire albums fails. The plugin says it worked, but no new pics appear in Flickr.
clarification:
If I navigate into the album, I can upload the whole thing, but if I try to use the drop-down from the next level up, nada.
Posts: 1
hi,
i'm fairly new to gallery, but have got a small problem with this module as it causes two problems:
- i get security violation if i try to log/login
- i get a blank white screen when i click on the "generate link" button
much appreciated if can anyone shed any light on these as i'm mad keen to get it working!?
cheers, will.
Protein OS
The system
from which
we operate
www.proteinos.com
Posts: 4
OK, re my issue with not being able to import some images, the problem is:
a. Flickr has changed the logic for calculating URLs
b. as best I can see they won't give you the information necessary to calculate the "large size" URL if the user is a free user
Of course, you can screenscrape the relevant URL, so it's really silly that they won't just give you the data.
Posts: 4
OK, here's a patch against 0.2.9 for being able to download the biggest image available to a Free (non-Pro) user:
http://users.puzzling.org/users/mary/src/Gallery2Flickr-fix-sizes-for-free-users.diff
It uses getSizes in the crucial place, because getSizes returns URLs for all available sizes of a photo, whereas http://www.flickr.com/services/api/misc.urls.html describes no way to calculate the static URL for a Large image for a Free user. Possibly getSizes should be used everywhere, since it seems much less fragile than trying to follow http://www.flickr.com/services/api/misc.urls.html
As for the rotation problem, the problem is that if a user uploaded an image to Flickr and it wasn't rotated already and the user rotated it later, the Large (for Free) and Original (for Pro) images never have the rotation applied. This seems like a problem (or feature) of Flickr, not of this plugin.
Posts: 1
Hi All.. thanks again for a great module! I was wondering about importing the GPS coordinates with the photos from Flickr. I'm using the map module in Gallery, but geocoding hundreds of photos is very time consuming as it must be done by editing each photo.... Can this module take the lat / long and include it in the EXIF info?
Thanks!
Posts: 40
I have Gallery 2.1.2 and just installed G2Flickr 0.2.9. The module has been activated, but I don't see anything that allows me to authenticate the user. Where do I find this?? Is this compatible with v.2.1.2??
Thanks!
Allan
Posts: 40
Well, it took a while for me to find time for this little project again. Anyhow, I did release Gallery2Flickr-0.9.0 now.
You can download it here: http://sourceforge.net/project/showfiles.php?group_id=199596
Changes:
- Update to phpFlickr-2.1.0
- Fixes to the required core API and error handling
- Contains the fix for the security warning
__________________________________________
Blog: http://gunnarwrobel.de
Company: http://www.pardus.de
Distribution: http://www.gentoo.org
Posts: 40
You'll find the Flickr authentication part in your user account management. Each user can register seperately at Flickr if necessary.
The module should tell you if it is compatible with 2.1.2 during installation.
Cheers, Gunnar
__________________________________________
Blog: http://gunnarwrobel.de
Company: http://www.pardus.de
Distribution: http://www.gentoo.org
Posts: 40
I think it should be possible. I just lack the time to implement it at the moment. If somebody has a diff I'll certainly integrate it.
Cheers,
Gunnar
__________________________________________
Blog: http://gunnarwrobel.de
Company: http://www.pardus.de
Distribution: http://www.gentoo.org
Posts: 40
I had to upgrade to the newer phpFlickr library in the 0.9.0 release. So you patch did not match anymore. Would it be possible to recreate it against the newer phpFlickr lib? Sorry for the inconvience.
Cheers,
Gunnar
__________________________________________
Blog: http://gunnarwrobel.de
Company: http://www.pardus.de
Distribution: http://www.gentoo.org
Posts: 40
a.) should be fixed in 0.9.0 with the upgrade to phpFlickr-2.1.0
Cheers,
Gunnar
__________________________________________
Blog: http://gunnarwrobel.de
Company: http://www.pardus.de
Distribution: http://www.gentoo.org
Posts: 2
I'm having the same issue, and I'm using the latest version. My photos show up when I click Import from Flickr, but if I choose either a photo or a whole set, I get a window that says "This photo is currently unavailable." Any fixes for this problem?
Posts: 2
Hmm... I upgraded my Flickr account to Pro, and now it's working. Does this not work with the Free Flickr accounts?
Posts: 40
I was not aware of this but it might be the case. Maybe Flickr does not allow to download original sized photos for non-pro users? There was somebody that provided a patch to download the pictures in the largest available format but I couldn't include it for 0.9.0 since it did not match the upgraded phpFlickr library.
__________________________________________
Blog: http://gunnarwrobel.de
Company: http://www.pardus.de
Distribution: http://www.gentoo.org
Posts: 40
Gallery2Flickr found a new home on SourceForge: http://gallery2flickr.sourceforge.net
This new home provides anonymous subversion access, bug trackers, a website and download space.
The move does not mean that I'll invest more time in the project than I did in the past but it should make it easier for me to manage it.
__________________________________________
Blog: http://gunnarwrobel.de
Company: http://www.pardus.de
Distribution: http://www.gentoo.org
Posts: 96
Hi, just successfully installed and configured this module in a scratch Gallery2 installation to test it out. I was just having a look around, wondering if anyone lese has asked these question, but can't see any posts....
- is it possible to cron or somehow schedule an automatic import or export, rather than having it run manually?
- can you import images from a group rather than a user or a set or based on a search?
Thanks, James
Posts: 40
@james789: Both features you are requesting are currently not integrated into the Gallery2Flickr bridge. On the other hand both are rather easy to achieve if you know a little bit of PHP. Since I'm not really in need for either of these features it is unlikely that I'll script it myself in the near future but maybe somebody else provides the necessary patches.
Cheers,
Gunnar
__________________________________________
Blog: http://gunnarwrobel.de
Company: http://www.pardus.de
Distribution: http://www.gentoo.org
Posts: 45
I've installed the bridge but it's not showing on the sidebar. using G2 2.2.2. any clue?
david
Posts: 17
I've edited because I RTFM'd and solved my first problem.
But now I'm running into the fact that my flickr account is free and I want to use this plugin to rescue my photos. I don't want to pay for a Pro acct since the whole reason I want to move them to Gallery is to avoid having to pay for a pro acct with flickr.
Can anyone help me with making this module work with flickr free accounts?
Posts: 5
David,
I'm having the same issue. I've installed the module, but can't find it in Gallery2.
Anybody have advice?
-Andrew
Posts: 18
I'm having the same issue too, can't find any button to upload
Posts: 43
I also can't find any button to upload. Please help!
-----------------------------------------------
My Album:Photo Album
Posts: 26
+1 - sorry, this was more to subscribe to this thread since I see no other way. But I really do want this mod.
Thanks.
Posts: 8601
(for future reference: go to the first page of the topic and click "subscribe post" below the opening message in the topic.. yup, it's kinda hidden when the topic is long)
Posts: 18
Thayvian I don't suppose you could update your patch so non pro Flickr people can use this most splendid module?
By the way I found out how to upload, just click on an album (no a thumb) and you'll see it on the left
[img]http://www.digiflipconcepts.com/images/g2-flickr.jpg[/img]
Posts: 1
(1st post, I hope I'm not breaking any rule)
Morktron: indeed Flickr doesn't let free users download original-sized pictures.
In my case, I found out that I could download all the way to 1024x768, which suits me.
Here is what I did:
1. I opened classes/Gallery2Flickr.class.php
2. I looked for:
$photo_url = $this->flickr->buildPhotoURL($photo, 'original');
3. I replaced with:
$photo_url = $this->flickr->buildPhotoURL($photo, 'large'); // CFR
Cheers,
-C.
Posts: 18
Thanks Chris, I did as you suggested but unfortunately it didn't succeed. It still says 'This photo is currently unavailable'.
I do appreciate your help though, so thanks
The holly grail still lies before me, I want to host my photo's on Flickr and display them simultaneously on my personal website, Facebook, Flickr and my business site.
Posts: 5
I am looking to pay someone to import my Gallery photos into Flickr. Please email me at
if you're able to do this.
Thanks!
Posts: 5
Sent this email to Gunnar recently, copying it here in case anyone can help (haven't heard back from Gunnar yet, understandably):
Hi there,
First off, thanks for developing this plugin. Great work.
I have a few issues that are preventing me from successfully migrating to Flickr. I was hoping you could address them - I am willing to pay for your time.
The issues are:
1) Exporting to Flickr seems to create duplicates of the imported items. So if the album I'm importing from Gallery has 25 items, I'll wind up with 50 items in Flickr - each photo twice. [NOTE: I've since found out that if I delete the original album in Gallery1 before importing from G2 to Flickr, the duplicate images issue is resolved. However, I find that solution a bit risky for my liking - is there another way I can shake the Gallery2Flickr tool off the scent of my G1 installation?]
2) For some reason, two identical Flickr sets are created to house the 1 incoming Gallery album, but each set contains just one photo each. The rest of the photos from that gallery album reside outside of sets as unsorted photos in my Flickr photostream. This is a pain as I need to select all the incoming photos and repatriate them into the set.
What you should know about my environment:
1) I am migrating Gallery 1 albums (www.adriancrook.com/gallery) into Gallery 2 ( www.adriancrook.com/gallery2) prior to using Gallery2Flickr to get them into Flickr.
2) I importing into a Flickr Pro account (http://flickr.com/photos/adriancrook/ ) and therefore am hoping that the images imported are the originals (i.e. full size versions from Gallery). [NOTE: I've since found out that it looks like the full res, original images are indeed the ones imported into Flickr. Cool.]
Hoping you can help,
Adrian Crook
www.freetoplay.biz
www.gameproducer.ca
Posts: 3
I submitted a bug report on this. But I also wanted to post here in the forum and see if I could possibly get some help? Here is a link to my bug report:
http://sourceforge.net/tracker/index.php?func=detail&aid=1788126&group_id=199596&atid=970126
I have a couple issues with my gallery2flickr module not working correctly on my website.
I just recently installed gallery2flickr on my gallery2 site. It currently
times out in several places when trying to run the module.
1) When i'm in an gallery album and I try and click on import from flickr
(in the options on the left) the page will time out. Eventually it puts me
to a page cannot be displayed error and redirects me to my
\gallery\main.php page. At which point I have to go back to the main page of the site to get back to my gallery albums.
2) When I do manage to successfully get the import option to work, and it
brings up the screen to select what images to import from my flickr
account. The "import set" function might transfer one or two files and then
time out on the rest.
3) If I try and manually import using the "import image from set" option.
It will let me select one or two individual files and that is about it,
then the page will time out again. I have managed to work it up to 3 images
sometimes before this happens.
let me know if there is any additional information/files you need to help you
determine the issue.
here is the debug output from gallery when try to import the photos from a set. Since I turned on debug output, I don't seem to have the problem with loading the import tool at least. But it still times out in retrieving the photos from Flickr and importing them into Gallery.
http://pastebin.com/m5e596806
Posts: 3
I also get the following when trying to import the whole set. It looks like its loosing connection to the mysql server.
http://pastebin.com/m19aef7f0
Posts: 5
OK, well apparently even deleting the old album in G1 before sending the G2 album to Flickr doesn't help - I still get duplicates of every image, which slows down the import process HUGELY, making it far less effective. Now I have to wait twice as long for the upload to complete, then go in and delete all the duplicate images and manually create a set (since Gallery2Flickr doesn't seem to automatically include the exported images in a Flickr set corresponding with the G2 album of origin).
Any help on this? I will pay money at this point... $50, at least, for a resolution to this. I know it's not much as we all have f/t jobs, but this is frustrating.
Posts: 14
edit: n/m, my edit didn't work as i thought it would.
Posts: 253
Hello,
Sounds like a great module but I have the same problem as willprotein :
- i get a blank white screen when i click on the "generate link" button, I am running on mac and have this pb with Safari as well as Firefox.
anyone has an idea ? Thanx in advance for your answer.
Posts: 1
Great module but buggy -- when I go to export an album to flickr, it sends four images and quits. I suppose I could upload individual photos, but with nearly 3,000 of them, it'd be easier to start from scratch. Anyone know of a workaround? I posted a bug report on sourceforge as well.