Welcome Guest! You need to login or register to make posts.

Notification

Icon
Error

Options
Go to last post Go to first unread
aks  
#1 Posted : Monday, September 20, 2004 4:50:00 PM(UTC)
aks

Rank: Advanced Member

Groups: Member
Joined: 5/6/2004(UTC)
Posts: 36

HI..!!

I want get Image File size(byte)..

at your Dundasupload.asp has how get imagewidth and imageHeight..

so... I Inserted this code for get Image File size

Code:
dim file_Len, imagewidth, imageheight

file_Len = objUpload.Form("FileSize_" & I).Value
imageWidth = objUpload.Form("Width_" & I).Value
imageHeight = objUpload.Form("Height_" & I).Value


It's Not work. What can i do it for get file size?

thank you..

Edited by user Monday, December 24, 2007 4:47:51 PM(UTC)  | Reason: Not specified

Fedor  
#2 Posted : Monday, September 20, 2004 7:54:00 PM(UTC)
Fedor

Rank: Advanced Member

Groups: Member, Administration, Moderator
Joined: 7/28/2003(UTC)
Posts: 1,660

Thanks: 5 times
Was thanked: 76 time(s) in 74 post(s)
You should use accordingly:

Code:
file_Len = objUpload.Form("SourceFileSize_" & I).Value 


SourceFileSize_N
Thumbnail1FileSize_N
Thumbnail2FileSize_N
Thumbnail3FileSize_N


See here for more info.

Edited by user Tuesday, October 28, 2008 7:29:19 AM(UTC)  | Reason: Not specified

Best regards,
Fedor Skvortsov
aks  
#3 Posted : Monday, September 20, 2004 8:12:00 PM(UTC)
aks

Rank: Advanced Member

Groups: Member
Joined: 5/6/2004(UTC)
Posts: 36

Thank You Fedor.

It Work Good..!!
Users browsing this topic
Guest
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.