Sunday, 13 December 2009

Greasemonkey Script: Configurable Flickr Homepage

Greasemonkey Script: Configurable Flickr Homepage

This is an announcement for a greasemonkey script named "Configurable Flickr Homepage".

The purpose of this greasemonkey script is to provide a set of modifications of the layout from the flickr homepage. Several modifications are available. All of them can be enabled or disabled by the user.

You need to have Firefox and the Greasmonkey add-on installed.

If you use this script and think that it is helpful, then I kindly ask you to visit my photostream (http://www.flickr.com/photos/steffenj/) and leave some comments on my photos.

The script is available under the GPL license (which implies that I publish it without any warranty!).

The script can be downloaded from userscripts.org: http://userscripts.org/scripts/show/36347

The screenshot shows the script in action. Click with the right mouse button on the greasemonkey icon and select the command "Configuration of the flickr homepage" in the menu "User Script Commands" to open the configuration dialog where the layout modifications can be enabled and disabled.

How To Open The Configuration Dialog?

After this the following dialog will be displayed:

Configuration Dialog

Select the modifications which you like and then click on "Ok". The flickr homepage will automatically be reloaded and displayed with the new settings. Here is a description of all options:

Adjust homepage width to size of browser: The original layout uses a fixed width of 800 pixels and therefore wastes a lot of space from the browser. If this option is checked then the whole browser width will be used. Moreover the contents of the flickr page resizes if the size of the browser changes.

Enable drag & drop: When you are happy with your layout you can uncheck this option. Now drag&drop is disabled. So it's e.g. no longer possible that you change the layout by mistake. If you want to modify the positions again you have to enable this option again.

Use customized module positions: Unchecking this option disabled the usage of the customized layout. The positions of the modules from the original flickr layout will be used instead.

Use gray background for modules: Checking this option will add a light gray border around modules from the flickr page.

Show rounded borders around modules: Checking this option will add rounded border around modules.

Show upload link in menubar: The original flickr page shows a big "Upload Photos & Videos" link on the same level as modules like "Your Photostream". By checking this option this link will move to the menu bar next to the "Explore" menu. This saves valuable space.

Show images in recent activities: The recent activities module shows the latest comments. Theses comments may include images (e.g. awards). If this configuration option is selected then these images will not be displayed.

Show buddy icon: Unchecking this option removes the buddy icon from the flickr homepage.

Show flickr blog: Unchecking this option removes the flickr blog from the flickr homepage.

Link group images to group pool: Checking this option modifies the links to images in the groups module. Now they will link to the pictures within the group context.

Show tips: Unchecking this option removes the tips section from the flickr homepage.


A main feature which was introduced in version 0.12 is the possibility to customize the layout by draggin&dropping the modules of the flickr homepage.




Not only the well known homepage but also the brand new sneak preview homepage (see also this announcement) is supported.

History:
2009-12-12 0.18 Fixed a bug in saving module positions caused by a new greasemonkey version
2008-12-14 0.17 Load jquery libraries from ajax.googleapis.com
2008-11-11 0.16 Bugfix for removing tips.
2008-11-11 0.15 Bugfix for moving upload to menubar
2008-11-11 0.14
Added option to show rounded borders
Adapted script to markup changes of the flickr homepage
2008-11-06 0.13
Show images in recent activities by default.
2008-11-06 0.12
Modules can now be positioned by using drag&drop
Use the jQuery framework
2008-11-01 0.11
Group images will now link in the group pool
It's possible to move the photostream to the right column
2008-11-01 0.10 Resize width of comments in recent activities
2008-10-31 0.09 First public version.

1 comment:

Stefan said...

Hm. Bei mir ändert sich zwar das Layout der Flickr - Homepage, wenn das Script aktiv ist, aber "Benutzerscripte-Befehle" kommt kein Menü, bzw. das ist halt leer...