Techniques

Serve Resized Images with PHP

This is the first tutorial of our PHP image tutorial series. There are many reasons we use PHP to serve images on sites including: resizing, watermarking, manipulation, skewing, server-caching, etc. This will cover the basics of serving and resizing an image with PHP. This technique will work with JPG, JPEG, GIF & PNG (more…)


PHP Image Manipulation Functions

Lets define some PHP functions we’ll be calling on for our PHP image tutorial series. We define all these functions in a file named functions.phtml and call it in our PHP code through (more…)


Select code in snippets with jQuery

This tutorial will show we use jQuery to create “Select Code” links in our Code Sippets.

Before jumping into this jQuery technique, you may want to see our tutorial on how we construct our Consistent Cross-Browser Code Snippets.

Building on our Code Snippet technique we add (more…)


Consistent Cross-Browser Code Snippets

How did we create and style consistent cross-browser Code Snippets with <pre> and <code> tags and some simple CSS.

The problem, not all browsers treat the padding of the <pre> tag the same. I know what your first thought was…”It’s Internet Explorer!”, wrong actually the culprit is (more…)


CSS Reset anyone?

When we create a new site’s CSS, we start with a CSS Reset to level the playing field between browsers. The problem, not all browsers treat the margin, padding, line height, font size, styling, text decoration, etc. the same, (more…)


What WordPress plugins do we use?

A list of the WordPress plugins we recommend and use.

(more…)