Title: Image size problem with WP
Last modified: August 8, 2021

---

# Image size problem with WP

 *  Resolved [pp46](https://wordpress.org/support/users/pp46/)
 * (@pp46)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/image-size-problem-with-wp/)
 * Hello
    I am trying to add Woocommerce to my site to sell photos (download) I 
   am uploading to the media a 5520×3680 14.7 Mo file to the media library and its
   resized to 2560 by 1635 pixels with file name extension added with -scaled.jpg
   The max upload size in php.ini is set to 128 Mo So after looking on the internet
   I can not find a solution to this apart that its a set function in WP Any ideas
   how to fix this as I need to to sell the photos full size, thanks for any help
   Philip
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fimage-size-problem-with-wp%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  [Mirko P.](https://wordpress.org/support/users/rainfallnixfig/)
 * (@rainfallnixfig)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/image-size-problem-with-wp/#post-14750539)
 * Hi [@pp46](https://wordpress.org/support/users/pp46/),
 * This is the expected behavior of WordPress Media Library for uploaded images 
   as from version 5.3 and you can read more here: [https://make.wordpress.org/core/2019/10/11/updates-to-image-processing-in-wordpress-5-3/](https://make.wordpress.org/core/2019/10/11/updates-to-image-processing-in-wordpress-5-3/).
 * There is a workaround though for this. You can add the following snippet in the
   functions.php file on your child theme or add it via a plugin like [Code Snippets](https://wordpress.org/plugins/code-snippets/).
 *     ```
       add_filter( 'big_image_size_threshold', '__return_false' );
       ```
   
 * Once the snippet is activated the images won’t be scaled when uploading them 
   to the Media Library.
 * Hope this helps!
 *  Thread Starter [pp46](https://wordpress.org/support/users/pp46/)
 * (@pp46)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/image-size-problem-with-wp/#post-14752397)
 * Hello Mirko P
 * Thanks for your answer, there seems to be missing something in the code?
    I am
   getting an error either with modifying the functions.php file or using the snippet
   P-in
 * `add_filter( 'big_image_size_threshold', '__return_false' );`
 * Philip
 *  Thread Starter [pp46](https://wordpress.org/support/users/pp46/)
 * (@pp46)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/image-size-problem-with-wp/#post-14757362)
 * Hi Mirko apparently this does not work well with WP and Woocommerce, but I found
   the fix in setting appearances you can put the images full size also removing
   -
   scaled at the end of the file name in media library it puts the image at original
   size…
 *  Thread Starter [pp46](https://wordpress.org/support/users/pp46/)
 * (@pp46)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/image-size-problem-with-wp/#post-14757383)
 * **So If you do not mind I have an other problem on this page **
    (an other site)
   [https://www.melle-creation.fr/boutique/](https://www.melle-creation.fr/boutique/)
 * as you can see the page is not centered all is stuck to the right, I have checked
   everywhere but can not find the reason, all the other pages are ok
    I am using
   Divi apart from on all none product/woocommerce pages.. so I guess those pages
   use the standard WP editor.. Thanks Philip
 *  Plugin Support [Gabriel – a11n](https://wordpress.org/support/users/gabrielfuentes/)
 * (@gabrielfuentes)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/image-size-problem-with-wp/#post-14761395)
 * Hi there 👋
 * > but I found the fix in setting appearances you can put the images full size
   > also removing
   >  -scaled at the end of the file name in media library it puts
   > the image at original size…
 * Glad to hear that you were able to fix the issue. 🙂
 * > as you can see the page is not centered all is stuck to the right, I have checked
   > everywhere but can not find the reason, all the other pages are ok
   >  I am using
   > Divi apart from on all none product/woocommerce pages.. so I guess those pages
   > use the standard WP editor..
 * In regards to this issue, when inspecting your site code, I can see that the 
   layout is coming from Divi. You can confirm that by temporarily switching to 
   Storefront Theme to see if that resolves the issue.
 * If it does resolve the issue, please reach out to your theme’s developers for
   a solution as they are better equipped to help you out.
 * Hope that helps! 🙂
 *  [Mirko P.](https://wordpress.org/support/users/rainfallnixfig/)
 * (@rainfallnixfig)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/image-size-problem-with-wp/#post-14784702)
 * Hi there,
 * We’ve not heard back from you in a while so I’ll go ahead and mark this thread
   as resolved. I hope you will find the above information useful.
 * Please feel free to create a new thread if you have further questions.
 * Thanks.
 *  Thread Starter [pp46](https://wordpress.org/support/users/pp46/)
 * (@pp46)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/image-size-problem-with-wp/#post-14787399)
 * Hi Mirko
    Sorry for not getting back I did as you suggested and contacted Divi
   who solved the problem with a bit of CSS 😉 Its all goood now
 * Here is the fix
 * `/*center menu*/
    #et-top-navigation { float: none; text-align: center; }
 * nav#top-menu-nav, #top-menu {
    float: none; }
 * /*keep cart button at top right*/
    #et-top-navigation .et-cart-info { float: 
   none; position: absolute; top: 40%; right: 20%; }
    -  This reply was modified 4 years, 8 months ago by [pp46](https://wordpress.org/support/users/pp46/).
 *  Thread Starter [pp46](https://wordpress.org/support/users/pp46/)
 * (@pp46)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/image-size-problem-with-wp/#post-14787406)
 * So we can close this thread now
    Thanks again :=D
    -  This reply was modified 4 years, 8 months ago by [pp46](https://wordpress.org/support/users/pp46/).
 *  Plugin Support [abwaita a11n](https://wordpress.org/support/users/abwaita/)
 * (@abwaita)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/image-size-problem-with-wp/#post-14787917)
 * Glad to hear it – thanks for letting us know!
 * As the thread is resolved, it’ll be closed in due time. If you have any further
   questions, always feel free to create a new thread.
 * Cheers!

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

The topic ‘Image size problem with WP’ is closed to new replies.

 * ![](https://ps.w.org/woocommerce/assets/icon.svg?rev=3234504)
 * [WooCommerce](https://wordpress.org/plugins/woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce/reviews/)

 * 9 replies
 * 4 participants
 * Last reply from: [abwaita a11n](https://wordpress.org/support/users/abwaita/)
 * Last activity: [4 years, 8 months ago](https://wordpress.org/support/topic/image-size-problem-with-wp/#post-14787917)
 * Status: resolved