Title: Maximum Image Width causing file increase after upload
Last modified: January 22, 2025

---

# Maximum Image Width causing file increase after upload

 *  Resolved [sham0i51](https://wordpress.org/support/users/sham0i51/)
 * (@sham0i51)
 * [1 year, 4 months ago](https://wordpress.org/support/topic/maximum-image-width-causing-file-increase-after-upload/)
 * Hi,
   I’m not sure if this is a bug with the plugin, as I have never seen it before.
   The only reason I spotted it now because it was so drastic.I have a 2800px wide
   image, with a file size of 233kb. After uploading to the site, the file size 
   of the image was showing as 650kB. After some testing I noticed this was only
   happening to images wider than 2560px, which is what the setting for the Maximum
   Image Width within this plugin is set to. Surely enough when it’s disabled, the
   file size of the upload is in and around 233kb.I know I can disable this setting,
   but it’s handy when it works.
 * Is it normal for there to be such an increase in file size in these cases?
   Thanks

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Support [stanimirpanayotov](https://wordpress.org/support/users/stanimirpanayotov/)
 * (@stanimirpanayotov)
 * [1 year, 4 months ago](https://wordpress.org/support/topic/maximum-image-width-causing-file-increase-after-upload/#post-18258444)
 * Hello,
   WordPress by default scales all uploaded images with width 2560 pixels
   and above and uses a copy of them called **original_image_name-scaled.jpg**. 
   With this option the Speed Optimizer provides more flexibility to the user to
   either change the max image width or completely disable the scaling. There is
   also a filter which can be used to change the value to a custom one:[https://www.siteground.com/tutorials/wordpress/speed-optimizer/custom-filters/#Customize_maximum_image_width](https://www.siteground.com/tutorials/wordpress/speed-optimizer/custom-filters/#Customize_maximum_image_width)
   That being said, I tested this functionality on a brand new WordPress application(
   v6.7.1) with the latest version of the Speed Optimizer plugin enabled (v7.7.2),
   but I was not able to reproduce the reported issue. I uploaded the following 
   test image (JPEG, 3.2MB, 5323×8000 pixels) two times: [https://snipboard.io/luXS3F.jpg](https://snipboard.io/luXS3F.jpg)
    1. With the “Maximum Image Width” feature enabled and set to 2560px. The test image
       was uploaded successfully and scaled down to 1703×2560 pixels with size 578 
       KB:
       [https://share.nmblc.cloud/59420803](https://share.nmblc.cloud/59420803)
    2. When the “Maximum Image Width” feature was disabled the same image was uploaded
       without a change in the resolution:
       [https://share.nmblc.cloud/dc1e761e](https://share.nmblc.cloud/dc1e761e)
 * If you are still experiencing this you should try disabling all plugins, except
   the Speed Optimizer, and / or change the theme to one of the default WordPress
   themes. If the issue is resolved then you should re-enable the plugins one-by-
   one until the problematic one is found.
 * If this did not help and you are a SiteGround customer, please post a ticket 
   from your SiteGround Customer Area and we will check this further.
 * Best Regards,
   Stanimir Panayotov
 *  Thread Starter [sham0i51](https://wordpress.org/support/users/sham0i51/)
 * (@sham0i51)
 * [1 year, 4 months ago](https://wordpress.org/support/topic/maximum-image-width-causing-file-increase-after-upload/#post-18264299)
 * Thank you for the provided resources.
   You cant replicate the issue as your original
   file is 3.2 MB.See what is happening for me on a fresh WordPress install from
   within Site tools. I’m using 2025 theme, with no additional plugins only the 
   3 core Siteground ones.The image is 247KB (2560 × 2620), and is scaled to 2501
   by 2560 pixels. Although the resized image is smaller in resolution, it’s now
   596 KB, which is almost double in size.See here….. [https://share.vidyard.com/watch/nJr5orEZfyaZbA2FZzUgjz?](https://share.vidyard.com/watch/nJr5orEZfyaZbA2FZzUgjz?)
   Thanks in advance.
    -  This reply was modified 1 year, 4 months ago by [sham0i51](https://wordpress.org/support/users/sham0i51/).
 *  Plugin Support [stefanstefanov](https://wordpress.org/support/users/stefanstefanov/)
 * (@stefanstefanov)
 * [1 year, 4 months ago](https://wordpress.org/support/topic/maximum-image-width-causing-file-increase-after-upload/#post-18264428)
 * [@sham0i51](https://wordpress.org/support/users/sham0i51/),
 * I was unable to replicate the reported issue on a fresh installation of WordPress
   application (version 6.7.1) with the most recent update of the Speed Optimizer
   plugin (version 7.7.2) activated. I uploaded a test image (JPEG format, size 
   128K, dimensions 2560 x 2620 pixels) from the following link:
 * [https://snipboard.io/RX0GgZ.jpg](https://snipboard.io/RX0GgZ.jpg)
 * With the “Maximum Image Width” setting activated and configured to 2560px, the
   test image was successfully uploaded and resized to 2501 by 2560 pixels, with
   the file size reduced to 124 KB, as shown here:
 * [https://snipboard.io/ViIauX.jpg](https://snipboard.io/ViIauX.jpg)
 * Given this, I recommend that you submit a support request through your SiteGround
   client area. Before doing so, please ensure you’ve uploaded the image you’re 
   working with to your account using either the File Manager tool or FTP. This 
   step will enable our team to replicate the reported behavior, examine the image
   in question, and offer further insights and assistance on the issue.
 * Best Regards,
   Stefan Stefanov

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Maximum Image Width causing file increase after upload’ is closed to 
new replies.

 * ![](https://ps.w.org/sg-cachepress/assets/icon-256x256.gif?rev=2971889)
 * [Speed Optimizer - The All-In-One Performance-Boosting Plugin](https://wordpress.org/plugins/sg-cachepress/)
 * [Support Threads](https://wordpress.org/support/plugin/sg-cachepress/)
 * [Active Topics](https://wordpress.org/support/plugin/sg-cachepress/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/sg-cachepress/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/sg-cachepress/reviews/)

 * 4 replies
 * 3 participants
 * Last reply from: [stefanstefanov](https://wordpress.org/support/users/stefanstefanov/)
 * Last activity: [1 year, 4 months ago](https://wordpress.org/support/topic/maximum-image-width-causing-file-increase-after-upload/#post-18264428)
 * Status: resolved