{"id":2648,"date":"2024-09-20T17:04:56","date_gmt":"2024-09-20T17:04:56","guid":{"rendered":"https:\/\/nel-media.com\/en\/?p=2648"},"modified":"2024-12-24T10:45:48","modified_gmt":"2024-12-24T10:45:48","slug":"optimize-images-and-reduce-image-size-for-web","status":"publish","type":"post","link":"https:\/\/nel-media.com\/en\/optimize-images-and-reduce-image-size-for-web","title":{"rendered":"How to optimize images and reduce image size for web (before upload)"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">Introduction <\/h2>\n\n\n\n<p>Image optimization can involve compression, resizing, choosing the right format (e.g., JPEG, PNG, WebP), and implementing techniques such as lazy loading.<\/p>\n\n\n\n<p>All these measures contribute to creating a faster, more efficient, and more enjoyable website.<\/p>\n\n\n\n<p>Although we are focusing on the WordPress platform here, these techniques can be applied to any website.<\/p>\n\n\n\n<p>While optimization can be applied after upload using various plugins, it&#8217;s best to optimize images on your computer first.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Why optimize images for a website at all?<\/h2>\n\n\n\n<p>Optimizing images for a website has several important advantages:<\/p>\n\n\n\n<p><strong>Reducing server costs:<\/strong> Smaller images take up less server space and require fewer resources to serve, which can reduce costs, especially for high-traffic websites.<\/p>\n\n\n\n<p><strong>Faster page loading:<\/strong> Unoptimized images are often large, significantly slowing down website loading times. Faster loading improves user experience and helps with SEO ranking.<\/p>\n\n\n\n<p><strong>Reduced bandwidth usage:<\/strong> Optimized images consume less bandwidth, which benefits both site owners and visitors, especially those with limited data or slow internet connections.<\/p>\n\n\n\n<p><strong>Improved SEO results:<\/strong> Page speed is a factor that affects SEO. Faster pages are more likely to rank highly in search engines, which can increase visitor numbers.<\/p>\n\n\n\n<p><strong>Better user experience:<\/strong> Faster page loading, along with clearly displayed and properly sized images, contributes to a more pleasant user experience, which can increase user retention on the site.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Choosing the correct format<\/h2>\n\n\n\n<p>The first optimization we can easily apply is selecting the format in which to save the image.<\/p>\n\n\n\n<p>Here is the size of an image saved in two different formats.<\/p>\n\n\n\n<p><\/p>\n\n\n\n<figure class=\"wp-block-table is-style-stripes\"><table class=\"has-ast-global-color-3-background-color has-background has-border-color has-ast-global-color-1-border-color has-fixed-layout\" style=\"border-style:solid;border-width:3px\"><thead><tr><th class=\"has-text-align-center\" data-align=\"center\">FORMAT<\/th><th class=\"has-text-align-center\" data-align=\"center\">SIZE<\/th><\/tr><\/thead><tbody><tr><td class=\"has-text-align-center\" data-align=\"center\"><strong>PNG<\/strong><\/td><td class=\"has-text-align-center\" data-align=\"center\">170KB<\/td><\/tr><tr><td class=\"has-text-align-center\" data-align=\"center\"><strong>JPG<\/strong><\/td><td class=\"has-text-align-center\" data-align=\"center\">41.8KB<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>So, for online publication, we recommend the JPG format.<\/p>\n\n\n\n<p>Use PNG only if the image has transparency and another format cannot be used.<\/p>\n\n\n\n<p>It should be noted that the PNG format can also have a certain degree of compression.<\/p>\n\n\n\n<p>However, due to the nature of the format itself, significant savings in size are not possible.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Optimization using the TinyPng service<\/h2>\n\n\n\n<p>Additional optimization can be quickly and easily done using an online service called <strong><a href=\"https:\/\/tinypng.com\/\" target=\"_blank\" rel=\"noreferrer noopener\">TinyPng<\/a><\/strong>.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full\"><img decoding=\"async\" width=\"667\" height=\"306\" src=\"https:\/\/nel-media.com\/en\/wp-content\/uploads\/2022\/09\/tinypng-picture-transfer-1.jpg\" alt=\"Tinypng picture transfer window\" class=\"wp-image-2679\" srcset=\"https:\/\/nel-media.com\/en\/wp-content\/uploads\/2022\/09\/tinypng-picture-transfer-1.jpg 667w, https:\/\/nel-media.com\/en\/wp-content\/uploads\/2022\/09\/tinypng-picture-transfer-1-300x138.jpg 300w\" sizes=\"(max-width: 667px) 100vw, 667px\" \/><\/figure>\n\n\n\n<p>Simply drag and drop the image into the designated area, or upload it from your computer or mobile device by clicking on the space.<\/p>\n\n\n\n<p>TinyPng removes some information from the image to reduce its size.<\/p>\n\n\n\n<p>After <strong>TinyPng<\/strong> completes its job, it will show you how much the image has been optimized.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full is-resized\"><img decoding=\"async\" width=\"986\" height=\"121\" src=\"https:\/\/nel-media.com\/en\/wp-content\/uploads\/2022\/09\/tinypng-optimized-images2.jpg\" alt=\"tinypng optimized images\" class=\"wp-image-2678\" style=\"width:743px;height:92px\" srcset=\"https:\/\/nel-media.com\/en\/wp-content\/uploads\/2022\/09\/tinypng-optimized-images2.jpg 986w, https:\/\/nel-media.com\/en\/wp-content\/uploads\/2022\/09\/tinypng-optimized-images2-300x37.jpg 300w, https:\/\/nel-media.com\/en\/wp-content\/uploads\/2022\/09\/tinypng-optimized-images2-768x94.jpg 768w\" sizes=\"(max-width: 986px) 100vw, 986px\" \/><\/figure>\n\n\n\n<p>As you can see, the program does its job very well.<\/p>\n\n\n\n<figure class=\"wp-block-table is-style-stripes\"><table class=\"has-ast-global-color-3-background-color has-background has-border-color has-ast-global-color-1-border-color has-fixed-layout\" style=\"border-style:solid;border-width:3px\"><thead><tr><th class=\"has-text-align-center\" data-align=\"center\">Before<\/th><th class=\"has-text-align-center\" data-align=\"center\">After<\/th><th class=\"has-text-align-center\" data-align=\"center\">Savings<\/th><\/tr><\/thead><tbody><tr><td class=\"has-text-align-center\" data-align=\"center\">170KB (PNG)<\/td><td class=\"has-text-align-center\" data-align=\"center\">94.5KB<\/td><td class=\"has-text-align-center\" data-align=\"center\"><strong>-44%<\/strong><\/td><\/tr><tr><td class=\"has-text-align-center\" data-align=\"center\">41.8KB(JPG)<\/td><td class=\"has-text-align-center\" data-align=\"center\">31.6KB<\/td><td class=\"has-text-align-center\" data-align=\"center\"><strong>-24%<\/strong><\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>You will notice little difference in quality between the original and the converted image, but it now takes up much less space.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Additional image optimization<\/h2>\n\n\n\n<p>Additional optimization can be done by converting to the <strong>WebP<\/strong> format, which will further reduce the file size of your image.<\/p>\n\n\n\n<p>However, while this format is excellent for compression, you must check whether you can use it at all.<\/p>\n\n\n\n<p>If you expect visitors to your website using older devices and browsers, they might not be able to view this format.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Online Convert<\/h2>\n\n\n\n<p>The first option is an online service called <a href=\"https:\/\/image.online-convert.com\/convert-to-webp\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>Online Convert<\/strong>.<\/a><\/p>\n\n\n\n<p>Using it, you can convert not only to WebP but also between many other image formats.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full\"><img decoding=\"async\" width=\"600\" height=\"293\" src=\"https:\/\/nel-media.com\/en\/wp-content\/uploads\/2022\/09\/convert-image-to-webp3.jpg\" alt=\"convert image to webp\" class=\"wp-image-2668\" srcset=\"https:\/\/nel-media.com\/en\/wp-content\/uploads\/2022\/09\/convert-image-to-webp3.jpg 600w, https:\/\/nel-media.com\/en\/wp-content\/uploads\/2022\/09\/convert-image-to-webp3-300x147.jpg 300w\" sizes=\"(max-width: 600px) 100vw, 600px\" \/><\/figure>\n\n\n\n<p>You can convert up to 20 images at a time using the free version.<\/p>\n\n\n\n<p>The procedure is the same as with the previously described service, and the program will automatically download and save the converted image to your disk.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Conversion using IrfanView<\/h2>\n\n\n\n<p>The second conversion option is using the previously described <strong><a href=\"https:\/\/www.irfanview.com\/\" target=\"_blank\" data-type=\"link\" data-id=\"https:\/\/www.irfanview.com\/\" rel=\"noreferrer noopener\">IrfanView<\/a><\/strong> image viewer and editor.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full is-resized\"><img decoding=\"async\" width=\"270\" height=\"286\" src=\"https:\/\/nel-media.com\/en\/wp-content\/uploads\/2022\/09\/open-with-irfaview4-.jpg\" alt=\"open with irfaview\" class=\"wp-image-2674\" style=\"width:386px;height:auto\"\/><\/figure>\n\n\n\n<p>Select the image and right-click to choose <strong>Open with &gt; IrfanView<\/strong>.<\/p>\n\n\n\n<p>Immediately save the image in a different format by selecting <strong>Save&gt; (original folder)<\/strong> and choosing the WebP format.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full is-resized\"><img decoding=\"async\" width=\"347\" height=\"244\" src=\"https:\/\/nel-media.com\/en\/wp-content\/uploads\/2022\/09\/irfanview-save-orginal-folder5.jpg\" alt=\"irfanview save in(orginal folder)\" class=\"wp-image-2673\" style=\"width:449px;height:auto\" srcset=\"https:\/\/nel-media.com\/en\/wp-content\/uploads\/2022\/09\/irfanview-save-orginal-folder5.jpg 347w, https:\/\/nel-media.com\/en\/wp-content\/uploads\/2022\/09\/irfanview-save-orginal-folder5-300x211.jpg 300w\" sizes=\"(max-width: 347px) 100vw, 347px\" \/><\/figure>\n\n\n\n<p>At the same time, the WebP format options will open, where you only need to ensure that the Quality option is set to <strong>about 75%<\/strong>, as this is the best balance between compression and quality.<\/p>\n\n\n\n<p>You can experiment with this option to get the best quality and size on disk.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full is-resized\"><img decoding=\"async\" width=\"285\" height=\"308\" src=\"https:\/\/nel-media.com\/en\/wp-content\/uploads\/2022\/09\/options-webp-format-6.jpg\" alt=\" webp format settings\n\" class=\"wp-image-2675\" style=\"width:423px;height:auto\" srcset=\"https:\/\/nel-media.com\/en\/wp-content\/uploads\/2022\/09\/options-webp-format-6.jpg 285w, https:\/\/nel-media.com\/en\/wp-content\/uploads\/2022\/09\/options-webp-format-6-278x300.jpg 278w\" sizes=\"(max-width: 285px) 100vw, 285px\" \/><\/figure>\n\n\n\n<p>We have also created a table where you can see the savings you can expect.<\/p>\n\n\n\n<figure class=\"wp-block-table is-style-stripes\"><table class=\"has-ast-global-color-3-background-color has-background has-fixed-layout\" style=\"border-style:solid;border-width:3px\"><thead><tr><th class=\"has-text-align-center\" data-align=\"center\">Without Optimization<\/th><th class=\"has-text-align-center\" data-align=\"center\">TinyPng<\/th><th class=\"has-text-align-center\" data-align=\"center\">Conversion to WebP<\/th><\/tr><\/thead><tbody><tr><td class=\"has-text-align-center\" data-align=\"center\">170KB (PNG)<\/td><td class=\"has-text-align-center\" data-align=\"center\">94.5KB<\/td><td class=\"has-text-align-center\" data-align=\"center\">20.9KB<\/td><\/tr><tr><td class=\"has-text-align-center\" data-align=\"center\">41.8KB(JPG)<\/td><td class=\"has-text-align-center\" data-align=\"center\">31.6KB<\/td><td class=\"has-text-align-center\" data-align=\"center\">19.2KB<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>As we can see, the savings are significant, without noticeable quality changes in the images.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Reducing image resolution<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">What is resolution?<\/h3>\n\n\n\n<p>Image resolution refers to the level of detail an image can display and is usually measured in pixels.<\/p>\n\n\n\n<p>It is commonly expressed as the number of pixels in the width and height of an image, for example, 1920\u00d71080.<\/p>\n\n\n\n<p>The higher the resolution, the more detailed and clear the image, as it has more pixels to display information.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">When to reduce resolution?<\/h3>\n\n\n\n<p>For publishing on a website or webshop, it is advisable to reduce the resolution as much as possible.<\/p>\n\n\n\n<p>Here are just some examples:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>You are writing a blog in WordPress and have defined the width of the blog page as 800 pixels.<\/li>\n<\/ol>\n\n\n\n<p>The images you upload should not be wider than 800 pixels, as they will take up space without any visible difference in quality.<\/p>\n\n\n\n<p><\/p>\n\n\n\n<ol start=\"2\" class=\"wp-block-list\">\n<li>You are uploading product images to your webshop.<\/li>\n<\/ol>\n\n\n\n<p>We have found that images 500\u00d7500 pixels are sufficient to display the product well.<\/p>\n\n\n\n<p>If you have good (and expensive) hosting, they can be larger, up to 1000\u00d71000 pixels, but consider if the product has multiple different images.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Resizing using IrfanView<\/h2>\n\n\n\n<p>Here we will convert images with more pixels to images with fewer pixels and lower resolution.<\/p>\n\n\n\n<p>We will use IrfanView as before.<\/p>\n\n\n\n<p>This is because, of all the programs we had on the computer, it worked quickly, and the saved images took up the least space.<\/p>\n\n\n\n<p>Regardless of the image format we want to reduce, after loading, we must select <strong>Image &gt; Resize\/Resample<\/strong> or press <strong>Ctrl+R<\/strong>.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full is-resized\"><img decoding=\"async\" width=\"350\" height=\"333\" src=\"https:\/\/nel-media.com\/en\/wp-content\/uploads\/2022\/09\/irfanview-resize-resample-7.jpg\" alt=\"irfanview resize-resample window\" class=\"wp-image-2672\" style=\"width:492px;height:auto\" srcset=\"https:\/\/nel-media.com\/en\/wp-content\/uploads\/2022\/09\/irfanview-resize-resample-7.jpg 350w, https:\/\/nel-media.com\/en\/wp-content\/uploads\/2022\/09\/irfanview-resize-resample-7-300x285.jpg 300w\" sizes=\"(max-width: 350px) 100vw, 350px\" \/><\/figure>\n\n\n\n<p>This will open a new panel with options.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full is-resized\"><img decoding=\"async\" width=\"489\" height=\"418\" src=\"https:\/\/nel-media.com\/en\/wp-content\/uploads\/2022\/09\/irfanview-resize-resample-options-8.jpg\" alt=\"irfanview resize resample settings\n\" class=\"wp-image-2671\" style=\"width:563px;height:auto\" srcset=\"https:\/\/nel-media.com\/en\/wp-content\/uploads\/2022\/09\/irfanview-resize-resample-options-8.jpg 489w, https:\/\/nel-media.com\/en\/wp-content\/uploads\/2022\/09\/irfanview-resize-resample-options-8-300x256.jpg 300w\" sizes=\"(max-width: 489px) 100vw, 489px\" \/><\/figure>\n\n\n\n<p>On this panel, the <strong>Current size<\/strong> option will display the current height and width of the image.<\/p>\n\n\n\n<p>The option that should be enabled is <strong>Preserve aspect ratio<\/strong>, which means that the program will maintain the width-to-height ratio during conversion.<\/p>\n\n\n\n<p>Another option worth enabling is <strong>Adjust DPI<\/strong>.<\/p>\n\n\n\n<p>Since we are reducing the image, the program will automatically reduce the number of dots per inch, making the converted image smaller on the disk.<\/p>\n\n\n\n<p>Now enter the width of the future image under the Width option, and the program will automatically calculate the height.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Using the sharpen filter<\/h4>\n\n\n\n<p>If the image contains text, it may become poorly readable during conversion.<\/p>\n\n\n\n<p>To prevent this, we must enable the Apply sharpen after Resample option.<\/p>\n\n\n\n<p>This option will activate a filter that sharpens the image, so the text remains clear.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full has-custom-border\"><img decoding=\"async\" width=\"538\" height=\"258\" src=\"https:\/\/nel-media.com\/en\/wp-content\/uploads\/2022\/09\/text-sample-without-filter-8a.jpg\" alt=\"text sample without filter \" class=\"wp-image-2677\" style=\"border-width:2px\" srcset=\"https:\/\/nel-media.com\/en\/wp-content\/uploads\/2022\/09\/text-sample-without-filter-8a.jpg 538w, https:\/\/nel-media.com\/en\/wp-content\/uploads\/2022\/09\/text-sample-without-filter-8a-300x144.jpg 300w\" sizes=\"(max-width: 538px) 100vw, 538px\" \/><figcaption class=\"wp-element-caption\">Image without filter<\/figcaption><\/figure>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full is-resized has-custom-border\"><img decoding=\"async\" width=\"498\" height=\"235\" src=\"https:\/\/nel-media.com\/en\/wp-content\/uploads\/2022\/09\/text-sample-with-aplyed-filter-8b.jpg\" alt=\"text sample with applied filter \" class=\"has-border-color has-luminous-vivid-amber-border-color wp-image-2676\" style=\"border-width:1px;width:536px;height:auto\" srcset=\"https:\/\/nel-media.com\/en\/wp-content\/uploads\/2022\/09\/text-sample-with-aplyed-filter-8b.jpg 498w, https:\/\/nel-media.com\/en\/wp-content\/uploads\/2022\/09\/text-sample-with-aplyed-filter-8b-300x142.jpg 300w\" sizes=\"(max-width: 498px) 100vw, 498px\" \/><figcaption class=\"wp-element-caption\">Image with applied filter<\/figcaption><\/figure>\n\n\n\n<p>To see the difference, the image of the text below has the filter applied.<\/p>\n\n\n\n<p>We leave it up to you to decide whether this filter is useful or not.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Batch image conversion<\/h2>\n\n\n\n<p>Yes, it is possible to edit multiple images at once (Batch conversion).<\/p>\n\n\n\n<p>To do this, open the folder with the images for conversion, select one image, and right-click to choose \u201cOpen with IrfanView\u201d.<\/p>\n\n\n\n<p>When the program opens, press the \u201cb\u201d key.<\/p>\n\n\n\n<p>This will take you to the screen for batch image conversion.<\/p>\n\n\n\n<p>Select all the images you want to convert.<\/p>\n\n\n\n<p>Do this by pressing the <strong>\u201cCTRL\u201d key + left mouse button<\/strong>.<\/p>\n\n\n\n<p>By pressing the <strong>\u201cAdd\u201d<\/strong> button, all selected images will appear on the bottom screen.<\/p>\n\n\n\n<p>With the <strong>\u201cAdd all\u201d<\/strong> button, you can select all the images in that folder.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full has-custom-border\"><img decoding=\"async\" width=\"700\" height=\"442\" src=\"https:\/\/nel-media.com\/en\/wp-content\/uploads\/2022\/09\/Irfanview-batch-conversion-screen10.jpg\" alt=\"Irfanview batch conversion screen\" class=\"has-border-color has-cyan-bluish-gray-border-color wp-image-2670\" style=\"border-width:2px\" srcset=\"https:\/\/nel-media.com\/en\/wp-content\/uploads\/2022\/09\/Irfanview-batch-conversion-screen10.jpg 700w, https:\/\/nel-media.com\/en\/wp-content\/uploads\/2022\/09\/Irfanview-batch-conversion-screen10-300x189.jpg 300w\" sizes=\"(max-width: 700px) 100vw, 700px\" \/><\/figure>\n\n\n\n<p>Now we need to specify what we want to do with the selected images.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Conversion options<\/h3>\n\n\n\n<p>Under conversion options, you can choose:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Batch conversion<\/li>\n\n\n\n<li>Batch rename<\/li>\n\n\n\n<li>Simultaneous conversion and renaming<\/li>\n<\/ul>\n\n\n\n<p>It is advisable to choose the third option if you are converting larger images to smaller ones in the same format so that the new images do not overwrite the originals.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full is-resized\"><img decoding=\"async\" width=\"314\" height=\"276\" src=\"https:\/\/nel-media.com\/en\/wp-content\/uploads\/2022\/09\/Batch-conversion-main-settings-11.jpg\" alt=\"Batch conversion main settings \" class=\"wp-image-2664\" style=\"width:436px;height:auto\" srcset=\"https:\/\/nel-media.com\/en\/wp-content\/uploads\/2022\/09\/Batch-conversion-main-settings-11.jpg 314w, https:\/\/nel-media.com\/en\/wp-content\/uploads\/2022\/09\/Batch-conversion-main-settings-11-300x264.jpg 300w\" sizes=\"(max-width: 314px) 100vw, 314px\" \/><\/figure>\n\n\n\n<p>Under options (Options), select the format to which you want to convert.<\/p>\n\n\n\n<p>For example, if the originals are in PNG format and you choose JPG here, all selected images will be converted to JPG.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Advanced options<\/h3>\n\n\n\n<p>In the previous image, there is an option you can enable: <strong>\u201cUse advanced options for bulk resize\u201d<\/strong>.<\/p>\n\n\n\n<p>For example, you have images 1600\u00d7800 pixels.<\/p>\n\n\n\n<p>In the advanced settings, you need to define how much you want to reduce the images.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full is-resized has-custom-border\"><img decoding=\"async\" width=\"269\" height=\"340\" src=\"https:\/\/nel-media.com\/en\/wp-content\/uploads\/2022\/09\/bulk-resize-advanced-13.jpg\" alt=\"bulk resize advanced settings\" class=\"has-border-color has-cyan-bluish-gray-border-color wp-image-2665\" style=\"border-width:2px;width:353px;height:auto\" srcset=\"https:\/\/nel-media.com\/en\/wp-content\/uploads\/2022\/09\/bulk-resize-advanced-13.jpg 269w, https:\/\/nel-media.com\/en\/wp-content\/uploads\/2022\/09\/bulk-resize-advanced-13-237x300.jpg 237w\" sizes=\"(max-width: 269px) 100vw, 269px\" \/><\/figure>\n\n\n\n<p>Here you must check \u201cResize\u201d and specify the new width and height while maintaining the current aspect ratio.<\/p>\n\n\n\n<p>If you set it to 800x400px, it means that the resolution of the changed images will be twice as small.<\/p>\n\n\n\n<p>There are many other options here for you to experiment with.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Specifying the folder<\/h3>\n\n\n\n<p>We still need to specify the folder where we will save the converted images.<\/p>\n\n\n\n<p>If we press the \u201cUse current folder\u201d button, the program will save the images in the same folder from which they were loaded.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full is-resized\"><img decoding=\"async\" width=\"306\" height=\"303\" src=\"https:\/\/nel-media.com\/en\/wp-content\/uploads\/2022\/09\/define-conversion-directory12.jpg\" alt=\"define conversion directory\" class=\"wp-image-2669\" style=\"width:398px;height:auto\" srcset=\"https:\/\/nel-media.com\/en\/wp-content\/uploads\/2022\/09\/define-conversion-directory12.jpg 306w, https:\/\/nel-media.com\/en\/wp-content\/uploads\/2022\/09\/define-conversion-directory12-300x297.jpg 300w, https:\/\/nel-media.com\/en\/wp-content\/uploads\/2022\/09\/define-conversion-directory12-150x150.jpg 150w\" sizes=\"(max-width: 306px) 100vw, 306px\" \/><\/figure>\n\n\n\n<p>Of course, you can specify any other folder if you want.<\/p>\n\n\n\n<p>By pressing \u201cStart batch\u201d, you can complete the job.<\/p>\n\n\n\n<p>We suggest you do a few test conversions first to get the most out of this excellent program.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Image enlargement<\/h2>\n\n\n\n<p>Although images can be enlarged using the previous method, unfortunately, even with the use of various filters, the results were not good.<\/p>\n\n\n\n<p>Also, over time, we tried many services on the Internet and got similar results.<\/p>\n\n\n\n<p>We found a solution in <strong><a href=\"https:\/\/www.canva.com\/\" target=\"_blank\" rel=\"noreferrer noopener\">Canva<\/a><\/strong> which has already been described several times on this blog.<\/p>\n\n\n\n<p>In Canva, the image is uploaded using the Upload option, which is intended to allow the processing of some of your own images in addition to the offered ones.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full\"><img decoding=\"async\" width=\"335\" height=\"105\" src=\"https:\/\/nel-media.com\/en\/wp-content\/uploads\/2022\/09\/Canva-upload-files9.jpg\" alt=\"Canva upload files\" class=\"wp-image-2667\" srcset=\"https:\/\/nel-media.com\/en\/wp-content\/uploads\/2022\/09\/Canva-upload-files9.jpg 335w, https:\/\/nel-media.com\/en\/wp-content\/uploads\/2022\/09\/Canva-upload-files9-300x94.jpg 300w\" sizes=\"(max-width: 335px) 100vw, 335px\" \/><\/figure>\n\n\n\n<p>The best results are achieved when we select a template that is the same or similar dimensions as the uploaded image.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full has-custom-border\"><img decoding=\"async\" width=\"408\" height=\"240\" src=\"https:\/\/nel-media.com\/en\/wp-content\/uploads\/2022\/09\/Canva-image-zoom-option-10.jpg\" alt=\"Canva image zoom option \" class=\"has-border-color has-cyan-bluish-gray-border-color wp-image-2666\" style=\"border-width:2px\" srcset=\"https:\/\/nel-media.com\/en\/wp-content\/uploads\/2022\/09\/Canva-image-zoom-option-10.jpg 408w, https:\/\/nel-media.com\/en\/wp-content\/uploads\/2022\/09\/Canva-image-zoom-option-10-300x176.jpg 300w\" sizes=\"(max-width: 408px) 100vw, 408px\" \/><\/figure>\n\n\n\n<p>When saving the image, under the <strong>Size<\/strong> option, we can choose an enlargement of up to three times.<\/p>\n\n\n\n<p>If the used image is of good quality, the result will be very good.<\/p>\n\n\n\n<p><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Frequently Asked Questions<\/h2>\n\n\n\n<p><\/p>\n\n\n<div class=\"wp-block-uagb-faq uagb-faq__outer-wrap uagb-block-83466414 uagb-faq-icon-row-reverse uagb-faq-layout-accordion uagb-faq-expand-first-true uagb-faq-inactive-other-false uagb-faq__wrap uagb-buttons-layout-wrap uagb-faq-equal-height     \" data-faqtoggle=\"true\" role=\"tablist\"><script type=\"application\/ld+json\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@type\":\"FAQPage\",\"@id\":\"https:\\\/\\\/nel-media.com\\\/en\\\/optimize-images-and-reduce-image-size-for-web\",\"mainEntity\":[{\"@type\":\"Question\",\"name\":\"<strong>Why is image optimization for the web important?<\\\/strong>\",\"acceptedAnswer\":{\"@type\":\"Answer\",\"text\":\"Image optimization reduces file sizes, speeding up web page loading and saving bandwidth. It also helps reduce server load and improves SEO results.\"}},{\"@type\":\"Question\",\"name\":\"<strong>What is the optimal image size for the web?<\\\/strong>\",\"acceptedAnswer\":{\"@type\":\"Answer\",\"text\":\"It depends on the context, but as a general rule, most web images should not be larger than 100 KB. For background or larger images, aim for a size below 500 KB.\"}},{\"@type\":\"Question\",\"name\":\"<strong>What are the most common image formats for the web?<\\\/strong>\",\"acceptedAnswer\":{\"@type\":\"Answer\",\"text\":\"The most common formats are JPEG, PNG, and GIF. JPEG is ideal for photos, PNG for images with transparency, and GIF for animated images.\"}},{\"@type\":\"Question\",\"name\":\"<strong>How to reduce the file size of an image?<\\\/strong>\",\"acceptedAnswer\":{\"@type\":\"Answer\",\"text\":\"You can reduce the file size of an image by compression, reducing the resolution, or a combination of these techniques.\"}}]}<\/script><div class=\"wp-block-uagb-faq-child uagb-faq-child__outer-wrap uagb-faq-item uagb-block-10aa9587 \" role=\"tab\" tabindex=\"0\"><div class=\"uagb-faq-questions-button uagb-faq-questions\">\t\t\t<span class=\"uagb-icon uagb-faq-icon-wrap\">\n\t\t\t\t\t\t\t\t<svg xmlns=\"https:\/\/www.w3.org\/2000\/svg\" viewBox= \"0 0 448 512\"><path d=\"M432 256c0 17.69-14.33 32.01-32 32.01H256v144c0 17.69-14.33 31.99-32 31.99s-32-14.3-32-31.99v-144H48c-17.67 0-32-14.32-32-32.01s14.33-31.99 32-31.99H192v-144c0-17.69 14.33-32.01 32-32.01s32 14.32 32 32.01v144h144C417.7 224 432 238.3 432 256z\"><\/path><\/svg>\n\t\t\t\t\t\t\t<\/span>\n\t\t\t\t\t\t<span class=\"uagb-icon-active uagb-faq-icon-wrap\">\n\t\t\t\t\t\t\t\t<svg xmlns=\"https:\/\/www.w3.org\/2000\/svg\" viewBox= \"0 0 448 512\"><path d=\"M400 288h-352c-17.69 0-32-14.32-32-32.01s14.31-31.99 32-31.99h352c17.69 0 32 14.3 32 31.99S417.7 288 400 288z\"><\/path><\/svg>\n\t\t\t\t\t\t\t<\/span>\n\t\t\t<span class=\"uagb-question\"><strong>Why is image optimization for the web important?<\/strong><\/span><\/div><div class=\"uagb-faq-content\"><p>Image optimization reduces file sizes, speeding up web page loading and saving bandwidth. It also helps reduce server load and improves SEO results.<\/p><\/div><\/div><div class=\"wp-block-uagb-faq-child uagb-faq-child__outer-wrap uagb-faq-item uagb-block-b0697749 \" role=\"tab\" tabindex=\"0\"><div class=\"uagb-faq-questions-button uagb-faq-questions\">\t\t\t<span class=\"uagb-icon uagb-faq-icon-wrap\">\n\t\t\t\t\t\t\t\t<svg xmlns=\"https:\/\/www.w3.org\/2000\/svg\" viewBox= \"0 0 448 512\"><path d=\"M432 256c0 17.69-14.33 32.01-32 32.01H256v144c0 17.69-14.33 31.99-32 31.99s-32-14.3-32-31.99v-144H48c-17.67 0-32-14.32-32-32.01s14.33-31.99 32-31.99H192v-144c0-17.69 14.33-32.01 32-32.01s32 14.32 32 32.01v144h144C417.7 224 432 238.3 432 256z\"><\/path><\/svg>\n\t\t\t\t\t\t\t<\/span>\n\t\t\t\t\t\t<span class=\"uagb-icon-active uagb-faq-icon-wrap\">\n\t\t\t\t\t\t\t\t<svg xmlns=\"https:\/\/www.w3.org\/2000\/svg\" viewBox= \"0 0 448 512\"><path d=\"M400 288h-352c-17.69 0-32-14.32-32-32.01s14.31-31.99 32-31.99h352c17.69 0 32 14.3 32 31.99S417.7 288 400 288z\"><\/path><\/svg>\n\t\t\t\t\t\t\t<\/span>\n\t\t\t<span class=\"uagb-question\"><strong>What is the optimal image size for the web?<\/strong><\/span><\/div><div class=\"uagb-faq-content\"><p>It depends on the context, but as a general rule, most web images should not be larger than 100 KB. For background or larger images, aim for a size below 500 KB.<\/p><\/div><\/div><div class=\"wp-block-uagb-faq-child uagb-faq-child__outer-wrap uagb-faq-item uagb-block-fe83ff0e \" role=\"tab\" tabindex=\"0\"><div class=\"uagb-faq-questions-button uagb-faq-questions\">\t\t\t<span class=\"uagb-icon uagb-faq-icon-wrap\">\n\t\t\t\t\t\t\t\t<svg xmlns=\"https:\/\/www.w3.org\/2000\/svg\" viewBox= \"0 0 448 512\"><path d=\"M432 256c0 17.69-14.33 32.01-32 32.01H256v144c0 17.69-14.33 31.99-32 31.99s-32-14.3-32-31.99v-144H48c-17.67 0-32-14.32-32-32.01s14.33-31.99 32-31.99H192v-144c0-17.69 14.33-32.01 32-32.01s32 14.32 32 32.01v144h144C417.7 224 432 238.3 432 256z\"><\/path><\/svg>\n\t\t\t\t\t\t\t<\/span>\n\t\t\t\t\t\t<span class=\"uagb-icon-active uagb-faq-icon-wrap\">\n\t\t\t\t\t\t\t\t<svg xmlns=\"https:\/\/www.w3.org\/2000\/svg\" viewBox= \"0 0 448 512\"><path d=\"M400 288h-352c-17.69 0-32-14.32-32-32.01s14.31-31.99 32-31.99h352c17.69 0 32 14.3 32 31.99S417.7 288 400 288z\"><\/path><\/svg>\n\t\t\t\t\t\t\t<\/span>\n\t\t\t<span class=\"uagb-question\"><strong>What are the most common image formats for the web?<\/strong><\/span><\/div><div class=\"uagb-faq-content\"><p>The most common formats are JPEG, PNG, and GIF. JPEG is ideal for photos, PNG for images with transparency, and GIF for animated images.<\/p><\/div><\/div><div class=\"wp-block-uagb-faq-child uagb-faq-child__outer-wrap uagb-faq-item uagb-block-da7417f6 \" role=\"tab\" tabindex=\"0\"><div class=\"uagb-faq-questions-button uagb-faq-questions\">\t\t\t<span class=\"uagb-icon uagb-faq-icon-wrap\">\n\t\t\t\t\t\t\t\t<svg xmlns=\"https:\/\/www.w3.org\/2000\/svg\" viewBox= \"0 0 448 512\"><path d=\"M432 256c0 17.69-14.33 32.01-32 32.01H256v144c0 17.69-14.33 31.99-32 31.99s-32-14.3-32-31.99v-144H48c-17.67 0-32-14.32-32-32.01s14.33-31.99 32-31.99H192v-144c0-17.69 14.33-32.01 32-32.01s32 14.32 32 32.01v144h144C417.7 224 432 238.3 432 256z\"><\/path><\/svg>\n\t\t\t\t\t\t\t<\/span>\n\t\t\t\t\t\t<span class=\"uagb-icon-active uagb-faq-icon-wrap\">\n\t\t\t\t\t\t\t\t<svg xmlns=\"https:\/\/www.w3.org\/2000\/svg\" viewBox= \"0 0 448 512\"><path d=\"M400 288h-352c-17.69 0-32-14.32-32-32.01s14.31-31.99 32-31.99h352c17.69 0 32 14.3 32 31.99S417.7 288 400 288z\"><\/path><\/svg>\n\t\t\t\t\t\t\t<\/span>\n\t\t\t<span class=\"uagb-question\"><strong>How to reduce the file size of an image?<\/strong><\/span><\/div><div class=\"uagb-faq-content\"><p>You can reduce the file size of an image by compression, reducing the resolution, or a combination of these techniques.<\/p><\/div><\/div><\/div>\n\n\n<h2 class=\"wp-block-heading\">Conclusion<\/h2>\n\n\n\n<p>If you publish your work on the internet, applying the methods described here will significantly speed up web page loading while maintaining high image quality.<\/p>\n\n\n\n<p>Optimizing images on your computer before uploading can be extremely useful.<\/p>\n\n\n\n<p>All original images will be saved for further editing.<\/p>\n\n\n\n<p>Soon we will introduce plugins that you can use directly on your website to achieve the same goals.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Recommended Reading<\/h2>\n\n\n\n<p><span><a href=\"https:\/\/nel-media.com\/en\/how-to-sell-on-etsy\" data-type=\"page\" data-id=\"464\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>How to start Etsy web shop?<\/strong><\/a><\/span><\/p>\n\n\n\n<p><strong><a href=\"https:\/\/nel-media.com\/en\/how-to-create-a-free-website-on-google-sites\" target=\"_blank\" data-type=\"post\" data-id=\"816\" rel=\"noreferrer noopener\">Creating a free website on Google Sites<\/a><\/strong><\/p>\n\n\n\n<p><a href=\"https:\/\/nel-media.com\/en\/blocksy-best-free-wordpress-theme\" data-type=\"post\" data-id=\"1046\"><strong>Blocksy the best free WordPress theme?<\/strong><\/a><\/p>\n\n\n\n<p><strong><a href=\"https:\/\/nel-media.com\/en\/spectra-wordpress-blocks-a-new-era-of-design\" data-type=\"post\" data-id=\"927\">Spectra WordPress blocks: A new era of design<\/a><\/strong><\/p>\n\n\n\n<p class=\"has-text-align-center has-cyan-bluish-gray-color has-text-color has-link-color wp-elements-e38f867a4b23035e65158ab1c7cf1db5\"><em>(<\/em>Amended and supplemented on July 29, 2024.<em>)<\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Introduction Image optimization can involve compression, resizing, choosing the right format (e.g., JPEG, PNG, WebP), and implementing techniques such as lazy loading. All these measures contribute to creating a faster, more efficient, and more enjoyable website. Although we are focusing on the WordPress platform here, these techniques can be applied to any website. While optimization [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":2662,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_uag_custom_page_level_css":"","footnotes":""},"categories":[32],"tags":[54,35],"class_list":["post-2648","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-web-design","tag-image-optimization","tag-wordpress"],"blocksy_meta":[],"uagb_featured_image_src":{"full":["https:\/\/nel-media.com\/en\/wp-content\/uploads\/2022\/09\/image-optimization-for-website.jpg",800,500,false],"thumbnail":["https:\/\/nel-media.com\/en\/wp-content\/uploads\/2022\/09\/image-optimization-for-website-150x150.jpg",150,150,true],"medium":["https:\/\/nel-media.com\/en\/wp-content\/uploads\/2022\/09\/image-optimization-for-website-300x188.jpg",300,188,true],"medium_large":["https:\/\/nel-media.com\/en\/wp-content\/uploads\/2022\/09\/image-optimization-for-website-768x480.jpg",768,480,true],"large":["https:\/\/nel-media.com\/en\/wp-content\/uploads\/2022\/09\/image-optimization-for-website.jpg",800,500,false],"1536x1536":["https:\/\/nel-media.com\/en\/wp-content\/uploads\/2022\/09\/image-optimization-for-website.jpg",800,500,false],"2048x2048":["https:\/\/nel-media.com\/en\/wp-content\/uploads\/2022\/09\/image-optimization-for-website.jpg",800,500,false]},"uagb_author_info":{"display_name":"Darko Nelson","author_link":"https:\/\/nel-media.com\/en\/author\/enadmin"},"uagb_comment_info":0,"uagb_excerpt":"Introduction Image optimization can involve compression, resizing, choosing the right format (e.g., JPEG, PNG, WebP), and implementing techniques such as lazy loading. All these measures contribute to creating a faster, more efficient, and more enjoyable website. Although we are focusing on the WordPress platform here, these techniques can be applied to any website. While optimization&hellip;","_links":{"self":[{"href":"https:\/\/nel-media.com\/en\/wp-json\/wp\/v2\/posts\/2648","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/nel-media.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/nel-media.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/nel-media.com\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/nel-media.com\/en\/wp-json\/wp\/v2\/comments?post=2648"}],"version-history":[{"count":0,"href":"https:\/\/nel-media.com\/en\/wp-json\/wp\/v2\/posts\/2648\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/nel-media.com\/en\/wp-json\/wp\/v2\/media\/2662"}],"wp:attachment":[{"href":"https:\/\/nel-media.com\/en\/wp-json\/wp\/v2\/media?parent=2648"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/nel-media.com\/en\/wp-json\/wp\/v2\/categories?post=2648"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/nel-media.com\/en\/wp-json\/wp\/v2\/tags?post=2648"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}