Configure
image processing on ASP
To enable image processing on ASP VBScript
or ASP.NET you need to:
Configure the individual image libraries and their
specific access rights
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:
- Download and install the .NET framework, as explained in its
documentation.
- Open the <site_root>\includes\common\lib\file_upload
folder in an explorer window.
- Right-click on the Temp
folder and select the Properties item from the pop-up menu.
- 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.
- With the correct user selected from the list, check
the Read and Write
options in the Allow column.
- 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:
- Download and install the ImageMagick
library, as explained in its instructions.
- Open the <site_root>\includes\common\lib\file_upload
folder in an explorer window.
- Right-click on the Temp
folder and select the Properties item from the
pop-up menu.
- 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.
- With the correct user selected from the list, check
the Read and Write
options in the Allow column.
- 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.