The default Kubrick WordPress theme contains a really confusing bunch of code to construct the header image. They use PHP to construct the image if you have special image drawing libraries on your web hosting server. If you don’t then it just used a plain old image and you won’t be reading this. But… if you are reading this it means you are having trouble editing/deleting/inserting a new image into the default WordPress theme.
Here is the easiest way to change the kubrickheader.jpg image:
1) open the file /wp-content/themes/default/images/header-img.php
2) go to line # 11 where it says
if ( ! function_exists(‘imagecreatefromjpeg’) )
3) remove the ! from that line so it says
if ( function_exists(‘imagecreatefromjpeg’) )
4) change the the two places where it says kubrickheader.jpg to read kubrickheader1.jpg (or your new header image’s filename)
5) use Mozilla FireFox to view the background image for your WordPress site
6) create a new image and call it kubrickheader1.jpg (or your new header image’s filename)
7) edit the default WordPress theme style.css file and change the code kubrickheader.jpg to kubrickheader1.jpg (or your new header image’s filename)
8) make sure all the files are uploaded to your web hosting server and that should do it
Why they made the theme like this, I dont know?
One for all and all for one, Muskehounds are always ready. One for all and all for one, helping everybody. One for all and all for one, it's a pretty story. Sharing everything with fun, that's the way to be. One for all and all for one, Muskehounds are always ready. One for all and... Read more
Just the good ol' boys, never meanin' no harm. Beats all you've ever saw, been in trouble with the law since the day they was born. Straight'nin' the curve, flat'nin' the hills. Someday the mountain might get 'em, but the law never will. Makin' their way, the only way they know how... Read more