Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

ASP.NET Forum


You are currently viewing our ASP.NET Forum as a guest. Please register to participate.
Login



Reply
Persists AspUpload Resizing???
Old 01-01-2006, 01:27 PM Persists AspUpload Resizing???
ExpressoDan's Avatar
Ultra Talker

Posts: 317
Name: This Space for Rent
Location: Georgia
Trades: 0
HAPPY NEW YEAR!!!

I just cant seem to get my head around were to start...
This might require a little background with persists aspupload/aspjpeg...
I have a script which uploads a and resizes a photo to the server. Now, my question is, once the picture is on the server, how can I let a user go back and resize the image that already resides on the server, not their local machine???

I have tried to simply replace the line were the local filepath would be with Server.MapPath("blah blah..., but with no results.

Any help would be appreciated, even a method that I haven't thought of.
__________________

Please login or register to view this content. Registration is FREE

"I think therefore I am, I think." <!-- George Carlin
ExpressoDan is offline
Reply With Quote
View Public Profile Visit ExpressoDan's homepage!
 
 
Register now for full access!
Old 01-11-2006, 01:31 PM
ExpressoDan's Avatar
Ultra Talker

Posts: 317
Name: This Space for Rent
Location: Georgia
Trades: 0
Since it appears that no one here knew... I thought I'd share the solution.

Code:
Set Jpeg = Server.CreateObject("Persits.Jpeg")

' Physical directory on server
Path = Server.MapPath("/assets/user_photos/")

' variable picture name from recordset
File_name = rsUpload("PIC_ORIGINAL")

'put it all together
new_path = Path&"/"&File_name

' This opens the file that resides on the web server.
Jpeg.Open new_path
__________________

Please login or register to view this content. Registration is FREE

"I think therefore I am, I think." <!-- George Carlin
ExpressoDan is offline
Reply With Quote
View Public Profile Visit ExpressoDan's homepage!
 
Old 03-01-2007, 10:31 PM Re: Persists AspUpload Resizing???
Junior Talker

Posts: 3
Trades: 0
disregard

Last edited by Hammer1; 03-01-2007 at 10:33 PM..
Hammer1 is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Persists AspUpload Resizing???
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.13534 seconds with 12 queries