Forums
This topic is locked
Smart Image Proccessor Path causes crash
Posted 07 Feb 2003 16:59:57
1
has voted
07 Feb 2003 16:59:57 Sean Riley posted:
SIP seems fine if I point to a static directory, but when I try and use expressions in the save path, it causes Dreamweaver to stop responding.Here is what I am trying to do with it.
I am using ASP upload to save images to the following path:
"Clients/" & UploadFormRequest("client"

Everything here works great, but I want to create a thumbnail of the image when it is uploaded, so I add ther SB for SIP and feed it the same path, and when I click OK, it hangs and then goes to not responding. I have uninstalled and reinstalled the SIP thinking that might help, but not. I finally tried entering just
Clients
as the directory, and it saves fine. However when I plug back in the dynamic path info it hangs.
Any help would be appriciated
Replies
Replied 10 Feb 2003 22:38:48
10 Feb 2003 22:38:48 Sean Riley replied:
Sorry, this was posted elsewhere in error.
I found this:
Smart Image Processor works with a static folder, but it doesn't seem to accept a dynamic path.
Pure ASP Upload will accept the dynamic path.
"../Images/"&UploadFormRequest("ArtistID"
Answer:
--------------------------------------------------------------------------------
You should leave the folder empty on Smart Image Processor, because you create the folder dynamically on the Pure ASP Upload extension and you store the full path.
But when I clear my path, I don't get the thumbnail. Again, if I hardcode the location "Clients/1/Graphics" in the path, I do get the thumbnail.
It seems to set RUF_path, and I have tried a number of ways to reference the dynamic path, but no success yet.
If someone is SURE this works I will keep beating my head against it, and report back
I found this:
Smart Image Processor works with a static folder, but it doesn't seem to accept a dynamic path.
Pure ASP Upload will accept the dynamic path.
"../Images/"&UploadFormRequest("ArtistID"

Answer:
--------------------------------------------------------------------------------
You should leave the folder empty on Smart Image Processor, because you create the folder dynamically on the Pure ASP Upload extension and you store the full path.
But when I clear my path, I don't get the thumbnail. Again, if I hardcode the location "Clients/1/Graphics" in the path, I do get the thumbnail.
It seems to set RUF_path, and I have tried a number of ways to reference the dynamic path, but no success yet.
If someone is SURE this works I will keep beating my head against it, and report back
Replied 11 Feb 2003 17:21:50
11 Feb 2003 17:21:50 Sean Riley replied:
OK, I have figured it out. For anyone else who may be having problems here is an attempt at an explaination:
To thumbnail using SIP with ASP Upload to ANY dynamic path you have to do 3 things (two in ASP upload and one in SIP):
In ASP Upload:
1) Create your dynamic path in the "Upload Folder" field. Mine was "Clients/" & UploadFormRequest("client"
& "/Graphics"
2) You MUST select "Prefix with Full Path" in the Filename radio button
In Smart Image Processor:
1) Just leave the "Upload Folder" field blank.
When I look over Martha's advice this is what she is saying, I hope this helps someone else out with it.
<img src=../images/dmxzone/forum/icon_smile_big.gif border=0 align=middle>
To thumbnail using SIP with ASP Upload to ANY dynamic path you have to do 3 things (two in ASP upload and one in SIP):
In ASP Upload:
1) Create your dynamic path in the "Upload Folder" field. Mine was "Clients/" & UploadFormRequest("client"

2) You MUST select "Prefix with Full Path" in the Filename radio button
In Smart Image Processor:
1) Just leave the "Upload Folder" field blank.
When I look over Martha's advice this is what she is saying, I hope this helps someone else out with it.
<img src=../images/dmxzone/forum/icon_smile_big.gif border=0 align=middle>