Kan du inte skicka med en querystring till view.asp och låta den filen välja vad den ska visa upp för fil?
Jag har ett stort behov av att öppna en bild, manipulera med den och dessutom visa den på samma sida.
I manualen
(Documentation > Read the documentation > Download) , står följande:
Download
The Download method is used to download the updated JPEG.
Syntax
.Download [NewFileName, ContentType, ContentDisposition]
Parameter
NewFileName define the default filename in the save dialog box.
ContentType is the mime type, if an application recognize it the browser will open the application instead of open the "Save as" dialog box.
ContentDisposition contains the string of the Content Disposition Hearders for the MIME Type.
"attachment" force the browser to ask to Open or Save the file
"inline" open the picture in the browser
***
Jag när jag skriver:
response.write "<IMG SRC=""" & mySmartImage.Download "original.jpg", "application/x-zip-compressed","inline" & """>"
Så visas bilden enbart på sidan. Däremot fungerar:
response.write "<IMG SRC=""" & view.asp & """>"
***
Jag förstår inte hur det är möjligt att det ena fungerar men inte det andra... Eller, om jag säger så här, det blir fasligt många view.asp filer!
Is there a workaround avalible!?!?

