Displaying Redux framework slider options in frontpage
<p>I code above to display my slides on header,but its 100% with and height now,so i want to add to redux option panel option to rezise my slider images to size i need.</p>

<pre><code>&lt;div id="carousel-example-generic" class="carousel slide" data-ride="carousel"&gt;
                &lt;!-- Indicators --&gt;
                &lt;ol class="carousel-indicators"&gt;
                    &lt;?php global $ro_settings;?&gt;
                    &lt;?php $i = 0; ?&gt;
                    &lt;?php foreach( $ro_settings['slides'] as $slide )  : ?&gt;
                    &lt;?php if ( $i == 0 ) : ?&gt;
                    &lt;li data-target="#carousel-example-generic" data-slide-to="&lt;?php echo $i; ?&gt;" class="active"&gt;&lt;/li&gt;
                &lt;?php else : ?&gt;
                &lt;li data-target="#carousel-example-generic" data-slide-to="&lt;?php echo $i; ?&gt;"&gt;&lt;/li&gt;
            &lt;?php endif; ?&gt;
            &lt;?php $i++; ?&gt;
        &lt;?php endforeach; ?&gt;
    &lt;/ol&gt;

    &lt;!-- Wrapper for slides --&gt;
    &lt;div class="carousel-inner"&gt;
        &lt;?php $i = 0; ?&gt;
        &lt;?php foreach( $ro_settings['slides'] as $slide ) : ?&gt;
        &lt;?php if ( $i == 0 ) : ?&gt;
        &lt;div class="item active"&gt;
        &lt;?php else : ?&gt;
        &lt;div class="item"&gt;
        &lt;?php endif; ?&gt;

        &lt;img src="&lt;?php echo $slide['image']; ?&gt;" alt=""/&gt;
        &lt;div class="carousel-caption"&gt;
            &lt;h1&gt;&lt;?php echo $slide['title']; ?&gt;&lt;/h1&gt;
            &lt;p&gt;&lt;?php echo $slide['description']; ?&gt;&lt;/p&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;?php $i++; ?&gt;
&lt;?php endforeach; ?&gt;
</code></pre>

<p></p>

<p>and on options panel code </p>

<pre><code>    /* Slider */
$this-&gt;sections[] = array(
            'icon'      =&gt; 'el el-picture',
            'title'     =&gt; __('Slider', 'wpdf'),
            'fields'    =&gt; array(
        array(
            'id'        =&gt; 'slides',
            'type'      =&gt; 'slides',
            'title'     =&gt; __('Slider Options', 'wpdf'),
            'subtitle'  =&gt; __('Add slider images.', 'wpdf'),
            'desc'      =&gt; __('Note: Allowed extensions are .jpg, .png and .gif', 'wpdf'),
            'placeholder'   =&gt; array(
            'title'         =&gt; __('This is a title', 'wpdf'),
            'description'   =&gt; __('Description Here', 'wpdf'),
            'url'           =&gt; __('Give us a link!', 'wpdf'),
            ), 
        ), 
             array(
            'id'        =&gt;'slider_width',
            'type'      =&gt; 'slider',       
            'title'     =&gt; __('Slider Width', 'wpdf'), 
            'subtitle'  =&gt; __('Specify your slider width.', 'wpdf'),
            'validate'  =&gt; 'numeric',
            "min"       =&gt; "50",
            "step"      =&gt; "1",
            "max"       =&gt; "1200",
            'default'   =&gt; "1200"          
            ),
        array(
            'id'        =&gt;'slider_height',
            'type'      =&gt; 'slider',       
            'title'     =&gt; __('Slider Height', 'wpdf'), 
            'subtitle'  =&gt; __('Specify your slider height.', 'wpdf'),
            'validate'  =&gt; 'numeric',
            "min"       =&gt; "300",
            "step"      =&gt; "1",
            "max"       =&gt; "600",
            'default'   =&gt; "500"          
            ),

        ),
     );
</code></pre>

<p>how can i get with and height values for my slides</p>

<p>i tried</p>

<pre><code>&lt;?php $i = 0; ?&gt;
            &lt;?php foreach( $ro_settings['slides'] as $slide ) : ?&gt;
            &lt;?php $slider_width = ro_get_option( 'slider_width', '1200' ); $slider_width = ro_get_option( 'slider_width', '1200' ); ?&gt;
            &lt;?php $slider_slider_height = ro_get_option( 'slider_height', '500' ); $slider_height = ro_get_option( 'slider_height', '500' ); ?&gt;
            &lt;?php if ( $i == 0 ) : ?&gt;
            &lt;div class="item active"&gt;
            &lt;?php else : ?&gt;
            &lt;div class="item"&gt;
            &lt;?php endif; ?&gt;

            &lt;img src="&lt;?php echo $slide['image']; ?&gt;" alt=""/&gt;
            &lt;div class="carousel-caption"&gt;
                &lt;h1&gt;&lt;?php echo $slide['title']; ?&gt;&lt;/h1&gt;
                &lt;p&gt;&lt;?php echo $slide['description']; ?&gt;&lt;/p&gt;
            &lt;/div&gt;
        &lt;/div&gt;
        &lt;?php $i++; ?&gt;
    &lt;?php endforeach; ?&gt;
</code></pre>

<p>but this wont get me nothing,slide size wont change</p>