The Gallery2 ImageBlock Embedding module
for Google Personali[s|z]ed Homepage.
What does it do?
It allows you to insert an image from almost any Gallery2 photo gallery, which has the ImageBlock plugin installed.
What does it look like?

Image shown is Copyright (C) 2005, William Hughes.
How do I install it?
Quite Simple.
- From the Google Personalised Homepage, click "Add Content"
- Into the field under "Create a Section", paste in: http://will.hughesfamily.net.au/modules/g2/g2imagemodule.xml
- Click Go
- Google will prompt you that the feature wasn't created by google - if you agree to the conditions, click OK.
- Set up the options as required (You do need a Gallery2 photo gallery to use this module, after all)
- Click Save
What options can I set?
- Title
The module titlebar, eg "My Photos"
- Gallery2 URL
The URL to the Gallery2 Photo Gallery. eg: http://will.hughesfamily.net.au/gallery/
NB: You must include a trailing slash, and only link to the base directory of the gallery.
Examples:
- http://example.com/gallery2/
OK
-
http://www.example.com/photos/
OK
-
http://example.com/photos
Incorrect. Include a trailing slash.
-
http://example.com/photos/v/
Incorrect. Remove v/
- http://example.com/photos/main.php
Incorrect. Remove main.php
-
http://example.com/photos/view/JimsPhotos/photo1001.jpg.html
Incorrect. Don't specify a file, gallery, or action. Remove view/JimsPhotos/photo1001.jpg.html
- G2 ImageBlock Type
- randomImage
Any random image in the gallery. Changes every reload.
- recentImage
Any recently added image in the gallery.
- viewedImage
?
- randomAlbum
Any random album. Changes every reload.
- recentAlbum
Any album recently added or with items added recently
- viewedAlbum
?
- dailyImage
A 'picture of the day', changes only once per day.
- weeklyImage
A 'picture of the week', changes only once per week.
- monthlyImage
A 'picture of the month', changes only once per week.
- dailyAlbum
- weeklyAlbum
- monthlyAlbum
- specificItem
A specific gallery album. (NB: Specifying this means you need to specify the itemID below)
- Image Alignment
The position of the image within the module.
- Item ID
Not used unless you use the specificItem block above.
- Max Image Size
The maximum size of any thumbnail, in a given dimension. Typically the Gallery2 administrator will have this restricted to 200px.
- linkTarget
Use _blank if you want the images to open in a new window/tab.
I want to customise it some more (eg: Show title, etc). How do I do that?
Sorry, that's not supported in this version of the module. If you're handy with CSS, design a stylesheet that'll lay the image and title info out to the Left/right/etc, and I'll modify it to do so.
What about Copyright?
The Module
This module's code and configuration are licenced under the Creative Commons, Attribution, Share-Alike licence.
Gallery Images
Like almost all technologies, they have appropriate and inappropriate uses, please use this module appropriately.
It's the responsibility of each user to ensure they have appropriate licences to use a given gallery in this module.
In summary: Don't use someone's gallery without getting their OK first.
Is there a demonstration gallery I can use to play with this module?
Sure, enter
http://will.hughesfamily.net.au/photos/
as the Gallery URL.
Who can I contact for support?
No support is provided for this module. If it breaks or is slow - sorry, but them's the breaks.
Can I use the get.php specified in the module config for other modules?
Not without asking first. And yes, I'll find out. If it's for a high-bandwidth site, you might find it's better to host it yourself (better response time, etc)
Who made this module?
William Hughes - leave a comment on this page if you find it useful, or are having issues.
What information do you gather, and what is your privacy policy?
All accesses to this site, including use of the module, will be recorded by the server automaticly.
This information will not be shared with any third party, except as where required by law.
No personally identifying information is gathered or retained.
What, specificly is retained:
- Time and Date of access
- Referrring URL
- IP Address and/or Domain Name associated with this IP
- What type and version Browser used to access the module.
- (Depending upon the browser settings) Your operating system and version.
- The gallery accessed, and additional parameters specified in the module.
This information is used for two purposes:
- To determine if any abuse or misuse is occuring by a specific site or individual, and
- Generate non-personally identifying statistical reporting on the use of the module and associated files.