Shampoo is a simple photo gallery script that doesn't require a database. I occasionally devote some time to it. Why the name? I don't know.
You can add captions and album descriptions using a very simple text file.
» Download (40kB) Contents of the archive
It will only work on PHP5 and a server that understands .htaccess files (like Apache). In order for thumbnail creation to work, your server will also need to have GD installed (any host worth its salt will).
This is a modification of Cody Lindley's Thickbox. It is used by the PHP photo gallery above.
Inline HTML can still be embedded instead of images, but I've removed the Ajax functionality. And if you want the fancy transitions you'll have to add them yourself.
There are some notes at the top of thickbox.js
Simply add the class thickbox to links that point to images. By adding a rel attribute, you can group them together, so you also get "prev" and "next" links, as well as a "Start/stop" link to automate moving forward. The title attribute provides captions.
To embed HTML, use a link like this (points to hidden div with id "badgers"):
<a href="badgers.html#TB_inline?height=440&width=750&id=zomg&caption=true" class="thickbox">My favourite badgers</a>
It requires the #TB_inline bit, the question mark and the id of the element containing the HTML to be embedded. The height (default: 400) and width (default: 600) are optional and caption has to be true to force a caption (from the title attribute, like with links to images) to appear. Adding a rel attribute means you can also chain several of these together, and with images too.
It has been tested on Firefox 1, 1.5 and 2, Safari 3/Win, Opera 8 and 9, IE6 and 7.
Badgers live in setts. They're furry, black and white (but not chocolate) and some people fear their tuberculosis carrying prowess.
Here be a fine specimen, looking rather delightful, don't you think?

Makes conversations occupy full width by removing advertisement block on the right. The four links above the ads are kept and placed conveniently next to the conversation title.
Does the following:
Photobucket can be very slow and is in general quite badly coded - there is a huge amount of redundant code all over the shop. The unfortunate result of this is that the script can take a while to be applied and so the ads are visible while the page is loading.
The best way around this is to add the following to userContent.css:
@-moz-document domain("photobucket.com") {
#advPanelContainer,
#containerAlbumPromo,
#cellAd {display:none}
#panel_image {width:428px}
}
Allows you to put your favourite user scripts into a dropdown menu integrated with the site.
An "add/remove from favourites" link appears under "View script source" on the right.
It also shows the number of comments and installs and when it was last updated. This information updates itself automatically every 30 minutes.
Questions/comments: raf [at] this domain
Oh, and I freelance. You can hire me for front-end (HTML, CSS, JavaScript) work.