Hi, I need a simple yet secure image hosting script. It should provide the following features.
1. Upload page (should provide 1 box for upload). Should allow the following formats
JPEG, GIF, PNG, APNG, TIFF, BMP, PDF, XCF (TIFF, BMP, PDF and XCF formats should be converted to PNG format when you upload them). Make sure this is secure can't have people faking file types and uploading root kits to my server etc..
2. Max file size = 1mb
3. Once an image is uploaded it will take the user to a view page showing that image and codes to use that image. These codes will consist of:
a. Link to photo
[login to view URL]
b. Link for thumb
[login to view URL]
c. Code to post the photo in a forum
[URL=[login to view URL]][img][login to view URL][/img][/URL]
d. Code to post photo in your website
xa href="[login to view URL]" target="_blank"xximg src="[login to view URL]" border="0"xx/ax
3. The view page will show the image and all the codes to link the image plus the report image button.
4. On the actual view image page there should be a bottom that says report this image for abuse. I want it so that if an image is reported by 2 different ips it is automatically removed. It will be in the link formate [login to view URL]
5. Report button an image page. This page should have a box where you can copy and past the url of the actual image file. If an image is report with this it should automatically be deleted.
6. Uploaded images should be split up into several folders to prevent 1 folder from having 100000's of images int it. Each folder should have at max 10k files.
So we would have 1 root image folder called img and then folders in it named 1,2,3,4, etc.. so image location would be [login to view URL]
7. Image cleanup (I want it so that all images older then 30 days are deleted by a cron job daily).
Do not worry about a layout just make sure you code is clean and secure and I will integrate the layout.
Thanks!
Include the word "READ" under any of your bids to show that you understand everything.