How to Fix Huge Images in Gmail

Every now and then, someone sends a huge image to my Gmail account. This leads to frustration, because I’m then unable to see my reply, which goes off the right side of the screen. The fix for this is relatively-simple and only 2 steps:

Step 1: Install Stylebot in Chrome or Firefox.

Step 2: Add the following to the Stylebot code on your Gmail page:

.nh img,
.nH img {
  max-width: 90%;
  height: auto;

That’s it! Here’s an example result:

image too big in gmail
How to Fix Huge Images in Gmail 3

Here’s what your Stylebot code should look like:

how to fix huge images in gmail
How to Fix Huge Images in Gmail 4


Toby Cryns

Toby Cryns is a freelance CTO, expert WordPress developer, and teacher.

He offers free advice to improve your freelance biz.

He also publishes small droppings every now and them to and

Follow Toby's contributions on Github and