Results 1 to 3 of 3

Thread: The ins-outs of allowing users to upload images

  1. #1
    Join Date
    Aug 2007

    The ins-outs of allowing users to upload images

    Ok, so I have a client who wants users of his website to be able to upload images. These images would also need to be censored or filtered. What I planned on doing was allowing registered users to upload images to a directory and Table "A" would have the data inserted. Then in an admin area, the client would view these uploaded images and "activate" them via a link. Then the activated data would be inserted into Table "B" All images from Table B would be accessed and viewed via the website. This was how I planned to implement it, but I have some questions. Does this seem pretty standard, is there a better way? Also, what are the "safe" and "standard" methods for this. What kind of host requirements do they need? Is there a specific place these images should be uploaded too? Permissions? What should I be worried about? Any help would be appreciated, or point of reference.


  2. #2
    Join Date
    Nov 2003
    Jerryville, Tejas
    Sounds like a pretty good strategy. You'll need server side programming and preferably some kind of database for the bean counting. About all I'd be concerned about is the file size of the uploaded images. Very few people know anything about selecting formats and encoding images for smallest size versus image quality.
    "Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." Brian W. Kernighan

  3. #3
    Join Date
    Aug 2006
    I wouldn't be surprised if you decided you needed the capability to resize images and convert formats, on the server. Possibly also the ability to place a watermark on them.

    I have no idea where you find such tools, don't ask me


Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center