Question
Image file Specification 4guysfromrolla.com script
HI all,
I have searched the web and finally found a script which would find the
Image specification on the fly.
Here is the Url to the script:
http://www.4guysfromrolla.com/webtech/code/imgsz.asp.html
Ok, i must accept that i am being dumb and canno figure out how to use it.
Here is the case.
I want this script to give me the image dimension (height and width) of a
specific file.
My image folder is variable i.e. X user has a directory named X, so the file
path varies. This isn't a problem at all.
Now if i set the variable "flnm" in the script to:
images/<%= Session("user")%>/test.jpg, ist it correct?
Now using the file as include, how can i retrieve the height and width and
set it to Session?
Any help would be highly appreciated.
I have searched the web and finally found a script which would find the
Image specification on the fly.
Here is the Url to the script:
http://www.4guysfromrolla.com/webtech/code/imgsz.asp.html
Ok, i must accept that i am being dumb and canno figure out how to use it.
Here is the case.
I want this script to give me the image dimension (height and width) of a
specific file.
My image folder is variable i.e. X user has a directory named X, so the file
path varies. This isn't a problem at all.
Now if i set the variable "flnm" in the script to:
images/<%= Session("user")%>/test.jpg, ist it correct?
Now using the file as include, how can i retrieve the height and width and
set it to Session?
Any help would be highly appreciated.
