• Resolved Cormac Bracken

    (@the_other_mac)


    Is there a way to specify which slides to display, using metadata?

    Slideshows are inherently heavy on bandwidth. I’d like mobile users to get just the first slide from any given slideshow. Something like this:

    if ( wp_is_mobile() ) {
    	meteor_slideshow( "slideshow-slug-1", "quantity: 1" );
        }
        else
    	meteor_slideshow( "slideshow-slug-1" );

    https://www.ads-software.com/extend/plugins/meteor-slides/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Josh Leuze

    (@jleuze)

    Cool, I didn’t know they had added that mobile check function. There isn’t a simple way to set the quantity, I would use different slideshows for each, then you could even serve a smaller image to mobile devices if you wanted to:

    <?php if ( wp_is_mobile() ) {
    	meteor_slideshow( "standard-slideshow", "" );
    }
    else {
    	meteor_slideshow( "mobile-slideshow", "" );
    } ?>
    Thread Starter Cormac Bracken

    (@the_other_mac)

    For a moment I thought this was a perfect and simple solution. But wp_is_mobile() returns TRUE even for full size tablets. Serving them a small-image slideshow wouldn’t look so great.

    I guess I could install Mobble and have something like

    if ( wp_is_mobile()&& !is_tablet() ) {
        meteor_slideshow( "mobile-slideshow", "" );
    }
    else ...

    Or a single slide slideshow. Or a static image reference. Decisions…

    Plugin Author Josh Leuze

    (@jleuze)

    Yeah that is tricky, is mobile is going to come back true in a lot of situations, so you wouldn’t want to use a smaller image. But even a single larger image that can scale across all mobile devices would be a lot lighter weight than a whole slideshow.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Specify slides in metadata (ie display only 1st slide)’ is closed to new replies.