Wow. I forget how much time it takes, and how little time there is to squeeze out of everything else that is going on. I haven’t posted new pictures to flickr in a long time. Anyway, the site is now coming along nicely. The front page is mostly up, with a couple of bugs. I still need to work on the content for the photography and consulting sections, but we are underway. I will post more on how I got the front page later.
Category Archives: Site News
Rotating Banner Image
I got around to creating the rotating banner images last night. I made 3 new ones, but they aren’t really my best images. I need to hunt round for some others. My flowers don’t really fit the landscape type space that is there, but I will have to see what I can do.
To make this work, I started out with some javascript in an onLoad function, but the image would blink with either the default image, or the background color. To fix this, I scrapped that idea, and went to an inline style block that is written out with a little php in the header.php file in the template folder.
<style type="text/css"> #headerLeft { background-image: url(<?php bloginfo('stylesheet_directory'); ?> /images/header-img-<?php echo rand(1,4); ?>.jpg); } </style>
This just gets a number between 1 and 4, and the base directory for the template, and sticks it all together to make the image. Presto. No more flickering.
Blog theme is underway.
I finally have the blog theme close to finished. It looks about how I want it now. The only thing left to do, is that I want to create several images that will rotate with the one that is in the top left. Just need to pick and crop the images, and do a little Javascript.
Starting fresh.
The old blog software, Serendipity, has been replaced with WordPress. I just decided to switch with no particular reason that I can remember. I was going to upgrade, and just decided to switch. Try something new. I decided to ditch the old posts too. Nothing newer than a couple of years ago anyway.
What has got me going again is photography. I think I have something to say anyway. Check back and find out.