Main / Flickr Hacks / GMiF

November 12, 2005

Standalone version of GMiF

Tags: Flickr API , Flickr Hacks , GMiF , Mashups

GMiF v3.5Standalone GMiF

GMiF is originally a greasemonkey script for Flickr, but now has a standalone version. I reuse the code of GMiF to build a new geotagged photo viewer by using the google maps as a frontend. The GM script and this new photo viewer share the same core library of GMiF. Any improvements on GMif will have effects upon both versions.

The viewer provides a permlink for each flickr user. For example,

If your flickr photo page URL is

http://www.flickr.com/photos/ckyuan/

then your flickr maps page URL is

http://flickr.yuan.cc/maps/ckyuan/

Note: This is Firefox only. Sorry for IE users. I'm tired of debugging JS in IE.

November 06, 2005

GMiF v3.5 - Compatible with Firefox 1.5Beta + GM 0.6.3

Tags: Firefox , GMiF , Greasemonkey

GMiF v3.5

The GMiF v3.5 is released. This update version works with Firefox 1.5Beta + Greasemonkey 0.6.3 and Flock. Besides, there comes with a new user interface. The Map container is now pop-up on the photo page, not inserted between the photo and comments any more.

Official release: Yuan.CC Web Experiments
My Group: Flickr Tools Group
Download: flickr.gmap.user.js

September 30, 2005

GMiF and Toggle comments scripts updated

Tags: Flickr Hacks , GMiF , Greasemonkey

Flickr just changed some internal object and function names of Javascript, such as, 'photo_hash' becomes 'global_photos', and 'getCookie()' becomes '_get_cookie()'.

Two updated scripts:

GMiF: flickr.gmap.user.js
Toggle Comments: flickr.comments.toggle.user.js

August 25, 2005

My scripts in Userscripts.org

Tags: GMiF , Greasemonkey

I've officially added GMiF to Userscripts.org. The anonymous post of old version of GMiF has been removed.

You can get the latest GMiF via either my official site http://webdev.yuan.cc/gmif/ , or via Userscripts.org http://userscripts.org/scripts/show/1574.

Or, you can check all my scripts in Userscripts.org.

August 08, 2005

New features of GMiF 3.0 Beta

Tags: GMiF , Greasemonkey , Mashups

Two new features of GMiF 3.0beta:

  1. If you 'Play' the geostream, the stream will slide to from right to left and the map will move to the location to show the focused photo at interval of every 3 seconds.
  2. The map size can be widened now. Two control buttons are added: 'Widen' and 'Narrow'. So you can enlarge the map either by the width or length.

The two features are for GMiF 3.0 only. You don't need to re-install the user script. You only need to press Ctrl+F5 once when viewing any photo page, firefox will force to reload the latest gmif.js library.

August 04, 2005

GMiF v3.0 beta

Tags: GMiF , Greasemonkey , Mashups

The GMiF version 3.0 beta is out for testing. The reason I jump to v3.0 is because I reconstruct a lot of codes both in structures and modules. However, users won't feel too many changes of user interface. BTW, the GM 0.5 beta is also available. GMiF 3.0 is mainly developed and tested with it.

The major changes in v3.0:

  1. Loading GMiF js library dynamically
    Now GMiF starts to load js library at runtime. GMiF itself registered in Greasemonkey is only a shell. The main js library is loading dynamically. If everything is going well, hopefully, users don't need to upgrade GMiF anymore. You can always has the latest GMiF online js library.
  2. 'Play' geotagged photostream
    At the bottom of maps is the geotagged photostream of current photo owner. A button 'Play' is added to have the stream moving from right to left. You will see the whole geostream without clicking next/prev buttons.
  3. "Where is owner" feature
    This is a new feature to tell people where you are now. Image that you are traveling, away from home, or just out of town. You can specify a geotagged photo to show the place you are now. The only thing you need to do is add a new tag "GMiF:herenow" to the photo. The GMiF will display your current location in Maps and use the photo as the icon.

    A more interesting application is, if you have an GPS enabled camera, that you can post the photo via laptop+WiFi or GPRS/3G cellphone by email, your friends will know where you are now. GMiF will always fetch the latest photo tagged with 'GMiF:herenow'. You don't need to worry you have too many 'GMiF:herenow' tagged photo.

Please note that GMiF 3.0 is testing fully in the following environment: Firefox 1.0.6 + Greasemonkey 0.5 beta. If you encounter any problems, simply re-install v2.3 will bring you back.

Thanks for the test drive. Your help is appreciated.

Download GMiF 3.0 - flickr.gmap_v3.0.user.js

Download GMiF 2.3 - flickr.gmap_v2.3.user.js

August 01, 2005

GMiF v2.3 - a new release of Google Maps in Flickr

Tags: GMiF

GMiF v2.3

The new version 2.3 is released, and some new features are added.

1. Add the owner's geotagged photostream below the map.

You can click the photo thumb to move the map to the location of it. You can also click the buttom 'First/Prev/Next/End' to see more photos thumbs in the stream.

2. Display the city on map where the photo owner lives in.
GMiF gets the lat/lon info of the city where the owner lives from the user profile. The owner needs to set his current living city as the following pattern: City (lat,lon)

e.g. San Francisco (37.772343,-122.444687)


3. Upgrade to maps.14.js. The embedded map can be shown in Hybrid mode now.

Download GMiF 2.3 - flickr.gmap.user.js

Unfortunately, the greasemonkey still stays in 0.3.5, so following capabilities remain broken: 1. post to geobloggers; 2. add comments; 3. get nearby photos.

July 16, 2005

GMiF v2.2 is released

Tags: GMiF

GMiF v2.2

Dear all,

GMiF v2.2 is released.

I've added an option dialog box to GMiF to save some user preferences. Currently we have the following preferences:

1. Customized description/comment template.
2. Default map type: Map or Satellite.
3. Enable/disable japandatumhacks.

In the custom description/comment template, you can use two MACROs: {FLYTO_KML} and {GMAP_URL}. {FLYTO_KML} will be replaced to the KML URL for google earth, and {GMAP_URL} is the permant URL to the location in google
maps.

e.g. my custom description is

See this photo at Geobloggers.com. Fly to
the location on {FLYTO_KML}, or see the location at
{GMAP_URL}.

Download GMiF 2.2 - flickr.gmap.user.js

Continue reading "GMiF v2.2 is released" ยป

July 14, 2005

GMiF v2.0 - a new release of Google Maps in Flickr (v2.2.1)

Tags: GMiF

GMiF v2.0

For easy writing and discussion, I will officially name my Ggreasemonkey user script 'GMiF', short for 'Google Maps in Flickr'.

The new version 2.0 is released, and some new features are added.

1. Steeev contributed some codes to achieve adding geotags, comments, description, and posting to geobloggers database at one-click.
2. Link to Google Maps to see current map area.
3. Fly to Google Earth to see current map area.
4. Get nearby photos from Geobloggers' makeXML.cfm
5. A simple but nice bookmark management for favorite places.
6. Geocoded photos are now supported.

Your feedbacks are always welcomed.

Download GMiF 2.0 - flickr.gmap.user.js

July 11, 2005

GM script: Google Maps in Flickr (v1.6)

Tags: GMiF , Greasemonkey , Mashups

Google Maps in Flickr

Version 1.6 is released. I added a nice toolbar with some useful functionalities of map controls, including saving favorite places, going to location by manually input lat/lon, lengthen and shorten map, etc...

Download v1.6 here: flickr.gmap.user.js

July 03, 2005

GM script: Google Maps in Flickr (v1.5)

Tags: GMiF , Greasemonkey

Google Maps in Flickr

A new version of the script is released. It can let you to add geotags directly and post to Geobloggers actively.

Download the latest script: flickr.gmap.user.js

June 28, 2005

GM script: Google Maps in Flickr (v1.0)

Tags: GMiF , Greasemonkey

Google Maps in Flickr

There's an easy way to see your geotagged photos on Gmap without leaving flickr. Just install the greasemonkey script to your firefox and see your photos shown on map right away. There will be a button added at the right-most of button bar if the photo is geotagged. Click the button to open and close the map.

Download: flickr.gmap.user.js

Sorry, there's still some errors shown in Javascript console of firefox. I'll figure out what happened.

Google Ads

Powered by
Movable Type 3.2