Closed Thread Icon

Topic awaiting preservation: load images from folder. Image browser (Page 1 of 1) Pages that link to <a href="https://ozoneasylum.com/backlink?for=8180" title="Pages that link to Topic awaiting preservation: load images from folder. Image browser (Page 1 of 1)" rel="nofollow" >Topic awaiting preservation: load images from folder. Image browser <span class="small">(Page 1 of 1)</span>\

 
vto
Obsessive-Compulsive (I) Inmate

From: Godella, Valencia, Spain
Insane since: Feb 2002

posted posted 05-23-2002 13:40

Hi all,

I had been looking for a script for load all the images that are stored in a folder and show it. So if you want to ad a new one to the conllection you must only put it in the folder.

Thoes any know one example about these?

Besta regards.

GRUMBLE
Paranoid (IV) Mad Scientist

From: Omicron Persei 8
Insane since: Oct 2000

posted posted 05-23-2002 14:27

that cannot be done automatically with client-side scripting. you may use a server-side script to do this.

but you could put all your image file names in a javascript-array and use this one to make your image browser.

vto
Obsessive-Compulsive (I) Inmate

From: Godella, Valencia, Spain
Insane since: Feb 2002

posted posted 05-23-2002 14:50

Yes, I know, these must be done with server-side js, but the problem is how to put all the names of the files in the array every time you call the webpage. I think I can find these information in netscape server-side js guide but I ask the forum thinking that someone can have an example about these.

Tnks and regards,


GRUMBLE
Paranoid (IV) Mad Scientist

From: Omicron Persei 8
Insane since: Oct 2000

posted posted 05-23-2002 14:52

how to put the names of the images there?
well, just write them there like
var images=new Array('img1.jpg', 'img2.gif', ....);

server-side js
never heard of that. do you mean jsp maybe?

InI
Paranoid (IV) Mad Scientist

From: Somewhere over the rainbow
Insane since: Mar 2001

posted posted 05-23-2002 15:53

The poster has demanded we remove all his contributions, less he takes legal action.
We have done so.
Now Tyberius Prime expects him to start complaining that we removed his 'free speech' since this message will replace all of his posts, past and future.
Don't follow his example - seek real life help first.

Slime
Lunatic (VI) Mad Scientist

From: Massachusetts, USA
Insane since: Mar 2000

posted posted 05-23-2002 20:10

I'm afraid none of us here really have any experience with server side JS, so we don't really know how one would access a folder with it.

vto
Obsessive-Compulsive (I) Inmate

From: Godella, Valencia, Spain
Insane since: Feb 2002

posted posted 05-24-2002 08:38

Ok one moment please,

I don't know why Ini is thinking that I'm no reading the aswers, I'm reading all your answers to these list since I know it mouths ago and I like it very much and I think it's one of the best resources in the net.

Ok forget all of these and go to work. These script is for an intranet we have are going to mount a server with apache or iss, but it's a little intranet, only 30 pc, and the proyect is for have a electronic registry about our designs. Every time someone have a new desings he/she needs a number for it from the registry so these people can look at these web and take the last number. Also we can see all the images of the registry and work in new desings for diferent collections. When finish a new design he/she must save a picture to the directory and all the people can see it.

Another question is the code. I konw I must use server-side scripting, I konw how to use an array in js, but I never work with server-side. I had been taking a look at http://docs.iplanet.com/docs/manuals/ssjs.html and other resorces and I think it can take me some days for begin to work with these, only for find an object and a method that can read file names from a folder and put it in the array. Becouse of these I think someone can had expericece about these in the list.

So, I'm going to work in these in the next times and I post the code to the list when I have some, if I can do it, perhaps we can speak about it then.

Thanks all, sorry for spend your time and continue with these great list.

Vto.

InI
Paranoid (IV) Mad Scientist

From: Somewhere over the rainbow
Insane since: Mar 2001

posted posted 05-24-2002 09:23

The poster has demanded we remove all his contributions, less he takes legal action.
We have done so.
Now Tyberius Prime expects him to start complaining that we removed his 'free speech' since this message will replace all of his posts, past and future.
Don't follow his example - seek real life help first.

InI
Paranoid (IV) Mad Scientist

From: Somewhere over the rainbow
Insane since: Mar 2001

posted posted 05-24-2002 17:07

The poster has demanded we remove all his contributions, less he takes legal action.
We have done so.
Now Tyberius Prime expects him to start complaining that we removed his 'free speech' since this message will replace all of his posts, past and future.
Don't follow his example - seek real life help first.

« BackwardsOnwards »

Show Forum Drop Down Menu