fourtyseven
Programmer
I need a way of resizing a directory full of pictures. what I do is ftp new pictures to the images folder. then on the admin section of the site I run a php script that runs a dos batch script which updates a text file containing all the filenames of .jpeg files contained in that folder. The images section of the site uses the text file to load links to the pictures.
however, what I need to do now is somehow write a script that will run at the same time as my php/dos batch update script, and will resize all of the files in the folder to be 409px * 293px. The photos are high quality and take forever to load if I don't resize them to be smaller. is there anyway I can use PHP to do this? or will I need to download some sort of application that will process scripts to do this? I have a windows GUI application my pc (iRedSoft Image Resizer) that will do this, but I don't want to have to remote desktop home to my pc after uploading new pictures, just so I can run the application and resize the pictures, I want it to be an automated script that I can run from the admin section of the site.
thanks in advance for any suggestions.
however, what I need to do now is somehow write a script that will run at the same time as my php/dos batch update script, and will resize all of the files in the folder to be 409px * 293px. The photos are high quality and take forever to load if I don't resize them to be smaller. is there anyway I can use PHP to do this? or will I need to download some sort of application that will process scripts to do this? I have a windows GUI application my pc (iRedSoft Image Resizer) that will do this, but I don't want to have to remote desktop home to my pc after uploading new pictures, just so I can run the application and resize the pictures, I want it to be an automated script that I can run from the admin section of the site.
thanks in advance for any suggestions.