I scrap a webpage content using curl. And create DOM using that html content. I need to check size of the images that contained in that html.
Is that possible to width and height of an using Php DOM (image tag not containing the width and height attribute)?
As you are saying img tag is not containing height & width. You can look at getimagesize PHP function. You need to pass image url you getting from scrapping to getimagesize function.
Ex:
OUTPUT is array
Hope this help.