Post Images

Over eighteen months ago WordPress introduced built in thumbnail support, this is now a part of the Twenty Ten theme, however many themes like magazine themes and layouts may need a custom size, in this tutorial we will add support for two sizes that we are going to use to display posts with an image and the post excerpt, we will use one of these now for our archive and index page, the other later when we tackle a two column layout.

If we follow the steps in this tutorial we will be able to add two custom images sizes to a theme and retrieve the images to use in our archive and home page post list, we will be looking at the code that returns the images.

We will be editing the loop template part and be able to create a basic magazine style layout for a website using WordPress.

Continue reading