hello.
i am needing a PHP script that will do several things for me.
upload, rename and resize images.
this script also show the files, be CSS driven, & X files per page (number of files needs to be customizable).
i would prefer the script be ONE file. as i intend to create new directories as needed and just upload the one PHP script to manage uploads.
perhaps the possibility to password protect the upload function?
1. the script will ONLY be needed to handle GIF & JPG files (size limited). as i am gonna sell some server space to my members to help offset the cost of running my site & forum (
www.suncitystreetscene.net/forum).
2. after uploading, the image is given new name. preferrably a TIME/DATE STAMP of when it was uploaded.
example:
on Feb. 03 2003 at 4:15 pm I upload an animated file '
dancing_jammo.gif' and a few minutes later, i upload a photo '
dancing_jammo2.jpg'
their new filenames would be: '
02032003-1615.gif' and '
02032003-1617.jpg'
or something simliar, pretty much guaranteeing that no two images will have the same filenames, ya know?
3A: if image is a GIF file, output would explain that GIF files can not be resized (i know GD library can't resize GIF in GD2). and a link to the image would be provided in BBCode:
example: the renamed filename '
02032003-1615.gif' is uploaded and BBCode output below to be used in our forum
Code:
[ img]uploads/user_name/02032003-1615.gif[ /img]
3B. if image is a JPEG file, output would show the resized image, and a link to the hylerlinked-image would be provided in BBCode:
example: a filename '
dancing_jammo2.jpg' is uploaded. and BBCode output below to be used in our forum
Code:
[ url=uploads/folder/02032003-1617.jpg][ img]uploads/folder/02032003-1617-thumb.jpg [/img][ /url]
(so it would show the thumbnail, but when clicked, it would popup the fullsize image.)
4. i want to be notified via email when an image is uploaded.
information in the email show provide me with the URL to the image/images as well as the IP Address of the user.
there is no deadline, but the sooner the better.
i would be more than pleased to pay for this script.
i would like to see a DEMO on your own site if possible.
please remember that i intend to copy this script into each new directory that i create for my members, as i want to provide an image upload section for my forum.
thank you.