Configure image processing on ASP

To enable image processing on ASP VBScript or ASP.NET you need to:

  1. Configure the individual image libraries and their specific access rights

  2. Grant the correct access rights to the temporary used folder, the folder where the images will be stored.

 

Configuring the .NET framework

If you are using ASP VBScript and want to use the .NET framework image processing capabilities, you must:

  1. Download and install the .NET framework, as explained in its documentation.
  2. Open the <site_root>\includes\common\lib\file_upload folder in an explorer window.
  3. Right-click on the Temp folder and select the Properties item from the pop-up menu.
  4. Switch to the Security tab. From the list of users select ASP.NET (if using Windows 2000 or XP) or NETWORK_SERVICES (for Windows 2003 server). If the user does not appear in the list, click the Add button and add it.
  5. With the correct user selected from the list, check the Read and Write options in the Allow column.
  6. Click OK to apply the changes.
Note: if you are using ASP.NET, the .NET framework is already accessible. You only need to configure the access rights.
 

Configuring ImageMagick

This image processing library is needed on both ASP VBScript and ASP.NET in order for some advanced image manipulation functions to work. To configure the server to use the ImageMagick library, follow the next steps:

  1. Download and install the ImageMagick library, as explained in its instructions.
  2. Open the <site_root>\includes\common\lib\file_upload folder in an explorer window.
  3. Right-click on the Temp folder and select the Properties item from the pop-up menu.
  4. Switch to the Security tab. From the list of users select the IWAM_[MACHINE_NAME] user.  If the user does not appear in the list, click the Add button and add it.
  5. With the correct user selected from the list, check the Read and Write options in the Allow column.
  6. Click OK to apply the changes.
 

Configure access rights

 

In order for the images to be saved and accessible after being uploaded and processed, you mus configure the access rights on the folder where the images will be stored. The folder used to store uploaded images is the same as the one storing uploaded files (configured for file upload). This is the destination folder, where images will be stored and retrieved by your pages. You need to configure the access rights as explained here.