-
Posts
565 -
Joined
Content Type
Forums
News
20th
EduGeek EDIT Conference
Blogs
Everything posted by AlexB
-
Ditto... pity my Mum is coming to stay for the weekend...
-
That's good to hear... it looked scary!
-
Jeez, what happened, you fire the whole IT support team?
-
Hi Your best bet is to create a slideshow folder on the same webserver you have xibo on. e.g. http:///slideshow where xibo is at http:///xibo. Then in there you can have 1 html file and 1 sub folder for each set of photos you want. You could use embed, but as you have to host the getimages.php on the webserver, you might as well do both.
-
This was a straight rip from another xibo thread, but I have changed the code a bit. This is what we use when we want to get images from a share automatically into xibo. .html <br /> body {<br /> margin: 0;<br /> padding: 0;<br /> background-color: #000000<br /> }<br /> .centeredImage<br /> {<br /> text-align:center;<br /> margin-top:0px;<br /> margin-bottom:0px;<br /> padding:0px;<br /> }<br /> <br /> <br /> var curimg=0<br /> function rotateimages()<br /> {<br /> document.getElementById("slideshow").setAttribute("src", "changeme/"+galleryarray[curimg])<br /> curimg=(curimg<galleryarray.length-1)? curimg+1 : 0<br /> }<br /> <br /> window.onload=function()<br /> {<br /> setInterval("rotateimages()", 5000)<br /> rotateimages()<br /> }<br /> getimages.php //PHP SCRIPT: getimages.php Header("content-type: application/x-javascript"); //This function gets the file names of all images in the current directory //and ouputs them as a JavaScript array function returnimages($dirname=".") { $pattern="(.jpg|.JPG|.Jpg|.jpeg|.JPEG|.Jpeg)"; //valid image extensions $files = array(); $curimage=0; if($handle = opendir($dirname)) { while(false !== ($file = readdir($handle))) { if(preg_match($pattern, $file)){ //if this file is a valid image //Output it as a JavaScript array element echo 'galleryarray['.$curimage.']="'.$file .'";'; $curimage++; } } closedir($handle); } return($files); } echo 'var galleryarray=new Array();'; //Define array in JavaScript returnimages() //Output the array elements containing the image file names ?>
-
Yup, I've been waiting on these. I doubt they'll take off at my school, but you can be damn sure I'll pick up a couple....
-
For me it comes down to what you are looking for. I love WoW, have done for years, but where it lets me down is the setting... I much prefer scifi (and if I'm really picky, post apoc, world gone to hell scifi). So if Bioware can give me WoW with a scifi "skin" then I'm in!
-
My preference is PVE before either side. I used to play MMOs over in the US, but I guess it's time to move back to the UK. Count me in with whatever you setup, and let me know if you need a preorder account to help form the guild.
-
I was still keen until I saw the salary range, ah well, maybe the next school...
- 23 replies
-
- baines
- lancashire
-
(and 2 more)
Tagged with:
-
Nothing like a derailed topic! That said, I got dibs on Alex
-
I fear for your mailbox...
-
I'd still be tempted to reduce the min players... I'd rather play 3 other geeks than 30 randomers!
-
Love it!
-
Yeah, I decided not to raise that particular point earlier, but it does sit badly with me. That said, management signed the order at 3:30 so I (or more accurately my PFY equiv) am very happy to not have ~300 manual imports ahead of me.
-
Order sent to finance. Cheers all
-
When I spoke to Capita last year they said I could only get them from a photographer. I gave up last year, but its rolled round again and I'm hunting again
-
Hi folks, I was wondering if anyone knew a way to buy a photo import licence without using a photographer? We are quite capable of taking photos, but having to manually import one at a time just because I'm not a photographer seems crazy! Cheers
-
Gah, I really need to find some spare time to play
-
Looking good.... get the feeling we're gonna have to start again on our map at some point?
-
Sadly I've only just popped my head up for air after the summer and missed this whole thread! Is the school done and dusted now or is the post still open/under discussion? I'd love to be able to move back closer to home and Lancashire is close enough to Southport for me
- 23 replies
-
- baines
- lancashire
-
(and 2 more)
Tagged with:
-
Wow! almost worth buying a kinect... almost
-
Gah, I really must try and find some more free time to play
-
I don't know what a CIF share is, but FRSM only works on local drives at source as far as I know.
-
Hi You only need to install FRSM on the file server(s) you are trying to restrict. As you installing locally on the machine you are restricting you use the local path to configure. Alex.
