Hello Community :
I have been reading around about image quality on the net and I have decided to use server-side power to resize images (mostly JPG) pulled from a database without damage image quality and then displays it in web browser.
What is happening is :
I have a website that the User uploads images of any size to a database called images.
Now because that image that was submited to the database will be used in several part of the website and in different sizes I would like for when people looking at the site when ever the image is retrieved from the database is procesed by a scrip using Mogrify then outputs it to the web browser.
I have been reading but i have find codes that ONLY resizes permanently at the upload process then save them in a database.
http://www.phpbuilder.com/columns/michael20020712.php3?page=2
I would like say a 500x500 picture.jpg uploaded to the database be retrived ( by web browser ) converted ( without the original being changed ) and the puts its output to webbrwoser as a 150x150 image without image being distorted. I found lots of code outthere but are simple ones that just loose the qulity of the original size of the image
Is there such task that can be acomplished ? I ask to start with ImageMagick Mogrify because my webhosting supports it.
Please help I will apreacite the effort.
Thanks.