This php script will automaticly pick a random image from OakGallery 2.0 thumbnails section and display it on your forum homepage or any other non VB site. I use it, easy to install, just edit path to your OakGallery 2.0 Thumbnails folder and upload. It attracts more people to chceck out the gallery - worked wonders for me. Try this out, looks real nice on the home page.
Install time 1 MIN
***Instructions***
1) Edit the path to the thumbnails folder in randomimage.php
2) Save and upload randomimage.php and chomod it to 775
3) Open forumhome template in your Admin CP and place the call out code anywhere desired by your likes.
PHP Code:
<img src="url/randomimage.php"height="125"width="125">
*** End Install ***
Few things you might not like.
Since the thumbnails folder contains also the Medium sized pictures this might be a bandwidth issue for some people. That is not a problem for me because i have enough bandwidth (for now)
but i did not see any sygnificant raising in bandwidth usage since the script ONLY shows a new picture on reload or opening the forum in new browser window. Constant returning to forum home in the browser does NOT refresh the picture which seems to take care the bandwidth problem. This is not the best solution for a random image script, but it works for me and i didint want to wait for the next OakGallery2.0 Update. This is a great hack and just trying to help. Make sure you have your height and width in the call out script or your going to have some problems with tables.
Hope someone will use this... Here is the randomimage.php and ill add a screenshot below.