Get JPG Resolution In ASP

I am using the File System Object to get a list of photo through a specified path :

Dim fso, ffolder, ffile, fc, fproperity, strOut, strPic
Set fso = CreateObject("Scripting.FileSystemObject")
Set ffolder = fso.GetFolder(folderspec)
Set fc = ffolder.Files

For Each ffile in fc
intCount = intCount + 1
strPic = strPhotoPath & ffile.name
Set fproperity = fso.GetFile(strPic)
.....
Next

I can display all photos without any problem, but I cannot get the
resolution(height and width) property of each of the photo. Is there any way
in doing this?

View Replies


ADVERTISEMENT

Resolution

While coding in VBA,I had been receiving script errors when attempting to utilize the online help from within the VBA IDE.
After fiddling with security settings and much searching for KB Articles as well as Googling newsgroups archives all to no avail, I finally discovered the resolution to this issue.

From within Internet Explorer, under "Tools" and "Internet Options" and "General", run the "Delete Files" under the "Temporary Internet Files" section.

For those of you who have ever experienced the Internet Explorer problem whereby "View" and "Source" does nothing, the above should resolve that issue as well.

View Replies View Related

Screen Resolution

I'm trying to replace a JavaScript that checks screen resolutions with an ASP dito
I've tried the HTTP_UA_PIXELS (servervariables) but it doesn't seem to work. I haven't found how to do this anywhere and I guess it's simple but please tell me how to do this

View Replies View Related

Screen Resolution

Is it possible to determine a user's screen resolution?

View Replies View Related

Screen Resolution

what i need to do is when someone hits my site, it must detect what that person's screen resolution is and according to that include a specific navigation.

View Replies View Related

Detecting Resolution

I have a page with a pop up window for a 800x600 resolution. But people using a different resolution will not benefit. So is there an asp script to detect what resolution people are using. And by detecting this it will alter the pop up screen size. Get what i mean?

View Replies View Related

Screen Resolution In Global.asa

I use a little asp script to get some site statistics ... essentially logging each session into a database using global.asa.

How do I capture the screen resolution in this setup ?

I know how to get the screen resolution in JavaScript ... but how do I combine javascript and asp within global.asa ? Or is there another way in asp to get the screen resolution ?

View Replies View Related

Screen Resolution Strategy...

I'd like to hear your opinions about screen resolution strategy...

Actually, we have sites which consist a set of pages...

If I decide to use code for detection screen resolution like this:

<script type="text/javascript">
var wid = screen.width; //Get the screen width
var hite = screen.height; //Get the screen height

var qs = "?width="+wid+"&height="+hite; //Create a querystring

self.location.href = "yourASPpage.asp"+qs; //Redirect to the ASP page with the Width and Height as querystring values
</script> Code:

View Replies View Related

Screen Resolution Assign To Asp

I'm retrieving the screen resoltion with javascript code, but i can't assign the correct value to asp. the response.write is displaying zero (0) for screen res., although when i do a document.write in the javascript part, then my screen res. is 1004 ...

View Replies View Related

Auto Adjust Resolution

how to auto adjust resolution of web page so that it gets adjusted on every resolution . like my website gets open perfectly on my pc but when I tried it on some other pc which had changed resolution the web page was very such shifted to left side which was looking bad. how to auto adjust resolution of web page?

View Replies View Related

Onload Resolution Problem

What I'm trying to do is, after a user has been validated, I want the form to load to the appropriate resolution for the user. Code:

View Replies View Related

ASP / VB Or CSS Check Browser Resolution

Can anyone advise the best way for me to check a screen resolution using any of the above technologies, i am creating a dropdown menu which is populated by a database with rollovers and suchlike, and i was planning on using showhide layer function with javascript however when i resize the browser at a certain point the layer get at most 30 pixels to small, which looks bad. Code:

View Replies View Related

Modify Asp Page According To Monitor Resolution.

I created an asp page it looks different when looked from an 1024x768 than it looked on 800x600 resolution. how to control this?

View Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved