I need to do some dynamic thumbnailing from ASP, and I've decided to write a VB Component to do this.
This is what I know:
I'll write an ActiveX dll, which will contain a function. From asp I will call this function with one argument, namely the path to the image I want to thumbnail. In VB this function will accept this string as a Variant. Once I associate this String to an image object, then I can do what I need to do (i.e calculate aspect ratio, set stretch to true, resize it and save it). I'll return a boolean representing success/fail.
What I don't know:
1)I don't know how to go from the step of having the filename as a String and actually getting an Image to work with.
Thanks!
dvst8




Reply With Quote