Back | Reverse |

Upload File List
Link | by TaioraKnight on 2005-03-04 02:24:27
I'm making a website for my mother's alumni group, and she wanted a website where I can upload photos.

The uploading part I have already done, but how do I make a list, or make thumbnails automatically, everytime a person from the group uploads a photo?

Re: Upload File List
Link | by Ree on 2005-03-04 13:15:58
Can you be more specific?
You probably want to use Javascript, but I'm not what you have atm.
Can you post the source file or something?


Re: Upload File List
Link | by gendou on 2005-03-04 14:09:43
making thumbnails is hard. however, if you force the user to upload the thumb along with the full-size pic, generating a dynamic list of pics is easy (if you know PHP, ASP, or Perl). choose your favorite programming language - i prefer PHP - and do a system call to list the files in the uploads directory. from that list, generate HMTL with <img> tags for each of the uploaded pics.

if you want PHP (or Perl) code snippets, i could write you some of the basics.

as for generating thumbnails, there may be an alternative in PHP, as you can see here.
good luck, let me know if i can help more.


Back | Reverse |

Copyright 2000-2025 Gendou | Terms of Use | Page loaded in 0.0007 seconds at 2025-09-12 02:55:02