WordPress.org

Support

Support » Plugins and Hacks » Meteor Slides » [Resolved] [Plugin: Meteor Slides] Image not showing when only 1 slide is added

[Resolved] [Plugin: Meteor Slides] Image not showing when only 1 slide is added

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

    @jleuze

    Hi Joe, there is a problem in 1.5 with slideshows that have only one slide. As you discovered, you can fix this by adding more than one slide. If you need it to work with just one slide, you can download the GitHub master which has a fix for this.

    I try to install the new version but isn’t work 🙁

    I showed the images only if i’ve 2 slides

    Plugin Author Josh Leuze

    @jleuze

    You tried to install 1.5, or the master of 1.5.1 from Github? What theme are you using, can you post a link?

    Version: 1.5.1 from Github

    I can’t post a link because i’m developing on localhost

    Just to let you know JLeuze, that worked perfectly thanks!

    Plugin Author Josh Leuze

    @jleuze

    @jmandevo Thanks for the feedback!

    Plugin Author Josh Leuze

    @jleuze

    @hedo The easy fix is to add more than one slide. What theme are you using?

    @hedo The easy fix is to add more than one slide.

    yeah i know, but sometimes i wish to have only one image.

    What theme are you using?

    A custom template with a child theme from twenty_ten

    Plugin Author Josh Leuze

    @jleuze

    1.5.1 should work fine in TwentyTen, but I wouldn’t be able to tell you why it isn’t without inspecting the site.

    Go to your plugin directory -> meteor-slides -> includes -> meteor-slideshow.php

    Go to line 113, you should see this :

    <?php // Use first slide image as shim to scale slideshow
    
    			if ( $meteor_count == 1 ) {
    
    				$meteor_shim = wp_get_attachment_image_src( get_post_thumbnail_id(), 'featured-slide');
    
    				echo '<img style="visibility: visible;" class="meteor-shim" src="' . $meteor_shim[0] . '" alt="" />';
    
    			} ?>

    switch
    echo ‘<img style=”visibility: hidden;”
    to
    echo ‘<img style=”visibility: visible;”

    Plugin Author Josh Leuze

    @jleuze

    @julfontaine No, don’t do that, that image is a copy of the first slide, it is used only to scale the slideshow responsively, and it should never be seen in the slideshow. If the actual slide images are missing, it is a separate issue and is due to some kind of theme or plugin conflict.

    Hi

    did you find how to resolve the problem of the one picture?

    I almost finished the site and i’m worried about changing the version of my meteor…

    Plugin Author Josh Leuze

    @jleuze

    @clemttt If you have more than one slide in your slideshow you should be fine.

    Hello all
    If I want only one slide to display for some reason, I put two slides in the slideshow and use ‘Electric Studio Auto Post Expire’ to set the slide you don’t want displaying to expire immediately.
    Works for me.

    @jleuze,
    when do you think to publish the new release of your plugin with this little correction?
    I have the same problem and for some server questions i cant use the Giftub version…
    (anyway, i love your plugin!) tnkz.

Viewing 15 replies - 1 through 15 (of 26 total)
  • The topic ‘[Resolved] [Plugin: Meteor Slides] Image not showing when only 1 slide is added’ is closed to new replies.
Skip to toolbar