I need to create a page where users can upload pictures, and pictures will be resized to two uniform sizes(small for thumbs, and a bigger one for "full size") that will go into the db(or temp folder), I made the code that uploads pics and put it in the db but I'm very confused about resizing them 🙁

I understand I need to use libGD, I'm not sure if it is installed on my server...do I need libpng? zlib?

Or may be just ImageMagick?

I am very confused about all this lib's...what do I do?

SO...

  1. Is it better to store images in db or in a temp folder?

  2. What do I have to do to support image resize? (and don't tell me to just use HTML to resize my images)

Please HELP.....

    Write a Reply...