This topic is locked

Using ASPImage

7/29/2010 4:32:50 PM
ASPRunnerPro General questions
B
bob@symantry.com author

Prior Topic Link Here
The advice in this prior post was to edit the create thumbnail function in include/commonfunctions.asp. This function no longer exists in this file.

Is it still possible to use ASPImage?
Thanks /Bob

Sergey Kornilov admin 7/30/2010

In version 6.2 CreateThumnail function was moved to include/aspfunctions.asp file.

B
bob@symantry.com author 7/30/2010



In version 6.2 CreateThumnail function was moved to include/aspfunctions.asp file.


Thank you. I found the function but I'm not sure how this works.

I've tried replacing all of the entries with the ASPImage equivalents but they fail to even load the image.

I have been assuming that "value" in the parameter list of the CreateThumbnail function is an object reference to the in memory version of the image and have been using the ASPImage .LoadBlob method.

Unfortunately, this fails to initialize the image appropriately and no properties of the image object are set.
I know you don't support ASPImage but are there any insights you could offer that would short-circuit this?

I have tested loading an image from the file system and ASPImage itself is working fine.
Thanks
Bob

A
ann 8/3/2010

Bob,
this task requires a lot of custom coding in the CreateThumnail() function. Unfortunately we don't have a ready to go solution for this.

You can check what operations are used to create thumbnails by aspjpeg here:

http://www.aspjpeg.com/manual_02.html

B
bob@symantry.com author 8/3/2010

Thanks, Ann. I didn't think it was that complex. I just can't seem to get started. ASPJpeg has no issues loading the "value" field from the form using LoadBinary. The equivalent function in ASPImage is LoadBlob. This fails to load the image and it doesn't matter what I do after that, obviously. Any thoughts?