E-commerce - Product Image Resizing
We have an e-commerce web site that require image resizing. We are using W3Image resizer to resize images. But for some unknow reason it is not resizing images. It just picks the image from Folder # 1 and without resizing copy it to Folder # 2.
I checked Dimac.net web site and manuals but there isn't enough info to resolve the issue.
Below is the code I have:
Quote:
set objW3Image = Server.CreateObject("w3Image.Image")
objW3Image.CreateEmptySurface 250, 168
objW3Image.LoadImage "C:\images\file1.jpg"
intWidth = objW3Image.Width
intHeight = objW3Image.Height
objW3Image.SaveImage "C:\pictures\file1.jpg", "JPG", 24
set objW3Image = nothing