Click to See Complete Forum and Search --> : Protect/resize/Thumbnail/maintain uploaded Images


raj74
12-06-2003, 01:35 AM
hi guys,

I have a dating website which allows user to upload their images. I have the following query

1) Shall i store the images in database or store only the path of the image in database.

I have gone through lot of articles where they advised not to store the images in database.

2) How to resize the uploaded image to a thumbnail size 100 X 100

3) I want to protect the uploaded image so that only user who knows the password for that particular image can able to see the image.

4) my site will have 100 to 150 uploads daily

5) What is the best way to maintain hundreds of thousands of user uploaded images.

I am a newbie

thanks in advance

raj

PeOfEo
12-06-2003, 11:09 AM
use a data base. Resises the images with a server side langauge when you upload them into the data base. I have some asp.net scripts for this in a folder right now. Then password protect the pages that select the images by using a login. On thepages that display the images use a variable of some sort that displays particular images and not them all, such as a number for another users id or something that is set prior. I also reccomend mssql server for your data basen it runs fast and can store lots of data. Access cant even get that big and even if it did you site would lag up insanely.

raj74
12-19-2003, 11:14 PM
thanks

regards
raj