Posts Tagged "Rustic Portrait"

Rotating Custom Header Image

Posted by on Sep 6, 2008 in About My Themes | 39 comments

Now you can customize your header image with just a few clicks of buttons! This is done with the use of the GD graphics technique. How does it work? First, I will decide which area of the header to allow custom image. Then I’ll program that section and assign a folder for you to upload your own images. How to make it work? Very simple. After you have unzipped the theme, you’ll find a folder named “custom” (for Photo Frame theme) or “photos” (for Postage Sydney theme). Simply upload your image(s) with the correct size to the folder and that image(s) will show up in the header. What is the file extension for the image? Your image should be in .jpg format. What if I upload more than 1 image? Your images will be rotated when you click refresh button a few times. As an example, look at our Photo Frame theme as shown below. As you can see, there are 3 photo frames in the header. I have programmed the theme such that you can change the image in the middle frame. I have uploaded these 2 images to the “custom” folder (for the Postage Sydney theme, upload your images to the “photos” folder) To show the second image, just click the refresh button a few times and the first image will be replaced by the second one. I even rotate and resize the uploaded images so that it fits in the middle frame nicely! What is the server requirement? To make this work, your web server should have GD Library supported. GD is an open source code library for the dynamic creation of images by programmers. To check if your server supports this feature, follow this simple instruction: Download this GD testing file Unzip the file and upload it to your server Open the file in any browser If your server supports GD, all the items should display “Yes” The server report for Templatelite can be seen here. What if my web server doesn’t support GD Library? The effect will not show up. Instead, the header image will show a default image. In the case of the Photo Frame theme, the default image is a butterfly as shown below: Themes that are currently using this effect: – Photo Frame (Recommended image size: 300×240 px and above) – Postage Sydney (Recommended image size: 180×200 px and...

Read More

Experience ThemeMask

View a mask:

Get the masks now!


Theme runs on
Elegantthemes Chameleon