Page 1 of 1

Dynamic Image

Posted: Tue Apr 05, 2011 1:10 am
by ravinder
How to upload a image in mysql data base and retrieve from data base

Re: Dynamic Image

Posted: Tue Apr 05, 2011 4:36 am
by egami
drink lots of India Pale Ale beer, and hope for the best!

Re: Dynamic Image

Posted: Wed Apr 20, 2011 6:15 pm
by annyphp
Hi
You can find some dynamic image scripts on PHPKode.com
Recommend a good scripts named Image dynamic resizer:
Images can be loaded from a specified file or a previously computed one can be used. Image dynamic resizer can resize the image to a given width or height keeping the original aspect ratio.

If the original aspect ratio differs from the desired size aspect ratio, the resulting image can either be cropped or filled with a given background color.
Check out http://www.phpkode.com/scripts/item/ima ... ic-esizer/ for more info...

Re: Dynamic Image

Posted: Wed May 25, 2011 10:49 am
by webinfopedia
Hello

I think its better to upload an image to the web directory and saving its name in database than the uploading image directly to database. because we have some advantages if you uploaded image to web directory.
In below article i have explained it. You can download the example file also by viewing demo
http://www.webinfopedia.com/php-upload- ... abase.html

Thank You.

Re: Dynamic Image

Posted: Mon Aug 15, 2011 4:17 am
by webinfopedia
Hi

Kindly check my below article. You can download the example file also by viewing demo.
http://www.webinfopedia.com/php-upload- ... abase.html

Here what you have to change is the file type in if condition. U can get the file type using $_FILES['image']['type'] in PHP.

Will post the example file soon..

Thank You
http://www.webinfopedia.com