Album Javascript

H

Hannes

Hi,

I know a little bit of javascript.
What do i want to achieve. (I mean that i don't want the full code)
First, The client must be able to upload photos by himself.

So what do i want.
If the client uploads a folder, my Javascript must detect by itself
how many folders.
Then it have to create by itself, links or whatever to each of these
folders.

And again.
In those folders the javascript again have to count all the pictures
in the folders by itself and display them in a slideshow or something
like that.


Who can help me, or show me a decent tutorial?


Greetz
Hannes
 
E

Erwin Moller

Hannes schreef:
Hi,

I know a little bit of javascript.
What do i want to achieve. (I mean that i don't want the full code)
First, The client must be able to upload photos by himself.

So what do i want.
If the client uploads a folder, my Javascript must detect by itself
how many folders.

AFAIK: You cannot upload folders, only files.

Then it have to create by itself, links or whatever to each of these
folders.

And again.
In those folders the javascript again have to count all the pictures
in the folders by itself and display them in a slideshow or something
like that.


Who can help me, or show me a decent tutorial?


Javascript doesn't handle fileuploads.
Uploaded files go to some server that accepts them (or reject, depending
on the script that handles the upload.).

You need a decent tutorial about SERVERSIDE scripting, not JavaScript
(which is clientside most of the time.).

PHP is a relative easy serverside language to learn.

Regards,
Erwin Moller
 
T

Thomas 'PointedEars' Lahn

Hannes said:
I know a little bit of javascript.

Well, it is a start.
What do i want to achieve. (I mean that i don't want the full code)
First, The client must be able to upload photos by himself.

This requires a server-side application as well.
So what do i want.
If the client uploads a folder, my Javascript must detect by itself
how many folders.
Then it have to create by itself, links or whatever to each of these
folders.

Folders/directories cannot be uploaded in a Web browser. You can upload
them via SCP (SSH/SFTP), WebDAV (HTTP), or FTP (recommended in that order).
WebDAV uses several HTTP commands to have the folder/directory and the
uploaded files created server-side; of course the Web server needs to
support that feature.

Hyperlinks would have to be created by the server-side application as it
dynamically generates the markup document on request.
And again.
In those folders the javascript again have to count all the pictures
in the folders by itself and display them in a slideshow or something
like that.

This also would need to be generated by the server-side application, at
least partially.

The aforementioned server-side application may be written in an ECMAScript
implementation, but other programming languages which come with a number of
useful built-in libraries for file system access, image storage and
retrieval, and image manipulation (for generating the thumbnails) would
probably suit the task better; most notably PHP and Python.
Who can help me, or show me a decent tutorial?

I don't think you are quite up to the task at hand. You are well-advised to
get the basics first. For further general questions, please post to
comp.infosystems.www.authoring.misc.


PointedEars
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,777
Messages
2,569,604
Members
45,206
Latest member
SybilSchil

Latest Threads

Top