for example, all uploaded images will be in the directory /thumbs/ , but i want a script that resize all images in that directory without passing through a file.
don't know if you understand me.
is this possible??? resize an image in a directory
Moderator: General Moderators
-
Maluendaster
- Forum Contributor
- Posts: 124
- Joined: Fri Feb 25, 2005 1:14 pm
-
alex.barylski
- DevNet Evangelist
- Posts: 6267
- Joined: Tue Dec 21, 2004 5:00 pm
- Location: Winnipeg
psuedo comment code
Code: Select all
// define a thumbnailing function for resizing
// open your directory
// loop through it
// apply thumbnailing function to the image while looping, making sure it saves over top of your current image
// doneSet Search Time - A google chrome extension. When you search only results from the past year (or set time period) are displayed. Helps tremendously when using new technologies to avoid outdated results.