WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Nextgen random image from all gallery in index.php (9 posts)

  1. vavroom
    Member
    Posted 6 years ago #

    Hello,

    I need to display a random image from all the galleries in my nextgen gallery install in a specific spot in my theme's index.php. I do not want it displayed in the sidebar, hence I cannot use the sidebar widget.

    Any idea on how to proceed would be greatly appreciated :) I have looked at a lot of posts on this topic, but they haven't seemed to answer the question.

  2. vavroom
    Member
    Posted 6 years ago #

    Can anyone help with this? Anyone at all????

  3. Rodeo Imagination
    Member
    Posted 6 years ago #

    As far as I know, that was developed by some other person, and was discontinued both in the next releaseds: the random image and the recent pictures. I also tried to find more info onto it, but without luck. Sorry it isn't of much help.

  4. vavroom
    Member
    Posted 6 years ago #

    Thanks Shirou. I want to ask the developer of the gallery, but he says "post in the official wordpress forum"... Which he doesn't appear to follow :(

  5. Rodeo Imagination
    Member
    Posted 6 years ago #

    I just found this, it might be from one of the developers'... If you can contact him or find a solution to this, please post it in this same thread.

    http://www.kev.hu/index.php/category/szamitastechnika/

    Regards

  6. vavroom
    Member
    Posted 6 years ago #

    Hello Shirou, thanks for that. This seems to be from the developer of the sidebar widget, which I have, but as I said, I don't want to display random photo in sidebar, but in content. There does not appear to be contact information for him on that site.

    I'll finalise other aspects of the site, which are pressing, and then I'll have a play with trying to reverse engineer the widget to see if I can make it into a function that can be called in a post :) If I achieve it, I will make sure to post here

  7. vavroom
    Member
    Posted 6 years ago #

    Ok, well, I made it work for my needs.

    View it in action on the front page of this site: http://wheelchairrugby.org

    Plugin available from my site: http://accessibility.net.nz/wp/anz-nextgen-random-pix/

  8. Rodeo Imagination
    Member
    Posted 6 years ago #

    awesome, I'll give it a try, thanks!

  9. ytorf
    Member
    Posted 5 years ago #

    This was exactly what I was looking for. Thanks!

Topic Closed

This topic has been closed to new replies.

About this Topic