> ## Image resize scripts

> by John Goulding

> Part one

> The Kaosweaver Development team have been so kind as to give you three bonus Fireworks Scripts to resize your images, ready to use with inTensa Design Gallery. You no longer need to spend time resizing your images.
> Let these scripts do it for you, automatically!
> We have also included a tutorial showing you how to write your own scripts to suit your own system, your own file sizes, and your own settings.

> Please find enclosed in the Resources folder that you have downloaded, a zip file named Fireworks_Scripts which contain 3 Fireworks scripts named,

> > main.jsf - Resizes you original image to 350x200px's. Adds the suffix _main.gif.
> > over.jsf - Resizes you original image to 125x75px's. Adds the suffix _over.gif.
> > thumbs.jsf - Resizes you original image to 125x75px's. Converts to greyscale. Adds the suffix _thumb.gif.

> Lets start by putting these script files in the correct place for them to work.

> On your system browse to the Commands folder.

> This path should be similar to c:\programfiles\macromedia\fireworks4\configuration\commands.

> Once in this folder create another folder called inTensa.

> Cut and paste your 3 script files into this folder.

> Now open Fireworks 4 and at the top of the screen click on Commands, You should now see 'inTensa' in the drop down menu, mouseover this and you should see the 3 script files listed in the next menu.

> See below.

> If you have a screen resembling the 1 above, everything is OK. If not, retrace your steps.

> Lets run the scripts

> You will need to create a folder on your computer with your images in. We will call this original_images. We will run a script on a set of images to see the result.
> At the top of Fireworks go to the command line and cursor down to inTensa, then click on main.

> You will then be presented with the screen below.

> Now click on the down arrow to the right of the text, 'Current Open Files'.

> and cursor down and click on 'Custom..', then browse to you original_images folder, and highlight them holding down the shift key as you do so. This will select all of the files to work on. Only highlight those images that you would like to process.
> Once you have selected the files you would like to process, click on 'Done'.

> At the screen below, click on 'OK'.

> The batch process will now start work on your selected files.
> You should then get the message, 'Batch processing done successfully'.

> Now browse to your folder and you will see the images have been resized and renamed as appropriate.
> For the purpose of this tutorial, we have only selected and processed 4 files.

> You can see them in the above screenshot, with the suffix of '_main'.

> You can now go back and run the next script file on your chosen images. Do this until you have run all 3 scripts on all of your files that you would like to appear in your image gallery.

> Note: Due to the limitations of Fireworks script files, the supplied scripts will process and save your files in the same folder as from where they originated. When running each script be sure to select each INDIVIDUAL ORIGINAL image. You do not want to run the script on an already processed file!

> In the above screenshot, I have ran the 'main' script on 4 images. I have now selected the 4 ORIGINAL files to run the NEXT script on.

> Continue running all 3 scripts on all of your chosen image files. You end with all processed files in a folder ready to incorporate in your gallery.

Click here for a Fireworks 4 script tutorial