<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>php-get-image-dimensions &#8211; Extreme Web Designs</title>
	<atom:link href="https://theextremewebdesigns.com/blog/tag/php-get-image-dimensions/feed/" rel="self" type="application/rss+xml" />
	<link>https://theextremewebdesigns.com/blog</link>
	<description>Web Design and Web Development</description>
	<lastBuildDate>Tue, 19 Jun 2012 18:01:13 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.7.5</generator>
<site xmlns="com-wordpress:feed-additions:1">156673191</site>	<item>
		<title>PHP Get Image Dimensions (Width &#038; Height) Examples</title>
		<link>https://theextremewebdesigns.com/blog/php-get-image-dimensions-get-image-width-height-using-php/</link>
					<comments>https://theextremewebdesigns.com/blog/php-get-image-dimensions-get-image-width-height-using-php/#comments</comments>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Tue, 19 Jun 2012 18:01:13 +0000</pubDate>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Tips and Tricks]]></category>
		<category><![CDATA[php-get-image-dimensions]]></category>
		<category><![CDATA[php-tips]]></category>
		<guid isPermaLink="false">https://theextremewebdesigns.com/blog/?p=940</guid>

					<description><![CDATA[Have you ever wanted to get image dimensions  using PHP? In this article, I am going to share an easy way to use PHP to get image dimensions (width &#38; height). Examples in PHP to Get Image Dimensions (Width &#38; Height) Following is the complete HTML + PHP source code that shows how to get [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>Have you ever wanted to get image dimensions  using PHP? In this article, I am going to share an easy way to <em><strong>use PHP to get image dimensions (width &amp; height)</strong></em>.<span id="more-940"></span></p>
<h2>Examples in PHP to Get Image Dimensions (Width &amp; Height)</h2>
<p>Following is the complete HTML + PHP source code that shows how to <em><strong>get the image dimensions (width &amp; height)</strong></em> when the page is loaded:</p>
<h3>Example: Get image width &amp; height (dimensions) using PHP</h3>
<pre class="lang:xhtml decode:true">&lt;html xmlns="http://www.w3.org/1999/xhtml"&gt;
&lt;head&gt;
&lt;meta http-equiv="Content-Type" content="text/html; charset=utf-8" /&gt;
&lt;title&gt;PHP Get Image Dimensions&lt;/title&gt;
&lt;/head&gt;

&lt;body&gt;

&lt;?php

list($width, $height) = getimagesize("images/banner.png");

echo "Width: " .$width." Height: " .$height;

?&gt;

&lt;/body&gt;
&lt;/html&gt;</pre>
<p>When the above code is executed, the page will echo the width and height of the image.</p>
<h5>That&#8217;s it!</h5>
<p>Do you know of any other ways to <em><strong>find image width and height using PHP</strong></em>? Feel free to share by commenting below.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://theextremewebdesigns.com/blog/php-get-image-dimensions-get-image-width-height-using-php/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">940</post-id>	</item>
	</channel>
</rss>
