Support » Plugin: Slideshow Gallery » [Plugin: Slideshow Gallery] Thumbnails not showing in admin

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi irelocation,

    If the thumbnails don’t show in admin it means there is a problem with TimThumb.

    You can copy the SRC attribute of one of the images and open it in a new tab, TimThumb should show the cause of the problem then.

    Best regards,

    Phil

    Barry

    (@hawkinsbarry)

    Hi irelocation,

    Did you change the timthumb.php 775 to 777? maybe it work.

    arslaan ejaz

    (@arslaan-ejaz)

    I solved this by changing the src. Go to timthumb.php line number 209 say:

    $this->myHost = preg_replace('/^www\./i', '', $_SERVER['HTTP_HOST']);

    then make a custom path:

    `$my_new_url = sprintf(
    “%s://%s”,
    isset($_SERVER[‘HTTPS’]) && $_SERVER[‘HTTPS’] != ‘off’ ? ‘https’ : ‘http’,
    $_SERVER[‘HTTP_HOST’]
    );
    $arr = explode(‘/’,dirname($_SERVER[‘PHP_SELF’]));
    $myNewSite_name = $arr[‘1’];
    $custom_path = $my_new_url.’/’.$myNewSite_name.’/’;`

    then change line number 212:

    $this->src = preg_replace('/https?:\/\/(?:www\.)?' . $this->myHost . '/i', '', $this->src);

    to

    $this->src = $custom_path.$this->src;

    My solution will explain what is the problem. tx

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: Slideshow Gallery] Thumbnails not showing in admin’ is closed to new replies.