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…

    EX
    IMAGE LOCATION =
    domainroot/wplocation/wp-content/gallery/frontslider/image.jpg

    —————————————————–
    ~line7

    $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
    wplocation/wp-content/gallery/frontslider

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

    http://wordpress.org/extend/plugins/flexo-slider/

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

    AND

    also if you want your slides to link to a Page or URL
    go into NextGen
    put the URL only into the DESCRIPTION box
    ex http://www.mysite.com/page1
    NOT
    <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

    :o)

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