meridian_rose: pen on letter background  with text  saying 'writer' (Default)
[personal profile] meridian_rose
Sig.grumpybanners went down on Friday, meaning my rotating header did not show up. This site was the easiest, no php required, option to adding a rotating header. (ETA: Typically it is now working again)

After more than a day of this I decided to tackle the issue again. I knew it required php but I thought it would be difficult to implement. Turns out it's not that difficult to make a rotating header with a few tools and a user friendly php script, providing you have access to a host site (eg personal webspace).
You will need to upload files, so you'll probably also need to use an FTP client. I'd say these instructions as for intermediate users with some knowledge of website design/maintenance, or beginners who are willing to do a bit of reading and experimenting with the necessary software.

This post is largely for my reference, to remind me how I accomplished this, should I ever need to set it up again. My memory for such things cannot be relied upon! But if you find it useful, I'm happy to have helped.


You will need somewhere to store your images and the php file, ie some webspace. You may already have webspace as part of your interent service provider's package. Or you can sign up for some free or cheap webspace. Check the provider's documentation to ensure they support php.

You'll need an FTP client. This is probably one of the more fiddly aspects to get used to using. There are plenty of free clients – I'm still currently using WS-FTP95-LE. Newer versions may be more user friendly! You'll need your details from your webspace – user name, password, etc – to log in with the client.

Use the FTP client to load your headers into a suitable folder you've made on your host/webspace, eg 'images'.

Now go to this site which talks about how to randomize images on your web page (and in this case your journal). It includes a link to the php script.

Open that link and copy the entire text. Paste the text into a notepad document. Save the document as rotate.php

Now upload the rotate.php file to the same folder as your images.

Finally change the header url in your journal's customize style – custom css (LJ) or images (DW) to link to the php file. It will look something like this:
http://www.yourname.webspace.freewebspace.com/images/rotate.php

Simply upload or delete header images from the folder as you desire, the script will do the rest.

Date: 2012-09-02 09:49 am (UTC)
ext_19622: (Default)
From: [identity profile] xfirefly9x.livejournal.com
*sigh* Guess I won't be doing rotating headers again.

Date: 2012-09-04 05:21 am (UTC)
ext_19622: (Default)
From: [identity profile] xfirefly9x.livejournal.com
Oh? I had convinced myself it was down for good somehow.

I'll bookmark this post in case of that ever happening, I think - though it's doubtful I will bother with it should that happen. Too much work. :P

Thanks.

May 2025

S M T W T F S
    123
45678910
111213141516 17
18192021222324
25262728293031

Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Jun. 15th, 2025 05:37 am
Powered by Dreamwidth Studios