test
Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • niusha Friend
    #132027

    Hi,

    can someone tell me perhaps, why not Slideshow work in Firefox?

    http://www.gallerypyongyang.com (in section Gallery)

    Sherlock Friend
    #264840

    Hi
    That porblem because, your images name have space
    You can edit display.class.php(componentscom_rsgallery2templatesja_semantic folder)
    Search those lines:

    <script type="text/javascript">
    function slideshow_<?php echo $kid->get('id'); ?>(){
    var images = [];
    <?php
    foreach( $kid->items() as $item ):
    if( $item->type != 'image' )
    continue; // we only handle images
    $display = $item->display();
    ?>
    images.push(["<?php echo $display->url(); ?>", "<?php echo htmlspecialchars(stripslashes($item->descr), ENT_QUOTES); ?>"]);
    <?php endforeach; ?>
    Lightbox.open(images, 0);
    }
    </script>

    Change to

    function slideshow_<?php echo $kid->get('id'); ?>(){
    var images = [];
    <?php
    foreach( $kid->items() as $item ):
    if( $item->type != 'image' )
    continue; // we only handle images
    $display = $item->display();

    $url=$display->url();
    $url=str_replace(" ","%20",$url);

    ?>
    images.push(["<?php echo $url; ?>", "<?php echo htmlspecialchars(stripslashes($item->descr), ENT_QUOTES); ?>"]);
    <?php endforeach; ?>
    Lightbox.open(images, 0);
    }
    </script>

    niusha Friend
    #264875

    Thank you very much :-*

    niusha Friend
    #264889

    I have now the problem that the Slideshow works only on the page 1 and does not start on second pages :confused:

    Sherlock Friend
    #265207

    Hi
    Plz publish images in those galleries at page 2

    niusha Friend
    #265273

    <em>@nguoiabcd 73346 wrote:</em><blockquote>Hi
    Plz publish images in those galleries at page 2</blockquote>

    And how can I do it?

    niusha Friend
    #265369

    I looked and all the images are actually published :confused:

    Sherlock Friend
    #265413

    Can you please send via PM an admin account of your website so that I could look into the issue.

Viewing 8 posts - 1 through 8 (of 8 total)

This topic contains 8 replies, has 2 voices, and was last updated by  Sherlock 16 years, 4 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum