WordPress.org

Ready to get started?Download WordPress

Forums

[Plugin: NextGEN Gallery] Thumbnails is not showing properly (8 posts)

  1. Anonymous
    Unregistered
    Posted 6 years ago #

    please have a look at my site at: http://www.rinisari.com/home-interior-batik/ . I call it using [tags=tag 1,tag 2,tag 3] and the result is that thumbnails is not showing properly. From the admin panel I sort the gallery thumbnails by "Alt / Title text" but it seems like the thumbnails sorted randomly and always change everytime you refresh the page. I try to make another post and call the gallery using [gallery=ID] and the problem is gone. You can see post sample at http://www.rinisari.com/bantal-dan-sarung-bantal-batik/ . Please any advice to solve this problem as I am not a web programer and kinow nothing about php. Thanks in advance.

  2. Anonymous
    Unregistered
    Posted 6 years ago #

    just for your information. I am using WP 2.5.1 and have tried it using nextgen 0.96 , 0.9.7, and the latest versiin 0.9.8 and the problem still there. I also try to change themes to default and classic wp themes, again the problem still there.. Need help very much. Thanks

  3. bee dudler
    Member
    Posted 6 years ago #

    Hi,
    i'm not quite sure as far as i can see while looking through nggfunctions there is no order given (or fetched) if pictures shown by tags, maybe Alex could change this someday if i'm right anyway..

    best regards
    bee

  4. Alex Rabe
    Member
    Posted 6 years ago #

    The random order was my intention... I will look for a more flexible solution in the future

  5. Anonymous
    Unregistered
    Posted 6 years ago #

    Alex, your plugin for me is great and very flexible. I am currious to see the next release and hope this problem will fix soon :D.

    Regards
    Jco

  6. akim
    Member
    Posted 6 years ago #

    Hi All,

    in nextgen-gallety find file nggallery.lib.php, go to line 635.
    here you can customize sort order for tag's images. personally i prefere sort order from gallery:
    <backticks>$picarray = $wpdb->get_results("SELECT t.*, tt.* FROM $wpdb->nggpictures AS t INNER JOIN $wpdb->nggallery AS tt ON t.galleryid = tt.gid WHERE t.pid IN ($piclist) ORDER BY t.sortorder ASC ");</backticks>

    ps: i use 0.9.8

  7. casperse
    Member
    Posted 6 years ago #

    Yes but then you have to modefy this every time Alexabe makes a update...

    I will wait for a Fix thanks Alexabe! (-;

  8. Anonymous
    Unregistered
    Posted 6 years ago #

    akim, you are cool! I really appreciate your tips. Its working great.. thank you very much!

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.