<% Const IMGS_DIR = "/images" Dim objFSO, objFolderObject, objFileCollection, objFile Dim intFileNumberToUse, intFileLooper Dim objImageFileToUse Dim strImageSrcText Set objFSO = Server.CreateObject("Scripting.FileSystemObject") Set objFolderObject = objFSO.GetFolder(Server.MapPath(IMGS_DIR)) Set objFSO = Nothing Set objFileCollection = objFolderObject.Files Set objFolderObject = Nothing Randomize() intFileNumberToUse = Int(objFileCollection.Count * Rnd) + 1 intFileLooper = 1 For Each objFile in objFileCollection If intFileLooper = intFileNumberToUse Then Set objImageFileToUse = objFile Exit For End If intFileLooper = intFileLooper + 1 Next Set objFileCollection = Nothing strImageSrcText = IMGS_DIR & objImageFileToUse.Name Set objImageFileToUse = Nothing %>
     
 

 


Contact Us

Latest News
Enquiry Form

Name*

Email Addres*

Phone*

Type of enquiry*

Details*

How did you hear about us?*
Image Verification

Please enter the text from the image
[ Refresh Image ] [ What's This? ]

search for...


26 Ramsay Street
Toowoomba QLD 4350

(07) 4613 1388

 

 
 
Copyright © 2007 Studio Ni Photography & Imgaing. All Rights Reserved