Support » Plugin: Flexo Slider » [Plugin: Flexo Slider] directory location not correct for images

  • flexo-slider.php

    dirresult is returning the wrong result for people that have their wordpress in a sub folder…



    $dirresult = $wpdb->get_results($query);

    echo “

    ";print_r ($dirresult[0]);echo "


    RESULT =

    stdClass Object
    [path] => wp-content/gallery/frontslider


    Correct location of the image is

    dirresult should use wp_get(home) to find correct location in front of wp-content/

Viewing 1 replies (of 1 total)
  • the quick fix for this

    If your blog is not in root
    and wp-contents is not /
    and your urls need the first directory added

    $sliderPicsHTML .= ‘<img src=”/’ . $dirresult[0]->path . ‘/’

    Find lines like that and change them to

    $sliderPicsHTML .= ‘<img src=”/wplocation/’ . $dirresult[0]->path . ‘/’

    where wplocation is the directory you have wordpress in

    I would also suggest that you do some editing of the css files but thats optional for your site. Mine needed some editing


    also if you want your slides to link to a Page or URL
    go into NextGen
    put the URL only into the DESCRIPTION box
    <a href="blah">blah </a>

    Still working on getting it to look good

    Thank You for making this plugin …
    Keep working on it .. it is good


Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: Flexo Slider] directory location not correct for images’ is closed to new replies.