Developer forum

Forum » CMS - Standard features » getimage.aspx cannot resize images?

getimage.aspx cannot resize images?

Roman Sterlingov
Reply
When I try to call it with different dimensions than those of the original image, it just fails with the error provided below. I have specifically checked that the size is the argument that is causing this. If I change it to the image's native resolution (both width and height), it shows the image normally. This error even occurs if I specify only one of dimensions.
Is this normal behavior? I thought that the image loader should be able to resize images, that is kind of the point? :-)

An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x8007000B)

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.BadImageFormatException: An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x8007000B)


Replies

 

You must be logged in to post in the forum