• 0
    down vote
    favorite
    I’ve got a very strange problem with this website. The background slides appear when your on the English Language flag but when its switched to The Spanish flag or Other flag the backgrounds don’t appear. Link to website

    The background slides are generated via a plugin called WP Supersized, Its set to display on every page in the options menu, but doesn’t seem to work for the alternative language pages. I believe its because the url address changes to .es and ru so it looks in the incorrect filepath for the images.

    debugging code that gets displayed on the ES Version of the website – as you can see the filepaths are cut short.

    <script type="text/javascript">
                jQuery(document).ready(function($) {
                    $.supersized({
                                        slideshow               : 1,
                        autoplay        : 1,
                                                        start_slide             : 0,
                                                        random          : 1,
                        slide_interval          : 15000,
                        transition              : 1,
                        transition_speed    : 1000,
                        new_window      : 0,
                        pause_hover             : 0,
                                            stop_loop               : 0,
                        keyboard_nav            : 0,
                        performance     : 3,
    
                                                        image_protect       : 1,
                        image_path      : 'http://diamovitcarhire.com/wp-content/plugins/wp-supersized/img/',
                        min_width       : 0,
                        min_height      : 0,
                        vertical_center         : 1,
                        horizontal_center       : 1,
                                            fit_always          : 0,
                        fit_portrait            : 1,
                        fit_landscape       : 0,
                                        thumbnail_navigation    : 0,
                                            thumb_links             : 0,
                        slide_counter           : 0,
                        slide_captions          : 0,
                                                        slides                  :  [
    {image : 'http://diamovitcarhire.com/wp-content', title : '', thumb : '', url : ''},
    {image : 'http://diamovitcarhire.com/wp-content', title : '', thumb : '', url : ''},
    {image : 'http://diamovitcarhire.com/wp-content', title : '', thumb : '', url : ''},
    {image : 'http://diamovitcarhire.com/wp-content', title : '', thumb : '', url : ''},
    {image : 'http://diamovitcarhire.com/wp-content', title : '', thumb : '', url : ''},
    {image : 'http://diamovitcarhire.com/wp-content', title : '', thumb : '', url : ''},
    {image : 'http://diamovitcarhire.com/wp-content', title : '', thumb : '', url : ''},
    {image : 'http://diamovitcarhire.com/wp-content', title : '', thumb : '', url : ''}],
                                            slide_links             : 'blank',
                                            progress_bar        : 0,
                        mouse_scrub     : 0
                    });
                });
            </script>
    Code on the Page the slider works

    <script type=”text/javascript”>
    jQuery(document).ready(function($) {
    $.supersized({
    slideshow : 1,
    autoplay : 1,
    start_slide : 0,
    random : 1,
    slide_interval : 15000,
    transition : 1,
    transition_speed : 1000,
    new_window : 0,
    pause_hover : 0,
    stop_loop : 0,
    keyboard_nav : 0,
    performance : 3,

    image_protect : 1,
    image_path : ‘http://diamovitcarhire.com/wp-content/plugins/wp-supersized/img/&#8217;,
    min_width : 0,
    min_height : 0,
    vertical_center : 1,
    horizontal_center : 1,
    fit_always : 0,
    fit_portrait : 1,
    fit_landscape : 0,
    thumbnail_navigation : 0,
    thumb_links : 0,
    slide_counter : 0,
    slide_captions : 0,
    slides : [
    {image : ‘http://diamovitcarhire.com/wp-content/supersized-slides/slide-1.jpg&#8217;, title : ”, thumb : ”, url : ”},
    {image : ‘http://diamovitcarhire.com/wp-content/supersized-slides/slide-11.jpg&#8217;, title : ”, thumb : ”, url : ”},
    {image : ‘http://diamovitcarhire.com/wp-content/supersized-slides/slide-12.jpg&#8217;, title : ”, thumb : ”, url : ”},
    {image : ‘http://diamovitcarhire.com/wp-content/supersized-slides/slide-13.jpg&#8217;, title : ”, thumb : ”, url : ”},
    {image : ‘http://diamovitcarhire.com/wp-content/supersized-slides/slide-3.jpg&#8217;, title : ”, thumb : ”, url : ”},
    {image : ‘http://diamovitcarhire.com/wp-content/supersized-slides/slide-5.jpg&#8217;, title : ”, thumb : ”, url : ”}],
    slide_links : ‘blank’,
    progress_bar : 0,
    mouse_scrub : 0
    });
    });
    </script>`
    Any help would be great appreciated.

    Thanks

    http://wordpress.org/plugins/slideshow-jquery-image-gallery/

Viewing 1 replies (of 1 total)
  • Plugin Author Stefan Boonstra

    (@stefanboonstra)

    Hi Danny,

    I’m sorry, but I can’t help you with the slider that’s in the background of your website, it’s not produced by this slideshow plugin. Have you asked your question on the “WP Supersized” forum already?

    Best regards,
    Stefan

Viewing 1 replies (of 1 total)
  • The topic ‘Slider Doesn't work on Other Language Pages’ is closed to new replies.