My client wanted a photo album- i built it in PHP and SQL. It is sweet and small BUT- the administrator at client-side, is uploading photos of about 2MB. Hence, when a view looks at the photo gallery, the load time is painful.
I would like to solve this problem using this approach:
1) Still let users upload these large pictures.
2) Use PHP to shrink the photos down 50% once they are on the server.
I don't know how to reduce and images ACTUAL size. I don't mean Scale, to be clear.
does anyone here know?