Adam Laycock


Featured Posts

Moving to Gatsby

4th December 2018

Ive moved my site over to Gatsby!

Everything an Option in the Theme

18th August 2016

My aproach to WordPress theme development.

RADIUS With Windows Server 2012R2

22nd July 2016

RADIUS authentication for wireless networks using NAP in Windows Server 2012R2.

Plugin Highlight: Crop Thumbnails

13th September 2016

I used the Crop Thumbnails Plugin on pretty much every WordPress site I setup. More and more WordPress themes are becoming image heavy using a pre post image in particular. All the designs from our designer feature images on every page and most of our sites leverage the featured image feature in WordPress.

This quite often leads to cropping issues as WordPress tries its best to cut out a square int he middle.

The theme I use here makes use of Featured Images all over the place and at all sizes. For example I have the WordPress logo & word mark appear for posts that are about WordPress in general.

WordPress word mark The original image.

WordPress' Attempt WordPress’ attempt at cropping.

You can see from this that WordPress has clipped the edge off both sides of the image to get it into a 1:1 square.

With Crop Thumbnails I can draw the cropping box myself making sure not to clip anything.

With crop thumbnails Using Crop Thumbnails.

Much Better!

There was no way to fit the whole of WordPress into the ratio of the thumbnails on this theme but I could fit the logo. In the WordPress media library this image is the same as the full word mark. There is also no wasted space in this image with the logo nearly touching every side.

You can see from the Jekyll image on this site that sometimes you can’t quite get it but with Crop Thumbnails I can at least control where the clipping happens.

Jekyll Logo This image is too wide to be cropped neatly at all.

You can get Crop Thumbnails from here.

Other Posts

Surface Pro 3 a Review

7th September 2016

My review of the extremely successful Surface Pro 3

WP Controls, Multiple Icons & Images for WordPress

23rd September 2016

Reusable controls for the WordPress theme customizer

Adam Laycock
Recent Articles

All content is my own unless otherwise stated.

My content is licensed under the CC-BY-NC-SA 4.0 license

cc by-nc-sa