Support » Fixing WordPress » [Plugin: Nivo Slider for WordPress] Problems with images bigger than 999px

  • I tried to use Nivo slider as a header image slider for my new project. The problem is, when I use plugin interface to upload new image. Always, when I set up the size of the slider bigger than 999px in width (I need 1200×337), the image is uploaded in very bad quality (seems to be resampled or set to bad quality).

    Any tips? Thanks.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Zbych,

    I encountered the same problem and found a temporary solution:

    1. Open the following file:

    2. Lines 121, 122, and 123 contain the value “1000”. This IF statement is checking the width in pixels of the original image and executing functions based on this information. Change the “1000” to a value larger than the biggest image you would like to use in your slideshow. (For example, I’m using images 1280×984 in my slider, so I changed “1000” to “2000” just to be safe). Make sure you change all 3 instances of “1000”.

    I’m not a js / php expert, but the code seems to written in a way to keep the “cropping image” and the preview image in the wp-admin area to a certain width for screen viewing purposes (at least, that’s how it should work). However, when an image > 1000px is used in the slider, the code breaks down.

    Let me know how it turns out.


    Hey Zbych and Arron,

    How did you make the slider your header image? I’m trying to figure that out for my site and any guidance would be very much appreciated 🙂



    Instructions for placing the slider in your theme are found on the plugin homepage.

    Place the following code wherever you’d like the slider to appear in your theme:

    <?php if (function_exists(‘nivoslider4wp_show’)) { nivoslider4wp_show(); } ?>

    We have our placed on the homepage of the website, so we added the code to home.php


Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: Nivo Slider for WordPress] Problems with images bigger than 999px’ is closed to new replies.