Archive for April, 2008

Silhouettes

Wednesday, April 23rd, 2008

Sunset behind Borve Hill

Digger

Borve Hill sunset

Bath

Week in pictures

Sunday, April 20th, 2008

5 day forecast

East Beach blues

Sound of Harris

New arrivals

Carrot cake

(Carrot cake recipe from Uist Wholefoods.)

Jump

Saturday, April 19th, 2008

Yay! One of my photos is in this week’s Your pictures of Scotland section of the BBC News website (picture 6):

Jump

Jump

Inserting a NextGen slideshow in your header

Saturday, April 19th, 2008

I’ve been playing a bit with the NextGen gallery plugin for Wordpress and am very impressed with all that you can do and the various add-ons for making your pictures look pretty. We’ve used it over on niceweesites.com to organise our portfolio and on silversprite.com to display a slideshow in the header.

(Edit: Silversprite has now changed theme.)

The NextGen forums are currently closed and it took me ages to find the information I was looking for yesterday, so while it’s fresh in my mind, here are some notes on how to incorporate a NextGen slideshow into the header of a Wordpress site.

Install and activate the NextGen plugin. Create a gallery, add images and configure the options to display a slideshow. Full instructions here: http://alexrabe.boelinger.com/wordpress-plugins/nextgen-gallery/.

Then:

  1. Temporarily insert the NexGen widget into your sidebar (ensuring width and height match those required for your header).
  2. Look at your website in a browser and view the code to find the section relating to the slideshow.
  3. Remove the widget from the sidebar.
  4. Copy the relevant code to your theme’s header.php file. It should look something like this:
    <div id="header">
     
    	<div class="ngg-widget-slideshow" id="ngg_widget_slideshow1"><a href="http://www.macromedia.com/go/getflashplayer">Get the Flash Player</a> to see the slideshow.</div>
    	<script type="text/javascript" defer="defer">
    	<!--
    	//<![CDATA[
    		var sbsl = new SWFObject("http://www.yoursite.com/wp-content/plugins/nextgen-gallery/imagerotator.swf", "ngg_slideshow1", "780", "200", "7", "#FFFFFF");
    		sbsl.addParam("wmode", "opaque");
    		sbsl.addVariable("file", "http://www.yoursite.com/wp-content/plugins/nextgen-gallery/nggextractXML.php?gid=1");
    		sbsl.addVariable("linkfromdisplay", "false");
    		sbsl.addVariable("shownavigation", "false");
    		sbsl.addVariable("shuffle", "false");
    		sbsl.addVariable("showicons", "false");
    		sbsl.addVariable("overstretch", "true");
    		sbsl.addVariable("backcolor", "0xFFFFFF");
    		sbsl.addVariable("frontcolor", "0xFFFFFF");
    		sbsl.addVariable("lightcolor", "0xCC0000");
    		sbsl.addVariable("screencolor", "0xFFFFFF");
    		sbsl.addVariable("rotatetime", "10");
    		sbsl.addVariable("transition", "lines");
    		sbsl.addVariable("width", "780");
    		sbsl.addVariable("height", "200");
    		sbsl.write("ngg_widget_slideshow1");
    	//]]>
    	-->
    	</script>
  5. Adjust your theme’s stylesheet and header.php as necessary, so everything looks nice.

Sunrise this morning

Tuesday, April 15th, 2008

Sunrise behind the old school building

The Smiddy

Monday, April 14th, 2008

A website for luxury self-catering accommodation opening on Berneray later this year: www.burnsidecroft.com.

Weekend in pictures

Sunday, April 13th, 2008

I did some paperwork:

Filing away the old tax year and dividing up the new one

The cats fought over patches of sunshine:

Jura in sunshine

Islay in sunshine

And lambs lazed around outside:

Twins

More lamb pictures

Saturday, April 12th, 2008

This one was eating at the grass verge next to the house this morning:

Lamb b&w

On the road

South Uist Fishing

Friday, April 11th, 2008

A new website about fishing on South Uist, Benbecula and Eriskay: www.southuistfishing.com.

Dog walking

Friday, April 4th, 2008

Smudge posing

Smudge