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

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:
    /plugins/nivo-slider-for-wordpress/nivoslider4wp-panel.php

    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.

    Cheers,
    Aaron

    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 🙂

    Thanks,
    Amy

    Amy,

    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

    Cheers,
    Aaron

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.