Posts Tagged america held hostage

Creating and Editing Images in PHP

Yesterday I promoted a dynamic badge I created for America Held Hostage.  Today I’m going to explain how I went about creating this badge.

First, I designed my badge in Photoshop:

Couldn’t I have just used PHP to create this image? Well, of course I could have. But that wouldn’t be a responsible use for resources either system or development. The essentials of the badge won’t change and making it all dynamic is silly.

Now that we have the badge, we simply want to add text to it using PHP. In this case, we’re going to add a countdown till January 20, 2009.

Read the rest of this entry »

, ,

2 Comments

America Held Hostage Badge

I spent some time last night working on a badge for America Held Hostage.  I originally designed it with a database backend to track unique referrers. I imagined this would help me indicate the number of supporters on the badge, similar to the way you can use a badge with feedburner to indicate the number of subscribers you have.

However, this idea had a couple of problems. For instance, when you add the badge to your site footer, you get a unique referrer for each page. This would also be a problem virtually everywhere else you added it.

Plus, a limited number of users wouldn’t help the bandwagon feel. No one wants to join a movement with 5 adherents.

In light of this, I went with a countdown instead. You can see this on the right sidebar of this site.

You can add this badge to your site with the following code:

<a href="http://www.americaheldhostage2.com/" target="_blank">
<img src="http://www.americaheldhostage2.com/badge.php" border="0" alt="" />
</a>

This yields the following result:

These instructions can be found here.

I will post instructions on how I created this badge soon.

4 Comments

America Held Hostage 2

In memory of the original “America Held Hostage” as coined by Rush Limbaugh, I have setup the following site:

http://www.americaheldhostage2.com/

America Held Hostage 2

Welcome to the Soviet Union.

We can begin the countdown till our country once again may choose between a republican form of government and a socialist one.

,

5 Comments