WordPress.org

Ready to get started?Download WordPress

Forums

Slideshow Gallery
[resolved] Thumbnails missing (8 posts)

  1. lucastheluke
    Member
    Posted 1 year ago #

    Quick fix for the problem:

    1. Go to slideshow-gallery.php line 168, then you should find the code like this:

    $slides[$skey] -> image_path = 'wp-content/uploads/slideshow-gallery/' . $slide -> image;

    Change to,

    $slides[$skey] -> image_path = get_bloginfo( 'url' ) . '/wp-content/uploads/slideshow-gallery/' . $slide -> image;

    2. For viewing problem in Manage Slides page, find the plugin folder "slideshow-gallery\views\admin\slides\loop.php" line 52, find the code like this:

    <a href="<?php echo $this -> Html -> image_url($image); ?>" title="<?php echo $slide -> title; ?>" class="colorbox" rel="slides"><img class="slideshow" src="<?php echo $this -> Html -> timthumb_image_src($slide -> image_path, 40, 40, 100); ?>" alt="<?php echo $this -> Html -> sanitize($slide -> title); ?>" /></a>

    Change to,

    <a href="<?php echo $this -> Html -> image_url($image); ?>" title="<?php echo $slide -> title; ?>" class="colorbox" rel="slides"><img class="slideshow" src="<?php echo $this -> Html -> timthumb_image_src(get_bloginfo('url').'/'.$slide -> image_path, 40, 40, 100); ?>" alt="<?php echo $this -> Html -> sanitize($slide -> title); ?>" /></a>

    The problem is the plugin can't locate the image location. Hope this will helps.

    http://wordpress.org/extend/plugins/slideshow-gallery/

  2. alaxvong
    Member
    Posted 1 year ago #

    This didn't work for me unfortunately. The plug-in works fine locally without this fix, but when I try it on the host the thumbnails are blank (substitute image holder in chrome) as if the image doesn't exist. I think an important note is when I downloaded the plug-in to my host, I had to create the "slideshow-gallery" folder manually. Is this a server side issue?

  3. handobg
    Member
    Posted 1 year ago #

    Good Job! Ty

  4. onlinko
    Member
    Posted 1 year ago #

    Thank u man, this solve my problem! Great!

  5. nadinecamille
    Member
    Posted 1 year ago #

    I tried this, however, it didn't seem to work :/ Thumbnails are still not displayng.

  6. superflymonkeyboy
    Member
    Posted 1 year ago #

    Thanks lucastheluke. Genius. It worked for me. Let's hope they remember to put these lines in any subsequent update.

  7. mesvil7
    Member
    Posted 1 year ago #

    I also change these in slideshow-gallery/views/default/gallery.php

    <img src="<?php echo $this -> Html -> timthumb_image_src($slide -> image_path, $this -> get_option('thumbwidth'), $this -> get_option('thumbheight'), 100); ?>" alt="<?php echo $this -> Html -> sanitize($slide -> title); ?>" />

    change to:

    <img src="<?php echo $this -> Html -> timthumb_image_src(get_bloginfo('url').'/'.$slide -> image_path, $this -> get_option('thumbwidth'), $this -> get_option('thumbheight'), 100); ?>" alt="<?php echo $this -> Html -> sanitize($slide -> title); ?>" />
    [Please post code & markup between backticks or use the code button. Your posted code may now have been permanently damaged by the forum's parser.]

    in line 51. I think if you want you can change all the path in the images present there.

    It worked for me.

  8. Spyro webz
    Member
    Posted 1 year ago #

    @mesvil7 you are great!!!!!!!!
    your code also work for me

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic