How to show random picture?

13»

Comments

  • This is now part of the core code in zp 1.1
  • Can someone fix the random images for the recent version, it says

    Fatal error: Cannot redeclare getrandomimages() (previously declared in /home/daxenoc/public_html/zp-core/template-functions.php:1320) in /home/daxenoc/public_html/themes/stopdesign/customfunctions.php on line 9
  • acrylian Administrator, Developer
    You should try using the stopdesign theme which is included in zenphoto. I am sure your version is older. The old theme version had the function in its custom functions file, which is not necessary anymore because the getRandomImages function is in the core now. The theme tries to call the already declared function a second time, that's why you get the error.
  • Thanks Acrylian.

    I just deleted the customfunction file and it works. anyways, thanks a lot.
Sign In or Register to comment.