{"id":3600,"date":"2026-11-10T10:10:06","date_gmt":"2026-11-10T10:10:06","guid":{"rendered":"https:\/\/wiki.designcorner.co.ke\/?dc_article=add-and-resize-images-the-right-way"},"modified":"2026-11-10T10:10:06","modified_gmt":"2026-11-10T10:10:06","slug":"add-and-resize-images-the-right-way","status":"publish","type":"dc_article","link":"https:\/\/wiki.designcorner.co.ke\/?dc_article=add-and-resize-images-the-right-way","title":{"rendered":"Add and Resize Images the Right Way"},"content":{"rendered":"<p class=\"dcw-guide-intro\">Images are usually the heaviest part of a web page. A single photo straight from a phone can be several megabytes, which is slow on mobile data and eats storage. A minute of preparation per image keeps your site fast.<\/p>\n<ol class=\"dcw-steps\">\n<li class=\"dcw-step\">\n<h2 id=\"step-1\"><span class=\"dcw-step-num\">1<\/span>Resize before uploading<\/h2>\n<p>Most images do not need to be wider than about 1,600\u20132,000 pixels for full-width banners, or 800\u20131,200 pixels for images inside content. Resize with any photo editor before uploading.<\/p>\n<\/li>\n<li class=\"dcw-step\">\n<h2 id=\"step-2\"><span class=\"dcw-step-num\">2<\/span>Compress the file<\/h2>\n<p>Use an image compression tool or a WordPress plugin to reduce file size without visible loss. Modern formats like WebP are much smaller than JPEG for the same quality.<\/p>\n<p class=\"dcw-note dcw-note-tip\"><strong>Tip:<\/strong> Aim for most images to be under 200 KB, and hero banners under about 400 KB.<\/p>\n<\/li>\n<li class=\"dcw-step\">\n<h2 id=\"step-3\"><span class=\"dcw-step-num\">3<\/span>Name the file clearly<\/h2>\n<p>Rename files to describe them before uploading, such as office-reception-westlands.jpg rather than IMG_2034.jpg.<\/p>\n<\/li>\n<li class=\"dcw-step\">\n<h2 id=\"step-4\"><span class=\"dcw-step-num\">4<\/span>Upload and add alt text<\/h2>\n<p>Upload through Media \u2192 Add New or directly in the editor. Write alt text describing what the image shows, for visually impaired visitors and for Google.<\/p>\n<\/li>\n<li class=\"dcw-step\">\n<h2 id=\"step-5\"><span class=\"dcw-step-num\">5<\/span>Use the right size in the page<\/h2>\n<p>Choose an appropriate image size in the block settings rather than always &#039;Full Size&#039;. Modern WordPress also loads images lazily, so images further down the page load only when needed.<\/p>\n<p class=\"dcw-note dcw-note-warn\"><strong>Watch out:<\/strong> Do not upload images you found on Google Images. Use your own photos or properly licensed images.<\/p>\n<\/li>\n<\/ol>\n<h2 id=\"common-mistakes\">Common mistakes to avoid<\/h2>\n<ul class=\"dcw-mistakes\">\n<li>Uploading 5 MB phone photos directly.<\/li>\n<li>Leaving alt text empty or stuffing it with keywords.<\/li>\n<li>Using images with text that is unreadable on phones.<\/li>\n<li>Keeping hundreds of unused images in the library.<\/li>\n<\/ul>\n<h2 id=\"faq\">Frequently asked questions<\/h2>\n<div class=\"dcw-faq\">\n<details>\n<summary>PNG or JPEG?<\/summary>\n<p>Use JPEG or WebP for photos and PNG or SVG for logos and graphics with sharp edges or transparency.<\/p>\n<\/details>\n<details>\n<summary>Why do my images look blurry?<\/summary>\n<p>The image may be smaller than the space it fills, or a plugin may be compressing too strongly. Upload a larger version and check compression settings.<\/p>\n<\/details>\n<details>\n<summary>Can I compress images that are already uploaded?<\/summary>\n<p>Yes. Most compression plugins can bulk-optimise your existing library. Take a backup first.<\/p>\n<\/details>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Prepare, compress and upload images so your site looks sharp and still loads quickly on mobile data.<\/p>\n","protected":false},"author":1,"featured_media":0,"template":"","dc_topic":[33],"dc_path":[51],"class_list":["post-3600","dc_article","type-dc_article","status-publish","hentry","dc_topic-wordpress","dc_path-run-a-wordpress-site"],"_links":{"self":[{"href":"https:\/\/wiki.designcorner.co.ke\/index.php?rest_route=\/wp\/v2\/dc_article\/3600","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wiki.designcorner.co.ke\/index.php?rest_route=\/wp\/v2\/dc_article"}],"about":[{"href":"https:\/\/wiki.designcorner.co.ke\/index.php?rest_route=\/wp\/v2\/types\/dc_article"}],"author":[{"embeddable":true,"href":"https:\/\/wiki.designcorner.co.ke\/index.php?rest_route=\/wp\/v2\/users\/1"}],"version-history":[{"count":0,"href":"https:\/\/wiki.designcorner.co.ke\/index.php?rest_route=\/wp\/v2\/dc_article\/3600\/revisions"}],"wp:attachment":[{"href":"https:\/\/wiki.designcorner.co.ke\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3600"}],"wp:term":[{"taxonomy":"dc_topic","embeddable":true,"href":"https:\/\/wiki.designcorner.co.ke\/index.php?rest_route=%2Fwp%2Fv2%2Fdc_topic&post=3600"},{"taxonomy":"dc_path","embeddable":true,"href":"https:\/\/wiki.designcorner.co.ke\/index.php?rest_route=%2Fwp%2Fv2%2Fdc_path&post=3600"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}