<img src="......" width="....." height="...."/>
If I have a function generating the above code, how can I get the width and height attributes with php?
<img src="......" width="....." height="...."/>
If I have a function generating the above code, how can I get the width and height attributes with php?
You must be logged in to post a comment.
You can use
getimagesize()
Do you mean something like this ?
So you would need to use
And then foreach them to array.