All posts in " images "
0 Shares

Lazy Loading Gravatars in WordPress

By seorocket / a couple of months ago

Most WordPress themes show user Gravatars in the comment threads. It’s a way of showing an image with the user, as associated by the email address used. It’s a nice touch, and almost an expected design pattern these days. Every one of those gravatars is an individual HTTP request though, like any other image. A […]

0 Shares

Measuring Image Widths in JavaScript (Carefully!)

By seorocket / a few months ago

Let’s say you want to find an <img> on the page and find out how wide it is in JavaScript. Maybe you need to make some choices based on that width (or height, or both) You can definitely do that. The DOM will even give you a variety of dimensions to choose from depending on […]

0 Shares

Develop Locally, Use Images from Production

By seorocket / a few months ago

Working on your website locally means having the files that make your website tick right there on your computer. It’s common those files live in a version control repository. You work on them, and push them up to the repo when you are ready. Other people work too, and you pull their changes back down. […]

0 Shares

Using WebP Images

By seorocket / 9 months ago

A version of this article was first posted on Jeremy’s blog. It was Jeremy’s idea to repost here to spread the good word about WebP and the performance benefits. Something he knows about as an author of an (upcoming) web perf book. We’ve all been there before: You’re browsing a website that has a ton […]

Page 1 of 2