PHP: Automatically Measuring Height & Width of Image

Web pages load faster when the height and width of images displayed in them are explicitly defined because web browsers save time by not having to measure the images dimension themselves eg:
<img src=”logo.jpg” height=”100″ width=”50″ /> (read more).

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.