Hi, I really need a script that resizes images to 530 pixels in width and their proportionate value in height. Then I need the PHP script to automatically crop the height of the image to 170 pixels before uploading the image onto the server.
Previously I've used a PHP script that checks an image's proportions and only uploads it if it is 530x170 pixels, but my client is having difficulty resizing his images to these specifications so I thought I should find a script that does it automatically.
Many, many thanks,
Leao
Resize & crop image script
Moderator: General Moderators
Re: Resize & crop image script
PHP is a serverside language so what you are asking for is impossible. To work on a file it would first need to be uploaded to the server.Leao wrote:I need the PHP script to automatically crop the height of the image to 170 pixels before uploading the image onto the server.