Jump to content

Get Image Size In Bytes Of Image In Webpage


Recommended Posts

Get image URL from page, then use InetGetSize() ?

Nice. Thanks Rarst

Heres the code for people coming later...

$oImg = _IEImgGetCollection ($oIE, 3)

$sInfo = "Src: " & $oImg.src

$size = InetGetSize($oImg.src)

The three at the end of the first line means the 4th image on the page.

Edited by gruntydatsun
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...