zenphoto forums » Usage Support

Random Image on intro splash screen

(4 posts)

Tags:

  1. flo

    Junior
    Joined: Jun '11
    Posts: 7

    There are various snippets of olf forum posts that describe how to get a random image, but i cannot get any of those to work for some reason. if you see a way how to do it and can help would be great.

    Zen is installed in a folder 'photography', i wan to show a random image from the Zen gallery on an index.html page that when clicked links through to the zen gallery index.php page.

    what code is needed in the html intro page?

    thanks

    Posted 1 year ago #
  2. Zenphoto development team
    sbillard

    Chief Developer
    Joined: May '07
    Posts: 9,766

  3. Zenphoto development team
    acrylian

    Developer
    Joined: Jul '07
    Posts: 13,341

    Of course the "index.html" page needs to be turned into an "index.php" as most servers won't execute PHP on .html pages.

    Don't forget to read the Forum rules and usage resources
    Posted 1 year ago #
  4. flo

    Junior
    Joined: Jun '11
    Posts: 7

    The tip in your second comment made it and it works just fine now. Great. Thanks for your help.

    Posted 1 year ago #

RSS feed for this topic

Reply

You must log in to post.