• Home
  • About Us
  • Contact

Currently viewing and reading

Shop. Compare. Save on Cell Phones.

Random image banner for Kubrick

Posted by Josh on February 23rd 2005  

I moved Janicek.com from Blogger to WordPress 1.x earlier this month because 1) I wanted my publishing software to be on my server versus Blogger’s server and 2) because I really liked the clean design of Michael Heilemann’s Kubrick template for WordPress.

Due to its popularity, Kubrick is now the default theme for WordPress 1.5. Owen Winkler created a great tool called Kubrickr that “lets you replace that giant blue blob at the top of your WordPress 1.5 blog with a nice photo from Flickr.”

I personally like having random photos that we’ve taken or are meaningful to us for our website’s mast.

Here’s how to create your own random header images for your Kubrick-themed weblog using Photoshop:

Download Kubrick 1.2.6 and unzip.

Open ‘Kubrick Theme.psd’ in Photoshop (I’ve done these steps using Photoshop 5.5 & 7 in Windows and Photoshop CS on my iBook).

You only want to concern yourself with the ‘Blue Header’ layer (should be the fourth layer from the top).

Highlight the ‘Blue Header’ layer and select it with the Magic Wand Tool.

Select the Blue Header

Copy your selection (Ctrl+C, Command+C, Edit > Copy, what have you)

Open the photo(s) you want to use for your header. Note: your header image is going to be 720 x 182 pixels, your photo should be at least that.

Paste the copied ‘Blue Header’ layer onto your photo and change the opacity of your Blue Header to 50% so you can see your image in the background and position Blue Header to your liking.

Position the Blue Header

Once you have your Blue Header positioned, change the opacity back to 100%.

Use the Magic Wand Tool to select the Blue Header layer. Now highlight the background layer in your layers palette.

Select your background layer

Copy (Ctrl+C, Command+C or Edit > Copy) the background selection.

Open ‘kubrickheader.jpg’ (Kubrick v1.2.6/images) in Photoshop.

Paste your selection onto ‘kubrickheader.jpg’ and position accordingly.

Paste selection onto kubrickheader.jpg

Save your new header as whatever you like (I would name this one zebraheader.jpg). If you’re not going to have random images (new image upon page refresh), save it as kubrickheader.jpg and upload to yourwebsite.com/wp-content/themes/default/images

Congratulations. You have a custom header.

If you want rotating images, download Automatic’s image rotator and upload the script (rotator.php) to:
yourwebsite.com/wp-content/themes/default/images/rotator/ (create ‘rotator’ directory).

Upload all of your header images (see steps above) to your rotator folder. Rotator.php and your header images must be in the same folder.

Now to change your WordPress template:

For WordPress 1.5 login to your WordPress installation. Presentation > Theme Editor and click Header Template on the right.

Look about halfway down through the code and you will see: /images/kubrickheader.jpg

Change to: /images/rotate/rotate.php

That’s it!

Let me know if you have any problems or questions.

under: Nerdy
Digg it Add to del.icio.us Stumble it add to technorati

Related Post

  • OS X apps from the newbie (December 5th, 2005)
  • Clunky interface (November 23rd, 2005)
  • Week in review: iMac (November 18th, 2005)
  • TiVo setup (November 4th, 2005)
  • The Janiceks get TiVo (November 3rd, 2005)

44 Comments Received

Brian
March 9th, 2005 @9:33 pm  

You opened my eyes . . . finally. I was looking all over the web for the specifics of modding this theme. Thanks!

I have one suggestion: The easiest way to create custom header images, since you have access to the Kubrick Theme.psd is to drop your preferred image on a newly created layer just abobe the “Blue Header” layer. This eliminates the need to do all the selecting, cutting and pasting. Just be sure that your intended image is wide and tall enough before you copy into Kubrick Theme.psd. The mask on the layer above will “crop” the image for you. Then do a File:Save For Web in Photoshop. You’ll then have a new HTML page, but also an image directory with kubrickheader.jpg with your new image in it. Rename it and you have your new image ready for uploading. This also avoids recompressing the kubrickheader.jpg file — not that there would be much, if any, generational loss — but golly lossiness just eats away at me sometimes.

Thanks again for your pointers and help!

X
March 20th, 2005 @10:38 am  

typo:
/images/rotate/rotate.php should be /images/rotator/rotator.php

nice job on the photoshop how-to !

Jose Luis Hurtado
March 25th, 2005 @11:24 am  

Dear Josh & Elise,

Thanks a lot for this article, being new to Wordpress, your very clear and organized tutorial has been a God send!

I am just starting out my own site, is in Spanish since I live in South America, and will eventually post some tutorials in English too.

Have a peaceful and nice Good Friday,

Jose Luis

Anonymous
March 25th, 2005 @7:01 pm  

No need to switch to use Kubrick, a skin is available for blogger.

macewan
March 28th, 2005 @4:41 pm  

thanks for the howto

adam
April 18th, 2005 @11:32 am  

much appreciated

al
April 23rd, 2005 @4:01 pm  

good job on the psd - adding in guides would’ve help a bit
GREAT how to

James Adams
April 24th, 2005 @9:35 pm  

Great “How To!” I followed the directions word for word, implemented the typo fix and added four images to my header. That script is awesome - allowing me to add and delete images as needed from the directory without having to modify any code. Thanks again.

Mads
May 4th, 2005 @8:36 am  

Thanx - very easy word for word help you did there!
Its brilliant, dont wait publishing more features - fx how did you make the four buttoms in the header?

The Captain
June 13th, 2005 @6:41 pm  

I’d like to use Kubrick but make the white area black and the gray area a different color. I’ve been trying to use css to change, but with no luck, or maybe I’m doing something wrong. Seems like this should be simple…

Serena
June 25th, 2005 @4:29 am  

Great tutorial. My only problem is with my header images. For some reason theres a lighter shade of gray surrounding the header when I upload it. Hopefully I’ll get it soon.

stchatterbox
June 26th, 2005 @1:28 am  

Janicek,
Your tutorial is really great! I’ve already recommended it to many of my friends who run wordpress and they are really amazed! And also your rotator!
By the way, where in coldforged did you get the nav bar? it really looks cute..haha
[really a great how-to!]
Cheers!

Magnus
July 31st, 2005 @4:59 am  

Nice tutorial. It worked great i Gimp too.

boris
August 1st, 2005 @12:17 am  

Thanks for this nice tutorial. Worked with it in The Gimp and Paint Shop Pro - worked great, too. No need to buy extra photoshop licenses ;)

cHRIS
August 27th, 2005 @10:26 am  

Brilliant! Easy and quick walktrough, of something I thought was much harder. Thanks for it!

(btw, read the second comment on this post again, hehe)

Ted
August 28th, 2005 @5:49 pm  

Exactly what I was looking for, using Kubrick theme in Blogger, used PSP (Paint Shop Pro) to do as above to make new header.

Working on it now.

Great stuff

Thanks

Ted

Shahram
September 4th, 2005 @4:13 pm  

thanks for sharing it.
Excellent!

Zeth
November 6th, 2005 @12:23 pm  

Another approach is the header template that I made and posted here:

http://wordpress.org/support/topic/45541

You basically drop it over an image it the GIMP or whatever and you are done.

troppmann
December 21st, 2005 @3:16 pm  

THANK You, great GREAT plugin…

Mark
February 1st, 2006 @1:46 pm  

Is there any way at all to duplicate this with Graphic Converter on the Macintosh? I really don’t want to buy Photoshop for this one job, after all, and GC is pretty comprehensive.

I’m fiddling, but so far can’t find anything. Thanks!

John
April 28th, 2006 @8:30 pm  

I’ve thoroughly enjoyed your tutorial. Thank you for making and sharing the templates too, these really have made my life easier.

I use GIMP and the key step that finally got it working for me was this: after pasting the “Blue Header” onto an image I want to banner, I had to manually change the pasted “Blue Header” into a layer, otherwise it wasn’t being treated as one.

Regards from sunny Arizona!

Jane
December 15th, 2007 @7:07 am  

Thank you so much for this very straight-forward tutorial. I was wondering how to get rid of the white and grey borders in the header. It is probably something quite simple, but I can’t seem to figure it out. I would really appreciate your help with that. I have my header at http://rowanista.com .

Dan Myers
April 7th, 2008 @8:21 am  

I’m a newbie at this sort of thing, however I have followed your directions above and have created a banner with my desired photo. My problem comes in trying to load it into WP. I don’t exactly know to go about that. This what I have done. Fetch is my http://FTP. I opened Fetch and moved to themes. I found my WP default template 1.5 (Michael Hellmann). Opened it and found the header file. I deleted it and replaced it with kubrickheader.jpg. That didn’t work. I tried other header files, e.g. kubrickheader.gif, kubrickheader.psd, kubrickheader.png. None worked for me. After placing the header file in Fetch, I went to my web site and clicked the 1.5. template. When I go to view the site, as you can see, I have a blank white top banner. I also went to the theme editor and clicked “header” under WP Default theme files and then updated that file. Clearly I’m doing something wrong, but can’t seem to figure it out. Your instructions seem so straight forward, but I’m not getting it yet. Your help will be very appreciated.

I notice on my WP Current Theme page, under my default, it says, “all of this theme’s files are located in Wp-content/themes/wordpress-default-15.” Am I missing something here? Do I need to go there and change something, and if so, how do I get there?

When you go to my web page, I may have another theme loaded, but when I have the default 1.5 loaded there is simply a blank top white banner. Thank you!!

Josh
April 7th, 2008 @11:04 am  

You need to reference the new image file name in the code of your header. You’ll need to find the section in your WP header code that calls the header image. So if you named your file “kubrickheader.jpg”, find the section of code in your theme’s header that references the image and change it to “kubrickheader.jpg”

So, for example, change:

Wp-content/themes/wordpress-default-15/header.jpg

to

Wp-content/themes/wordpress-default-15/kubrickheader.jpg

Pingback & Trackback
Pingback from edsmiley.com » Blog Archive » Rotating Banner in April 20th, 2005 @2:47 am  
Pingback from Litux Blog in May 23rd, 2005 @11:01 am  
Pingback from cms.STNetwork.de in June 29th, 2005 @5:07 am  
Pingback from Grindblog in August 5th, 2005 @2:22 pm  
Pingback from X’s klog » Blog Archive » This klog in January 27th, 2006 @7:38 pm  
Pingback from Frank-Oppel.de » Blog Archive » Headerimage im Default WordPress Template/Theme ändern in February 5th, 2006 @4:13 pm  
Pingback from Gilles Dubois Bookmarks » links for 2006-02-13 in February 12th, 2006 @8:26 pm  
Pingback from Real Estate Marketing » Changing picture in Wordpress in March 15th, 2006 @4:54 pm  
Pingback from WordPressÈ÷˺Ͽ euc-jp » ¥Ø¥Ã¥À¤Î²èÁü¤ò¼«Æ°Åª¤ËÊѹ¹¤¹¤ë in April 24th, 2006 @3:21 am  
Pingback from Estalentao.com » Blog Archive » Agradecimientos. in May 11th, 2006 @11:36 pm  
Pingback from ..iToday » Blog Archive » Randomized Head-image in May 25th, 2006 @6:49 am  
Pingback from Nogz Blogz » Kubrick Customisation Tips in June 7th, 2006 @1:18 pm  
Pingback from Andrea Posarelli » Blog Archive » Il nuovo sito… in July 13th, 2006 @11:20 am  
Pingback from isambard :: information architects » Blog Archive » wordpress customisation #2: random headers with rotator in August 8th, 2006 @3:39 pm  
Pingback from Relatório Policial Militar » Blog Archive » Como fiz a imagem de cabeçalho do blog in August 17th, 2006 @10:29 pm  
Pingback from ThaiBlogger.org » Blog Archive » rotate header: You Are What You Blog in August 29th, 2006 @10:33 pm  
Pingback from Diário de um Policial Militar » Blog Archive » Jeitinho pra fazer uma imagem de cabeçalho do Kubrick in November 15th, 2006 @8:46 am  
Pingback from Random Custom Header Image for Kubrick Default Wordpress Theme in July 17th, 2007 @8:46 pm  
Pingback from Brush With Extinction » Blog Archive » Week 15 – My Kingdom for a Theme in August 24th, 2007 @11:13 am  
Pingback from Widescreen Life in Pan and Scan » Blog Archive » How to Make a Kubrick in September 17th, 2007 @11:37 pm  
Leave A Reply

Please Note: Comments maybe under moderation after you submit your comments so there is no need to resubmit your comment again

« Today two years ago
Rain when he dies »

What's Josh doing?


follow janicek at http://twitter.com

Advertisment

Want to advertise here? contact Josh

Search

Links

  • About Us
  • Cabo Blogo
  • Crib
  • Great Names for a Band
  • Haggard and Halloo
  • HartzVictims.org
  • Janicek.com
  • Josh cooks
  • Josh’s LinkedIn
  • Josh’s MySpace
  • joshjanicek.com
  • Julie Thomas
  • Maly.TV
  • Matt Montgomery
  • Metrofusion
  • Oh, baby!
  • Photos
  • Ta-da list
  • The Englers
  • The Fenders
  • The Janishecks
  • The Stenes
  • Wishlist

Archives

  • June 2008 (14)
  • May 2008 (15)
  • April 2008 (11)
  • March 2008 (9)
  • February 2008 (8)
  • January 2008 (8)
  • December 2007 (8)
  • November 2007 (10)
  • October 2007 (6)
  • September 2007 (9)
  • August 2007 (6)
  • July 2007 (9)
  • June 2007 (7)
  • May 2007 (6)
  • April 2007 (12)
  • March 2007 (10)
  • February 2007 (6)
  • January 2007 (7)
  • December 2006 (4)
  • November 2006 (7)
  • October 2006 (7)
  • September 2006 (8)
  • August 2006 (13)
  • July 2006 (9)
  • June 2006 (8)
  • May 2006 (11)
  • April 2006 (10)
  • March 2006 (17)
  • February 2006 (16)
  • January 2006 (22)
  • December 2005 (27)
  • November 2005 (30)
  • October 2005 (31)
  • September 2005 (26)
  • August 2005 (23)
  • July 2005 (14)
  • June 2005 (19)
  • May 2005 (21)
  • April 2005 (31)
  • March 2005 (39)
  • February 2005 (17)
  • January 2005 (25)
  • December 2004 (15)
  • November 2004 (19)
  • October 2004 (20)
  • September 2004 (8)
  • August 2004 (7)
  • July 2004 (10)
  • June 2004 (4)
  • May 2004 (14)
  • April 2004 (15)
  • March 2004 (22)
  • February 2004 (10)
  • January 2004 (15)
  • December 2003 (17)
  • November 2003 (13)
  • October 2003 (13)
  • September 2003 (8)
  • August 2003 (9)
  • July 2003 (14)
  • June 2003 (22)
  • May 2003 (18)
  • April 2003 (9)
  • March 2003 (15)
  • February 2003 (10)
  • January 2003 (6)
  • December 2002 (10)
  • November 2002 (11)
  • October 2002 (16)
  • September 2002 (15)
  • August 2002 (28)
  • July 2002 (18)
  • June 2002 (25)
  • May 2002 (17)
  • April 2002 (16)
  • March 2002 (12)
  • February 2002 (10)

Ads

Recent Entries

  • Identity theft update
  • Identity theft
  • Physical exam for PBSC donation
  • Bachelor weekend roundup
  • Matt does his dance in Austin
  • Culinary endeavor: The Ultimate Bacon Sundae
  • Aggressive student loan paydown update
  • Odds
  • My Lakers fan
  • The peeing milestone
  • Father’s Day
  • Cheezin’ Czechs
  • iPhone photo roundup

Recent Comments

  • Cap in Identity theft update
  • tsalinas in Identity theft update
  • jeff in Identity theft update
  • That New Car Sm… in Bachelor weekend roundup
  • That New Car Sm… in Culinary endeavor: The Ultimate Bac…
  • Tim in Identity theft
  • travis in Physical exam for PBSC donation
  • Janicek.com - P… in Perspective
  • travis in Odds
  • Janicek.com - A… in The chopping block: college days de…

Most Comments

  • Pinnacle Studio 8 serial number (91)
  • Random image banner for Kubrick (44)
  • Sprint sucks (38)
  • Girl Power (24)
  • iTunes crashes Windows 2000 Professional (9)
  • Fanatic goat (6)
  • Maly Elizabeth Janicek (6)
  • Always and Forever... and Technology (5)
  • Campaign for the Environment (5)
  • Dinner for a triple decader (5)
  • High speed dirt (5)
  • Locked, cocked and ready to rock (5)
Box-Tube Box Modulize WordPress Theme By Dezzain Studio
©2006-2008 Janicek.com
Powered by WordPress 2.5.1    Valid XHTML    Valid CSS