[jQuery] Re: Pulling images dynamically from a folder.

2008-11-25 Thread TheBlueSky
As per my understanding, you want jQuery to read a folder on your server and extract all the images there, right? If so, I don't think it's possible. jQuery is client-side scripting platform (JavaScript) and it runs on your browser not your server. Yes, you may integrate it with serer-side script

[jQuery] Re: Pulling images dynamically from a folder.

2008-11-25 Thread craig.kaminsky
BlueSky is correct. JavaScript that runs in the browser does not have access to either a local or server-based file system. For that you need either: (1) a classic server-side programming language (ala BlueSky's notes for PHP, ASP.NET, ColdFusion, etc.) or (2) a site that runs the Jaxer server

[jQuery] Re: Pulling images dynamically from a folder.

2008-11-25 Thread fr0st003
So what I could do is use something like PHP, to pull images from the folder place them into a array, use the math function to pull something at random then use Javascript to style the information. Would this be possible to do with Python? I have some experience with Python. And or Ruby?

[jQuery] Re: Pulling images dynamically from a folder.

2008-11-25 Thread Liam Potter
any server side language. fr0st003 wrote: So what I could do is use something like PHP, to pull images from the folder place them into a array, use the math function to pull something at random then use Javascript to style the information. Would this be possible to do with Python? I have some

[jQuery] Re: Pulling images dynamically from a folder.

2008-11-25 Thread howardk
You can do this entirely on the client if (1) you either know the names of all the image files in the directory on the server or (2) you can construct them programatically at runtime. The latter works for instance if the file names are something like image_1.png, image_2.png, image_3.png, ...,