WordPress.org

Support

Support » Plugins and Hacks » [Resolved] [Plugin: Slideshow Gallery] Doesn't work when wordpress is installed in sub directory

[Resolved] [Plugin: Slideshow Gallery] Doesn't work when wordpress is installed in sub directory

  • The thumbnails fail to render when wordpress is installed in a sub directory. Using 1.2.2.1

    To fix it. edit helpers\html.php

    change line 45 to this
    $tt_image = ‘<img src=”‘ . $this -> timthumb_url() . ‘?src=’ .rtrim(get_bloginfo(‘wpurl’), ‘/’).’/’. $image;

    change line 57 to this
    $tt_image = $this -> timthumb_url() . ‘?src=’ .rtrim(get_bloginfo(‘wpurl’), ‘/’).’/’. $image;

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • it also crashes IE

    move the preloader inside the jquery ready function.

    in views/default/gallery.php it should be

    jQuery(document).ready(function() {
    		jQuery.noConflict();
    		tid('slideshow').style.display = "none";
    		tid('<?php echo $wrapperid; ?>').style.display = 'block';
    		tid('<?php echo $wrapperid; ?>').style.visibility = 'hidden';
    		// append the spinner
    		jQuery("#fullsize<?php echo $rand; ?>").append('<div id="spinner<?php echo $rand; ?>"><img src="<?php echo $this -> url(); ?>/images/spinner.gif"></div>');
    		tid('spinner<?php echo $rand; ?>').style.visibility = 'visible';
    
    		window.onload = function() {

    abuseart
    Member

    @abuseart

    Thanks for sharing the solution, nexe.

    Unfortunately, mine still doesn’t work.

    myrakinko
    Member

    @myrakinko

    Thanks NEXE,
    It works for me!

    Junior Grao
    Member

    @junior-grao

    Thanks Nexe

    It Works for me too!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Resolved] [Plugin: Slideshow Gallery] Doesn't work when wordpress is installed in sub directory’ is closed to new replies.