0
Image file Specification 4guysfromrolla.com script
LEGEND
,
/t5/dreamweaver-discussions/image-file-specification-4guysfromrolla-com-script/td-p/64734
Aug 28, 2006
Aug 28, 2006
Copy link to clipboard
Copied
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.
TOPICS
Server side applications
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
Newsgroup_User
AUTHOR
LEGEND
,
/t5/dreamweaver-discussions/image-file-specification-4guysfromrolla-com-script/m-p/64735#M149422
Aug 29, 2006
Aug 29, 2006
Copy link to clipboard
Copied
As you are alreay inside of a ASP script you do not need to
use the extra <%
so the script should read somethind like
flnm = "/" & Session("user") & "/test.jpg"
--
Paul Whitham
Certified Dreamweaver MX2004 Professional
Adobe Community Expert - Dreamweaver
Valleybiz Internet Design
www.valleybiz.net
"khna" <fkhan@lycos.de> wrote in message
news:ecve26$3b6$1@forums.macromedia.com...
> 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.
>
so the script should read somethind like
flnm = "/" & Session("user") & "/test.jpg"
--
Paul Whitham
Certified Dreamweaver MX2004 Professional
Adobe Community Expert - Dreamweaver
Valleybiz Internet Design
www.valleybiz.net
"khna" <fkhan@lycos.de> wrote in message
news:ecve26$3b6$1@forums.macromedia.com...
> 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.
>
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
Newsgroup_User
AUTHOR
LEGEND
,
LATEST
/t5/dreamweaver-discussions/image-file-specification-4guysfromrolla-com-script/m-p/64736#M149423
Aug 29, 2006
Aug 29, 2006
Copy link to clipboard
Copied
ok that was a type error. Any idea how to get the height an d
width?
"Paul Whitham AdobeCommunityExpert" <design@valleybiz.net> schrieb im
Newsbeitrag news:ed2hau$pos$1@forums.macromedia.com...
> As you are alreay inside of a ASP script you do not need to use the extra
> <% so the script should read somethind like
>
> flnm = "/" & Session("user") & "/test.jpg"
>
> --
> Paul Whitham
> Certified Dreamweaver MX2004 Professional
> Adobe Community Expert - Dreamweaver
>
> Valleybiz Internet Design
> www.valleybiz.net
>
> "khna" <fkhan@lycos.de> wrote in message
> news:ecve26$3b6$1@forums.macromedia.com...
>> 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.
>>
>
>
"Paul Whitham AdobeCommunityExpert" <design@valleybiz.net> schrieb im
Newsbeitrag news:ed2hau$pos$1@forums.macromedia.com...
> As you are alreay inside of a ASP script you do not need to use the extra
> <% so the script should read somethind like
>
> flnm = "/" & Session("user") & "/test.jpg"
>
> --
> Paul Whitham
> Certified Dreamweaver MX2004 Professional
> Adobe Community Expert - Dreamweaver
>
> Valleybiz Internet Design
> www.valleybiz.net
>
> "khna" <fkhan@lycos.de> wrote in message
> news:ecve26$3b6$1@forums.macromedia.com...
>> 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.
>>
>
>
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more

