{"id":1863,"date":"2024-12-17T10:47:11","date_gmt":"2024-12-17T09:47:11","guid":{"rendered":"https:\/\/wpmastertoolkit.com\/module\/controle-de-telechargement-dimages\/"},"modified":"2025-01-08T15:10:34","modified_gmt":"2025-01-08T14:10:34","slug":"controle-de-telechargement-dimages","status":"publish","type":"module","link":"https:\/\/wpmastertoolkit.com\/en\/module\/image-download-control\/","title":{"rendered":"Image download control"},"content":{"rendered":"<h1 class=\"wp-block-heading\">Optimize Image Uploads on WordPress with the Module <strong>Image Upload Control<\/strong><\/h1>\n\n\n\n<p>Image optimization is essential to ensure fast loading times and a smooth user experience. Images that are too large or badly formatted can slow down a website considerably. That's why we've developed the <strong>Image Upload Control<\/strong> in WPMasterToolKit. This module automatically resizes oversized images, converts non-transparent BMP and PNG files to JPEG, and deletes unnecessary original files after processing.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Why use Image Upload Control?<\/h2>\n\n\n\n<p>Uploading images to WordPress poses several challenges:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>Excessive file size<\/strong> : Images from smartphones or cameras can be far too large for web use.<\/li>\n\n\n\n<li><strong>Unsuitable formats<\/strong> Non-transparent formats such as BMP or PNG are not optimized for the web, which can result in unnecessary file sizes.<\/li>\n\n\n\n<li><strong>Tedious manual management<\/strong> Resizing and converting each image manually is time-consuming.<\/li>\n<\/ol>\n\n\n\n<p>The module <strong>Image Upload Control<\/strong> automates this entire process, reducing image size and ensuring effortless, optimal use.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Main features of the module<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">Automatic image resizing<\/h3>\n\n\n\n<p>Images exceeding a defined size (default: 1920 x 1920 pixels) are automatically resized. This process :<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Preserves image proportions.<\/li>\n\n\n\n<li>Ensures that files do not exceed the dimensions required for optimal web display.<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">Convert BMP and PNG formats to JPEG<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>BMP<\/strong> : These large files are converted to JPEG, a much lighter, universally supported format.<\/li>\n\n\n\n<li><strong>Non-transparent PNGs<\/strong> PNGs that don't use transparency are also converted to JPEG to save space.<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">Deleting original files<\/h3>\n\n\n\n<p>Unnecessary original files (such as BMPs and large resized images) are automatically deleted after processing, freeing up server space.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Exclusion of specific images<\/h3>\n\n\n\n<p>To exclude an image from conversion or resizing, simply add the suffix <code data-no-auto-translation=\"\">-wpm<\/code> to the file name before uploading (e.g. : <code data-no-auto-translation=\"\">image-wpm.jpg<\/code>).<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Checking maximum dimensions<\/h3>\n\n\n\n<p>Administrators can define maximum image dimensions directly from the configuration interface:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Maximum width<\/strong> (default: 1920 pixels).<\/li>\n\n\n\n<li><strong>Maximum height<\/strong> (default: 1920 pixels).<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">Compatibility with supported formats<\/h3>\n\n\n\n<p>The module handles several image formats, including :<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>JPEG\/JPG<\/li>\n\n\n\n<li>PNG<\/li>\n\n\n\n<li>BMP<\/li>\n\n\n\n<li>WebP<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">How to use this module<\/h2>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>Installation<\/strong> : Install and activate the plugin <strong>WPMasterToolKit<\/strong> on your WordPress site.<\/li>\n\n\n\n<li><strong>Module activation<\/strong> Go to the list of modules and activate \"Image Upload Control\".<\/li>\n\n\n\n<li><strong>Configuration<\/strong> :\n<ul class=\"wp-block-list\">\n<li>Go to the \"Image Upload Control\" submenu in WPMasterToolKit.<\/li>\n\n\n\n<li>Set the desired maximum dimensions for images.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>Image upload<\/strong> : All uploaded images will be automatically resized or converted according to the parameters set.<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image size-large\"><img alt=\"Wordpress image upload control interface\" fetchpriority=\"high\" decoding=\"async\" width=\"1024\" height=\"313\" src=\"https:\/\/wpmastertoolkit.com\/wp-content\/uploads\/2024\/12\/image-113-1024x313.png\" class=\"wp-image-3769\" srcset=\"https:\/\/wpmastertoolkit.com\/wp-content\/uploads\/2024\/12\/image-113-1024x313.png 1024w, https:\/\/wpmastertoolkit.com\/wp-content\/uploads\/2024\/12\/image-113-300x92.png 300w, https:\/\/wpmastertoolkit.com\/wp-content\/uploads\/2024\/12\/image-113-768x235.png 768w, https:\/\/wpmastertoolkit.com\/wp-content\/uploads\/2024\/12\/image-113-1536x470.png 1536w, https:\/\/wpmastertoolkit.com\/wp-content\/uploads\/2024\/12\/image-113.png 1642w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Our technical choices for this module<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">Automation via native WordPress hooks<\/h3>\n\n\n\n<p>The module uses the <code data-no-auto-translation=\"\">wp_handle_upload<\/code> to intercept image uploads and apply optimizations in real time, ensuring seamless integration with WordPress features.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Intelligent conversion<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>BMP or PNG to JPEG conversions use native GD libraries to maximize compatibility.<\/li>\n\n\n\n<li>Transparent PNGs are automatically excluded from the conversion to preserve their functionality.<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">Intuitive interface<\/h3>\n\n\n\n<p>Thanks to a clear administration interface, even non-technical users can configure module parameters in just a few clicks.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Performance and lightness<\/h3>\n\n\n\n<p>The module only works during image uploads, minimizing its impact on overall site performance.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Conclusion<\/h2>\n\n\n\n<p>The module <strong>Image Upload Control<\/strong> from WPMasterToolKit is the ideal solution for optimizing images uploaded to WordPress. It reduces file size, converts heavy formats and simplifies image management, while ensuring excellent visual quality. Try it today to improve your site's performance and optimize the use of your server resources!<\/p>","protected":false},"excerpt":{"rendered":"<p>Optimize your uploaded images on WordPress with WPMasterToolKit's Image Upload Control module. This module automatically resizes large images, converts non-transparent BMP and PNG formats to JPEG, and deletes unnecessary files to save space. Easy to configure, it guarantees optimum web performance without compromising visual quality.<\/p>","protected":false},"featured_media":0,"parent":0,"template":"","meta":{"_acf_changed":false,"_seopress_robots_primary_cat":"","_seopress_titles_title":"Optimisez WordPress : Contr\u00f4le T\u00e9l\u00e9versements Image","_seopress_titles_desc":"Acc\u00e9l\u00e9rez votre site avec Image Upload Control : redimensionnez et convertissez automatiquement vos images pour une performance web optimale.","_seopress_robots_index":"","_surecart_dashboard_logo_width":"180px","_surecart_dashboard_show_logo":true,"_surecart_dashboard_navigation_orders":true,"_surecart_dashboard_navigation_invoices":true,"_surecart_dashboard_navigation_subscriptions":true,"_surecart_dashboard_navigation_downloads":true,"_surecart_dashboard_navigation_billing":true,"_surecart_dashboard_navigation_account":true},"class_list":["post-1863","module","type-module","status-publish","hentry"],"acf":[],"_links":{"self":[{"href":"https:\/\/wpmastertoolkit.com\/en\/wp-json\/wp\/v2\/module\/1863","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wpmastertoolkit.com\/en\/wp-json\/wp\/v2\/module"}],"about":[{"href":"https:\/\/wpmastertoolkit.com\/en\/wp-json\/wp\/v2\/types\/module"}],"wp:attachment":[{"href":"https:\/\/wpmastertoolkit.com\/en\/wp-json\/wp\/v2\/media?parent=1863"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}