[Solved] Thumbnails missing

edited February 2013 in Slideshow Gallery plugin
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.

Comments

  • 4 Comments sorted by
  • Vote Up0Vote Down
    edited June 2013
    I am new to the WP world and am having difficulties with this pluggin as well. I am also local using xamp for testing
    image

    A right click, view gives:

    A TimThumb error has occured

    The following error(s) occured:
    • Could not find the internal image you specified.
    Query String : src=http://127.0.0.1/wordpress/wp-content/uploads/slideshow-gallery/930.jpg&w=100&h=75&q=100&a=t
    TimThumb version : 2.8.10


    and I do see it in D:\xampp\apps\wordpress\htdocs\wp-content\uploads\slideshow-gallery

    Cache is empty


    Changed settings-styles.php


    //$img = 'wp-content/plugins/' . $this -&gt; plugin_name . '/screenshot-1.png';<br><br>$img = get_bloginfor('url').'/wp-content/plugins/' . $this-&gt;plugin_name . 'screenshot-1.png';
    <br>
    <hr>
    <b>Changed slideshow-gallery.php</b>
    <br>
    <br>
    foreach ($slides as $skey =&gt; $slide) { <br>
    $slides[$skey] -&gt; image_path = get_bloginfo( 'url' ) . '/wp-content/uploads/slideshow-gallery/' . $slide -&gt; image; <br>
    //$slides[$skey] -&gt; image_path = 'wp-content/uploads/slideshow-gallery/' . $slide -&gt; image;
    <br>
    All old code is commented out //
    <br>
    Did not change the manage stuff yet, not until I was sure this was going to work.
    <br>
    No changes.
    <br>
    Suggestions?
  • Vote Up0Vote Down
    <code></code> didn't seem to work.. so ignore html codes in the code section
  • Vote Up0Vote Down
    I am having the same issue as Cathalo with thumbnails not appearing under the slideshow. I tried the solution above and it didn't help.

    Any assistance would be greatly appreciated.

    - AUM.
  • Vote Up0Vote Down
    Hello Aum,

    Thank you for getting in contact with us. 

    Are you using TimThumb locally? If so you might need to make some adjustments to your localserver in order to get it to work properly but please note that moving your website to a live domain should fix the problem.

    Please let us know if it helps.

    All the best!
Sign In or Register to comment.