Rank: Advanced Member
Groups: Member
Joined: 9/22/2008(UTC) Posts: 39
|
I'm using 5.7 and I'm extracting the horizontal resolution from the post field
iu.addParam("ExtractExif", "ExifXResolution");
in my upload.aspx page I'm reading that using this:
Dim theResolution As String = request.form("HorizontalResolution_" & i)
but what comes across is "-1" for a result. Any ideas why I would be getting -1?
|
|
|
|
Rank: Advanced Member
Groups: Member, Administration, Moderator Joined: 8/3/2003(UTC) Posts: 1,070
Thanks: 1 times Was thanked: 12 time(s) in 12 post(s)
|
Hello,
Could you give me the image that you tried to upload? |
|
|
|
|
Rank: Advanced Member
Groups: Member
Joined: 9/22/2008(UTC) Posts: 39
|
|
|
|
|
Rank: Advanced Member
Groups: Member, Administration, Moderator Joined: 8/3/2003(UTC) Posts: 1,070
Thanks: 1 times Was thanked: 12 time(s) in 12 post(s)
|
Hello, It is strange... I created small sample which just uploads an image and dumps all POST fields on the server. After I upload your image using Image Uploader Java 5.7.14 I see the following values in the request: HorizontalResolution_1 300 VerticalResolution_1 300 ExifXResolution_1 300I attached the sample, please, try it out on your end. To launch this sample you need to post it to your web server, assign read/write privileges for Network Services user to Dumps folder. After that you need to upload the image and check dump in Resolution\Dumps\_0\ExtractDump.txt file. Edited by user Monday, December 15, 2008 12:17:48 AM(UTC)
| Reason: Not specified |
|
|
|
|
Rank: Advanced Member
Groups: Member
Joined: 9/22/2008(UTC) Posts: 39
|
OK...I see what I was doing now. I was putting in ExifXResolution to pull, but in my upload.aspx file I was trying to extract HorizontalResolution (not sure why I was doing that)...so my result was always -1. After looking at the dumps.txt file I realized my mistake. Thanks
|
|
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.