ResponsiveSlides-Talk

Summary: Talk page for ResponsiveSlides.
Maintainer: AntonyTemplier
Users: (View / Edit)

This space is for User-contributed commentary and notes. Please include your name and a date along with your comment.

The new version of Responsive Slides fixes some CSS bugs. Download it here:

ResponsiveSlides_2018-01-08.zipΔ

Said Achmiz January 08, 2018, at 01:45 PM


The new version of Responsive Slides supports images of different sizes and aspect ratios (as well as still having all the changes I list below). Download it here:

ResponsiveSlides_2018-01-05.zipΔ (outdated; download newer version, above)

The “catch” is that the .gallery element must have a width and height specified.

Said Achmiz January 05, 2018, at 12:30 AM


I made the changes noted below, updated the recipe for compatibility with PHP 7.2, and also modified it to only attach the JS and CSS if the (:responsiveslides:) directive is used on a page. Here is the modified recipe:

ResponsiveSlides_2018-01-04.zipΔ (outdated; download newer version, above)

Note that in this version, the array you must modify to, e.g., substitute your own local version of jQuery, is not $HTMLHeaderFmt, but rather $ResponsiveSlidesHTMLHeaderFmt.

Said Achmiz January 04, 2018, at 09:36 PM


The auto option does not work. Here is the fix:

Change line 125 of responsive from

    $("'.$o['list'].' ul").responsiveSlides(' .rslides_json_encode($o, false, $rslides_unsafe_options). ');

to

    $("'.$o['list'].' ul").responsiveSlides(' .rslides_json_encode($o, false, array_merge($rslides_unsafe_options, array('auto'))). ');

Said Achmiz December 29, 2017, at 01:55 AM

Also, on lines 72 and 73, $PubDirUrl should be changed to $FarmPubDirUrl or else the recipe doesn’t work properly in wikifarms.

Said Achmiz December 29, 2017, at 02:16 AM

Talk page for the ResponsiveSlides recipe (users).

Array
(
    [post_max_size] => 64M
    [$_POST keys] => 
    [$_REQUEST keys] => n
    [$_SERVER] => Array
        (
            [CONTEXT_DOCUMENT_ROOT] => /home/pmwiki/public_html
            [CONTEXT_PREFIX] => 
            [DOCUMENT_ROOT] => /home/pmwiki/public_html
            [GATEWAY_INTERFACE] => CGI/1.1
            [HTTPS] => on
            [HTTP_ACCEPT] => */*
            [HTTP_ACCEPT_ENCODING] => gzip, br, zstd, deflate
            [HTTP_HOST] => www.pmwiki.org
            [HTTP_REFERER] => https://pmwiki.org/wiki/Cookbook/ResponsiveSlides-Talk
            [HTTP_USER_AGENT] => Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
            [HTTP_X_HTTPS] => 1
            [PATH] => /bin:/usr/bin
            [PHP_INI_SCAN_DIR] => /opt/cpanel/ea-php70/root/etc:/opt/cpanel/ea-php70/root/etc/php.d:.
            [QUERY_STRING] => n=Cookbook%2fResponsiveSlides%2dTalk
            [REDIRECT_HTTPS] => on
            [REDIRECT_QUERY_STRING] => n=Cookbook%2fResponsiveSlides%2dTalk
            [REDIRECT_SCRIPT_URI] => https://www.pmwiki.org/wiki/Cookbook/ResponsiveSlides-Talk
            [REDIRECT_SCRIPT_URL] => /wiki/Cookbook/ResponsiveSlides-Talk
            [REDIRECT_SSL_TLS_SNI] => www.pmwiki.org
            [REDIRECT_STATUS] => 200
            [REDIRECT_UNIQUE_ID] => afHrP8Uw0tuNhWDptYzkQwAAAE4
            [REDIRECT_URL] => /wiki/Cookbook/ResponsiveSlides-Talk
            [REMOTE_ADDR] => 216.73.216.31
            [REMOTE_PORT] => 48784
            [REQUEST_METHOD] => GET
            [REQUEST_SCHEME] => https
            [REQUEST_URI] => /wiki/Cookbook/ResponsiveSlides-Talk
            [SCRIPT_FILENAME] => /home/pmwiki/public_html/index.php
            [SCRIPT_NAME] => /index.php
            [SCRIPT_URI] => https://www.pmwiki.org/wiki/Cookbook/ResponsiveSlides-Talk
            [SCRIPT_URL] => /wiki/Cookbook/ResponsiveSlides-Talk
            [SERVER_ADDR] => 23.254.203.248
            [SERVER_ADMIN] => webmaster@pmwiki.org
            [SERVER_NAME] => www.pmwiki.org
            [SERVER_PORT] => 443
            [SERVER_PROTOCOL] => HTTP/1.1
            [SERVER_SIGNATURE] => 
            [SERVER_SOFTWARE] => Apache
            [SSL_TLS_SNI] => www.pmwiki.org
            [TZ] => America/Los_Angeles
            [UNIQUE_ID] => afHrP8Uw0tuNhWDptYzkQwAAAE4
            [PHP_SELF] => /index.php
            [REQUEST_TIME_FLOAT] => 1777462079.7252
            [REQUEST_TIME] => 1777462079
            [argv] => Array
                (
                    [0] => n=Cookbook%2fResponsiveSlides%2dTalk
                )

            [argc] => 1
        )

)