|
This is EXCELLENT Dennis!!! I love it.
just a few comments about the source:
1- check out this thread: Flickr: Discussing Best Practices for Writing Flickr Greasemonkey Scripts in Flickr Hacks about the inclusion patterns. Your two script wont work for user accessing flickr form flickr.com (happens often for some reason)
2- you might want to encapsulate your code in a function:
(function() {
//your code here
})();
so that the function names don't clash with other scripts.
3- looks like the script still tries to insert the iframe, even if the photo is not geotagged, raising an error that document.body.insertAfter doesn't exists (?!?!)
Very cool think anyway, great way of using all that dead flickr space ;)
Posted 49 months ago.
(permalink)
|
|
Thanks, I am new to greasemonkey and javascript. I take your comments noted...
Also the iframe I use now I want tochange it later. but I have problems with google map to include it. So I put it in a iframe. Also I know a little more PHP then JS, so this way it was a little bit faster for me to make. So most of the code is in the iframe, and not in the GM script.
Originally posted 49 months ago.
(permalink)
Dennis Kruyt edited this topic 49 months ago.
|
|
point 1 and 2 should be fixes, point 3 is not clear to me. The code should only be executed if there is a ICBM in the metadata.
Posted 49 months ago.
(permalink)
|
|
looks cool! :)
Posted 49 months ago.
(permalink)
|
|
Does not work for me.. It show just a US map for any photo page i'm looking. Anyway it displays right coordinates at the bottom of the map (in grey color).
Originally posted 49 months ago.
(permalink)
eraldo_ edited this topic 49 months ago.
|
|
mm, that's strange
Can you give me a picture where it is wrong?
Posted 49 months ago.
(permalink)
|
|
I just added the new Google earth option to the frame, try it out...
Here is more info about the new Google earth future in a browser: code.google.com/apis/earth/
Posted 49 months ago.
(permalink)
|
|
First of all i just love this GM script, since I like maps almost as much as photos. It works with no problems on my computer, which runs Vista Ultimate and Firefox 2.0.
I do have one suggestion that would appeal to me having to do with the map's orientation. Of course it makes sense to have north on the top as the default but I wonder if you could do what Google Earth does and provide a control to shift the orientation. If I was facing in a direction other than north when I took the photo, I'd like to turn the map accordingly as it would be helpful in comparing the photo and the map image. I don't know if anyone else would find this desirable or if the control would take up more room than is available but I'll offer it as a thought.
Posted 49 months ago.
(permalink)
|
|
Dennis, here's a screenshot for the problem I have:

Thanks for your interest!
Posted 49 months ago.
(permalink)
|
|
Hey Dennis I found the problem and fixed it.
Problem was the , (comma) in the coords values.
This address (with commas) doesn't work:
kruyt.org/include/php/flickrmap.php5?Latitude=43,318816&a...
This (with dot) works:
kruyt.org/include/php/flickrmap.php5?Latitude=43.318816&a...
So I fix it by adding these lines:
lat = lat.replace(",",".");
lon = lon.replace(",",".");
after these:
var lat = coords[0];
var lon = coords[1];
Hope it helps!
Posted 49 months ago.
(permalink)
|
|
When I click on the Earth Option, I get a blank page with only the pin displayed. If I try to go back to hybrid, I can't do it. I can go to a different Flickr page with no problem. Firebug displays the following error:
google.earth has no properties
Qd(Object W=Object f=div#map Oa=[4] tc=(350, 350) kp=div h=div)main.js (line 139)
RB(Object W=Object f=div#map Oa=[4] tc=(350, 350) kp=div h=div, undefined)main.js (line 139)
Od(RB(a, b), [Object W=Object f=div#map Oa=[4] tc=(350, 350) kp=div h=div])main.js (line 127)
Ss(RB(a, b))main.js (line 159)
Ld()main.js (line 123)
provide("tbr", undefined, undefined)main.js (line 135)
G("tbr", undefined, undefined)main.js (line 141)
Qd("var PA="ALTITUDE_RELATIVE_TO_GROUND",QA="appendChild",
RA="createHtmlDivBalloon",SA="createIcon",TA="...")main.js (line 139)
[Break on this error] function Qd(a){eval(a)}
(Long line wrapped - admin)
Originally posted 49 months ago.
(permalink)
GustavoG (a group admin) edited this topic 49 months ago.
|
|
@pipozzo The problem is that flickr uses for Italian , insted of . Thanks for helping.
@John w Which version you use of firefox? and did you install the google earth plugin? Till now, google only support IE7 FF2 under Windows.
Originally posted 49 months ago.
(permalink)
Dennis Kruyt edited this topic 49 months ago.
|
|
@Dennis: Oh ok. Anyway now... works for me!
I know google uses dot in the italian version. Maybe in the next script version you can add multilanguage support directly.
Thank you for the script!
Posted 49 months ago.
(permalink)
|
|
Dennis,
Firefox 2.0.0.14
I did install the plugin. Same results before and after.
John
Posted 49 months ago.
(permalink)
|
|
I added the multilanguage. But the google earth plugin? I have not figured it out yet.
Posted 48 months ago.
(permalink)
|
|
Ok, some people have the 3d part working, other people dont get it working:

Can you guys post your operation system and browser version you are using?
But I think it's a google earth plugin, that is buggy. The code it cant be wrong.
Posted 48 months ago.
(permalink)
|
|
I noticed you added my fix to the script.
Now it works fine!
Thank you.
PS. XPsp2, FF3
Posted 48 months ago.
(permalink)
|
|
Denis,
Haven't tried Earth for 3 weeks but did today and it is working. It even has the orientation control that I was looking for. I am running Vista Ultimate SP1 along with Firefox 2.0.0.14. Absolutely love this script.
John
Posted 48 months ago.
(permalink)
|
|
Yes, it's working for me to. It was a bug in the api from google, they fixed it. I post some nice screens.
Posted 48 months ago.
(permalink)
|
|
Here some 3d screenshot's, if you have some nice ones, please post them, seems now 3d earth is working for everyone. :)

Originally posted 48 months ago.
(permalink)
Dennis Kruyt edited this topic 48 months ago.
|
|
Very cool! Great job! I'd love to install and use it, once it doesn't have any third-party website references embedded.
Posted 48 months ago.
(permalink)
|
|
I want to remove the 3rd party website (which is my own) in the future, and to make it full js. But to be honest, my php skills are a bit stronger, that's why i use a embedded iframe.
Posted 48 months ago.
(permalink)
|
|
It's a good idea, but I'm not comfortable with you knowing every single Flickr page I visit :)
Posted 48 months ago.
(permalink)
|
|
A little update, it seems that Flickramio is not working nicely together with the FireFox MiniMap Addon. if you have problems with Flickramio and have the MiniMap Addon installed, try disableing it, and see if it works, I try to make a fix for it later.
Posted 43 months ago.
(permalink)
|
|
For who is using this greasemonkey script, can you upload / show some screenshots here?
Posted 43 months ago.
(permalink)
|
|
This works in Google Chrome/Greasemetal, but there's about a 10 second pause while my browser waits for kruyt.org to respond. It looks like others have already brought this up.
Anyway, here's a screenshot:
Posted 41 months ago.
(permalink)
|
|
I loved this script! But once I found out, it went thru a 3rd party, I uninstalled very quickly. But I did love it the 3 days I used it.
Posted 41 months ago.
(permalink)
|
|
I like to have some more feedback about people who are using Google Chrome/Greasemetal...
Posted 40 months ago.
(permalink)
|
|
Hi, great script. But lets try to make this the other way around... How can I upload all my pictures onto Goggle Eart directly from Flickr? What I would like to do is to let everyone using GEarth my pictures when they go to any of the locations I have been to (all my pix are geotagged).
So far this has not been possible. but this is exactly what I would love. Any possibilities?
Thanx and cheers!
Posted 36 months ago.
(permalink)
|
|
I guess noone could figure this out... But itd be cool..
Posted 35 months ago.
(permalink)
|
|
Dennis,
Recently I've run into an occasional problem where no map appears when I open a photo even though it appears to be geotagged correctly - even identically to another photo with the same geotags.
Here is my latest example:
www.flickr.com/photos/jweiss3/4308754005/?editedcomment=1#
I'm using Firefox 3.5.6 and Vista Ultimate.
John
Originally posted 28 months ago.
(permalink)
john weiss edited this topic 28 months ago.
|
|
1. I installed the script but nothing happens (most of my photos are properly geotagged).
2. Is the script still working? I thought that maybe the script was "retired" because it possibly conflicts with Google/Panoramio.
3. Is Dennis Kruyt still around?
4. If and when the script works, can anyone who doesn't have the script see the map?
5. As for Sir Francis's question (if he still comes here), did you try loc.alize.us ?
Originally posted 28 months ago.
(permalink)
Travels of My GPs edited this topic 28 months ago.
|
|
4. no
Posted 28 months ago.
(permalink)
|
|
OK. Thanks, gigi4791.
Posted 28 months ago.
(permalink)
|
|
I am still around :p and it's still working for me, it's now even working on Chromium and Google Chrome to.
Posted 27 months ago.
(permalink)
|
|
Now in App garden www.flickr.com/services/apps/38864/
Posted 24 months ago.
(permalink)
|
|
It looks like the new flickr has this for a part integrated, I think I will make a version2 to better integrated in the new layout and instead of yahoo map will make it google map
Posted 23 months ago.
(permalink)
|
|
Any progress on this Dennis?
Posted 19 months ago.
(permalink)
|
Would you like to comment?
Sign up for a free account, or sign in (if you're already a member).
|