Images are often the heaviest part of a web page. On many Pakistani business websites we review, a single uncompressed banner weighs more than the rest of the page combined. That hurts loading speed on mobile data, and it wastes a chance to rank in Google Images and visual search.
Good image SEO fixes both problems. Here’s a practical checklist for 2026.
1. Choose the Right Format
- WebP: the best default for most photos and graphics. It is widely supported and usually much smaller than JPEG or PNG at similar quality.
- AVIF: can be even smaller, and browser support is now broad. Many image plugins and CDNs can serve it automatically with a fallback.
- SVG: ideal for logos and icons because it stays sharp at any size and is tiny.
- PNG: use only when you need transparency and WebP isn’t an option.
- JPEG: still fine as a fallback, but compress it.
2. Resize Before You Upload
Don’t upload a 5000-pixel photo straight from a phone or camera to display it at 800 pixels wide. Resize images to roughly the largest size they’ll be shown at (allowing for high-density screens), then compress them. Free tools such as Squoosh, or WordPress plugins like ShortPixel, Imagify or EWWW, can do this in bulk.
As a rough guide, aim to keep most content images under 150 KB and hero images under 250 KB.
3. Use Descriptive File Names
“IMG_20261012_154233.jpg” tells Google nothing. Rename files before uploading, using short, descriptive, hyphen-separated words:
- Bad:
DSC0012.jpg - Good:
solar-panel-installation-lahore-rooftop.webp
4. Write Useful Alt Text
Alt text describes an image for screen reader users and helps search engines understand it. Good alt text is specific and natural:
- Weak: “image”, “product”, or a list of keywords.
- Better: “Technician installing rooftop solar panels on a house in DHA Lahore”.
Decorative images, such as background shapes, can have empty alt text so screen readers skip them. Don’t stuff keywords into alt text; describe what’s actually in the image.
5. Add Width and Height Attributes
When the browser doesn’t know an image’s dimensions, the page jumps around as images load. This hurts Cumulative Layout Shift (CLS), one of the Core Web Vitals. WordPress adds width and height automatically for images in posts, but custom themes and page builders sometimes don’t, so check your templates.
6. Lazy-Load Below-the-Fold Images Only
Lazy loading delays offscreen images until the user scrolls near them, which saves bandwidth. But never lazy-load your main hero image or the first product image: that delays Largest Contentful Paint (LCP). For the LCP image, you can add fetchpriority="high" so the browser loads it first.
7. Serve Responsive Images
Responsive images (using srcset) let phones download a smaller version than desktops. WordPress generates these automatically. If you use a custom-coded site, make sure your developer implements them, especially since most Pakistani visitors browse on mobile.
8. Use a CDN
A content delivery network stores copies of your images on servers closer to visitors and can convert formats on the fly. Cloudflare, Bunny and many hosting providers offer image optimisation. This is especially useful if your hosting server is outside Pakistan.
9. Place Images Near Relevant Text
Google uses the surrounding content, page title and captions to understand images. Put product photos next to product descriptions and diagrams next to the step they explain. Captions are read far more than body text, so use them when they add context.
10. Use Original Images Where Possible
Stock photos are fine for decoration, but original photos of your team, office, products and completed projects build trust with visitors and are more likely to appear in image results. They also help show real experience, which matters for quality and for AI systems deciding which sources to trust.
11. Add Image Data to Structured Data
For products, recipes, articles and local businesses, include an image URL in your schema markup. This can make your listings eligible for richer results in search and in shopping surfaces.
12. Check an Image Sitemap (Optional)
Most SEO plugins include images in your XML sitemap automatically. If your images load via JavaScript or from a separate domain, an image sitemap helps Google discover them.
Quick Image SEO Checklist
- WebP or AVIF format, with SVG for logos
- Resized to display size and compressed
- Descriptive, hyphenated file name
- Specific, natural alt text
- Width and height set
- Hero image not lazy-loaded
- Responsive sizes and a CDN
- Original photos where possible
Final Thoughts
Image optimisation is one of the quickest wins in technical SEO. Most sites can cut page weight dramatically in an afternoon, improving speed, user experience and visibility at the same time.
Want us to audit your website’s images and page speed? Digital Ranker Pakistan can find the heaviest files and fix them for you.
Looking to Accelerate Your Performance?
Our team builds strategic search roadmaps, media outreach pipelines, and bespoke software solutions tailored to your operational goals.