<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/'><id>tag:blogger.com,1999:blog-992226187759619576.post8925896244151079108..comments</id><updated>2012-02-09T21:41:19.466+05:30</updated><category term='flash'/><category term='openid'/><category term='Notification'/><category term='Youtube'/><category term='SQL'/><category term='icons'/><category term='Encoding'/><category term='Connection'/><category term='Game'/><category term='Image'/><category term='plug-in'/><category term='Scrolling'/><category term='Delete'/><category term='Windows'/><category term='Advertising'/><category term='Form'/><category term='Web'/><category term='Photoshop'/><category term='Testing'/><category term='base64'/><category term='t-shirt'/><category term='RSS'/><category term='Drag'/><category term='Graphics'/><category term='Nikon'/><category term='Projects'/><category term='List'/><category term='Marketing'/><category term='Flex'/><category term='eclipse'/><category term='Ideas'/><category term='Pagination'/><category term='google plus'/><category term='EC2'/><category term='News'/><category term='Painting'/><category term='Adobe'/><category term='9lessons'/><category term='checkbox'/><category term='jQuery'/><category term='CSS'/><category term='Rails'/><category term='URL'/><category term='Gmail'/><category term='Buttons'/><category term='Design'/><category term='XML'/><category term='Awesome Developer'/><category term='Inspiration'/><category term='SDK'/><category term='Twitter API'/><category term='Smarty'/><category term='Labs'/><category term='Table'/><category term='HTML'/><category term='OOP'/><category term='Payment'/><category term='Drawings'/><category term='Hacking'/><category term='Architecuture'/><category term='Free'/><category term='Upload'/><category term='Jsp'/><category term='google'/><category term='Geo'/><category term='Twitter'/><category term='javascript'/><category term='Email'/><category term='OAuth'/><category term='Technology'/><category term='Iphone'/><category term='Captcha'/><category term='Regular_Expressions'/><category term='Mysql'/><category term='Photos'/><category term='Wallpaper'/><category term='Logos'/><category term='Ajax'/><category term='Tutorials'/><category term='Programming'/><category term='Compute'/><category term='Fanpage'/><category term='Videos'/><category term='Drop'/><category term='Clone'/><category term='SMTP'/><category term='Hosting'/><category term='Blackberry'/><category term='Resources'/><category term='Chrome'/><category term='Language'/><category term='amazon'/><category term='Function'/><category term='Framework'/><category term='Scripts'/><category term='Smartphone'/><category term='Curl'/><category term='JSON'/><category term='Websites'/><category term='Facebook'/><category term='Yahoo'/><category term='Concepts'/><category term='Application'/><category term='MooTools'/><category term='Realistic'/><category term='Cloud'/><category term='HTML5'/><category term='Mail'/><category term='Mobile'/><category term='Reports'/><category term='php'/><category term='Spread Sheet'/><category term='Cropping'/><category term='Extension'/><category term='Wall'/><category term='WebDesign'/><category term='Popular'/><category term='Search'/><category term='Java'/><category term='Air'/><category term='API'/><category term='jQueryBasics'/><category term='Edit'/><category term='Extention'/><category term='Bing'/><category term='Browser'/><category term='blogger'/><category term='SEO'/><category term='Ruby'/><category term='CSS3'/><category term='Database'/><category term='Validation'/><category term='C prorgramming'/><category term='Object-oriented'/><category term='Update'/><category term='Foreign'/><category term='htaccess'/><category term='Paypal'/><category term='Rewriting'/><category term='TED'/><category term='Bug Tracking'/><category term='profile'/><category term='Login'/><title type='text'>Comments on 9lessons Programming Blog: Upload and Resize an Image with PHP</title><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://www.9lessons.info/feeds/8925896244151079108/comments/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/992226187759619576/8925896244151079108/comments/default'/><link rel='alternate' type='text/html' href='http://www.9lessons.info/2009/03/upload-and-resize-image-with-php.html'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/992226187759619576/8925896244151079108/comments/default?start-index=26&amp;max-results=25'/><author><name>Srinivas Tamada</name><uri>http://www.blogger.com/profile/17418084732618477326</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/-7w94UgQpyNg/ThansTGlhtI/AAAAAAAAEs4/hVW2tEEVihw/s1600/avatar.php%253Fgravatar_id%253D7a9e87053519e0e7a21bb69d1deb6dfe'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>158</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-992226187759619576.post-869147892592017143</id><published>2012-02-05T15:57:29.698+05:30</published><updated>2012-02-05T15:57:29.698+05:30</updated><title type='text'>thanks</title><content type='html'>thanks</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/992226187759619576/8925896244151079108/comments/default/869147892592017143'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/992226187759619576/8925896244151079108/comments/default/869147892592017143'/><link rel='alternate' type='text/html' href='http://www.9lessons.info/2009/03/upload-and-resize-image-with-php.html?showComment=1328437649698#c869147892592017143' title=''/><author><name>picture</name><uri>http://www.blogger.com/profile/09638812720648565594</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.9lessons.info/2009/03/upload-and-resize-image-with-php.html' ref='tag:blogger.com,1999:blog-992226187759619576.post-8925896244151079108' source='http://www.blogger.com/feeds/992226187759619576/posts/default/8925896244151079108' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-156682107'/></entry><entry><id>tag:blogger.com,1999:blog-992226187759619576.post-4711145438108677701</id><published>2012-01-24T22:32:48.246+05:30</published><updated>2012-01-24T22:32:48.246+05:30</updated><title type='text'>I havent read through all the comments so i dont k...</title><content type='html'>I havent read through all the comments so i dont know if this was answered... png files show a black background and dont preserve their transparency. Any way to fix this? Great script here.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/992226187759619576/8925896244151079108/comments/default/4711145438108677701'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/992226187759619576/8925896244151079108/comments/default/4711145438108677701'/><link rel='alternate' type='text/html' href='http://www.9lessons.info/2009/03/upload-and-resize-image-with-php.html?showComment=1327424568246#c4711145438108677701' title=''/><author><name>Trisha</name><uri>http://digitalrenewal.com</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.9lessons.info/2009/03/upload-and-resize-image-with-php.html' ref='tag:blogger.com,1999:blog-992226187759619576.post-8925896244151079108' source='http://www.blogger.com/feeds/992226187759619576/posts/default/8925896244151079108' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-460763448'/></entry><entry><id>tag:blogger.com,1999:blog-992226187759619576.post-4453556223645254798</id><published>2012-01-19T19:28:53.758+05:30</published><updated>2012-01-19T19:28:53.758+05:30</updated><title type='text'>Very simple and nice, i had a upload script alread...</title><content type='html'>Very simple and nice, i had a upload script already and i looked up a lot on how to resize images, at first i thought cropping and resizing are the same thing but then i learned its not, i first cropped images randomly which would have cropped any portion of the image...then i realized, all i wanted to do is make it look smaller so resizing is what i wanted..&lt;br /&gt;So i came on this :D and loved it, learned a lot from it..</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/992226187759619576/8925896244151079108/comments/default/4453556223645254798'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/992226187759619576/8925896244151079108/comments/default/4453556223645254798'/><link rel='alternate' type='text/html' href='http://www.9lessons.info/2009/03/upload-and-resize-image-with-php.html?showComment=1326981533758#c4453556223645254798' title=''/><author><name>Anonymous</name><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.9lessons.info/2009/03/upload-and-resize-image-with-php.html' ref='tag:blogger.com,1999:blog-992226187759619576.post-8925896244151079108' source='http://www.blogger.com/feeds/992226187759619576/posts/default/8925896244151079108' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1028739116'/></entry><entry><id>tag:blogger.com,1999:blog-992226187759619576.post-7152013417752192743</id><published>2012-01-03T14:57:32.997+05:30</published><updated>2012-01-03T14:57:32.997+05:30</updated><title type='text'>Thanks great works</title><content type='html'>Thanks great works</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/992226187759619576/8925896244151079108/comments/default/7152013417752192743'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/992226187759619576/8925896244151079108/comments/default/7152013417752192743'/><link rel='alternate' type='text/html' href='http://www.9lessons.info/2009/03/upload-and-resize-image-with-php.html?showComment=1325582852997#c7152013417752192743' title=''/><author><name>Anonymous</name><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.9lessons.info/2009/03/upload-and-resize-image-with-php.html' ref='tag:blogger.com,1999:blog-992226187759619576.post-8925896244151079108' source='http://www.blogger.com/feeds/992226187759619576/posts/default/8925896244151079108' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1694389196'/></entry><entry><id>tag:blogger.com,1999:blog-992226187759619576.post-8207982597632808022</id><published>2011-12-15T17:53:04.101+05:30</published><updated>2011-12-15T17:53:04.101+05:30</updated><title type='text'>nice tutorial, thanks :)

~kangmasjuqi</title><content type='html'>nice tutorial, thanks :)&lt;br /&gt;&lt;br /&gt;~kangmasjuqi</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/992226187759619576/8925896244151079108/comments/default/8207982597632808022'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/992226187759619576/8925896244151079108/comments/default/8207982597632808022'/><link rel='alternate' type='text/html' href='http://www.9lessons.info/2009/03/upload-and-resize-image-with-php.html?showComment=1323951784101#c8207982597632808022' title=''/><author><name>Anonymous</name><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.9lessons.info/2009/03/upload-and-resize-image-with-php.html' ref='tag:blogger.com,1999:blog-992226187759619576.post-8925896244151079108' source='http://www.blogger.com/feeds/992226187759619576/posts/default/8925896244151079108' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-206100748'/></entry><entry><id>tag:blogger.com,1999:blog-992226187759619576.post-616600143385283145</id><published>2011-12-14T23:36:41.588+05:30</published><updated>2011-12-14T23:36:41.588+05:30</updated><title type='text'>Great work!

Thanku....</title><content type='html'>Great work!&lt;br /&gt;&lt;br /&gt;Thanku....</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/992226187759619576/8925896244151079108/comments/default/616600143385283145'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/992226187759619576/8925896244151079108/comments/default/616600143385283145'/><link rel='alternate' type='text/html' href='http://www.9lessons.info/2009/03/upload-and-resize-image-with-php.html?showComment=1323886001588#c616600143385283145' title=''/><author><name>Dk Singh</name><uri>http://www.blogger.com/profile/09737783659881084351</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.9lessons.info/2009/03/upload-and-resize-image-with-php.html' ref='tag:blogger.com,1999:blog-992226187759619576.post-8925896244151079108' source='http://www.blogger.com/feeds/992226187759619576/posts/default/8925896244151079108' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-858156570'/></entry><entry><id>tag:blogger.com,1999:blog-992226187759619576.post-5576088647116660367</id><published>2011-12-12T13:37:47.303+05:30</published><updated>2011-12-12T13:37:47.303+05:30</updated><title type='text'>It becames very useful for me.
Thanks a lot.</title><content type='html'>It becames very useful for me.&lt;br /&gt;Thanks a lot.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/992226187759619576/8925896244151079108/comments/default/5576088647116660367'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/992226187759619576/8925896244151079108/comments/default/5576088647116660367'/><link rel='alternate' type='text/html' href='http://www.9lessons.info/2009/03/upload-and-resize-image-with-php.html?showComment=1323677267303#c5576088647116660367' title=''/><author><name>Suraj</name><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.9lessons.info/2009/03/upload-and-resize-image-with-php.html' ref='tag:blogger.com,1999:blog-992226187759619576.post-8925896244151079108' source='http://www.blogger.com/feeds/992226187759619576/posts/default/8925896244151079108' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-2099172676'/></entry><entry><id>tag:blogger.com,1999:blog-992226187759619576.post-5907643000800441658</id><published>2011-12-06T01:44:27.082+05:30</published><updated>2011-12-06T01:44:27.082+05:30</updated><title type='text'>Hi. is possible when upload the image:

ex: photo1...</title><content type='html'>Hi. is possible when upload the image:&lt;br /&gt;&lt;br /&gt;ex: photo1.jpg and the another one photo@2x.jpg&lt;br /&gt;&lt;br /&gt;put the @2x after the name?&lt;br /&gt;&lt;br /&gt;Thanks</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/992226187759619576/8925896244151079108/comments/default/5907643000800441658'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/992226187759619576/8925896244151079108/comments/default/5907643000800441658'/><link rel='alternate' type='text/html' href='http://www.9lessons.info/2009/03/upload-and-resize-image-with-php.html?showComment=1323116067082#c5907643000800441658' title=''/><author><name>CreativExit</name><uri>http://www.creativexit.net</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.9lessons.info/2009/03/upload-and-resize-image-with-php.html' ref='tag:blogger.com,1999:blog-992226187759619576.post-8925896244151079108' source='http://www.blogger.com/feeds/992226187759619576/posts/default/8925896244151079108' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-686455922'/></entry><entry><id>tag:blogger.com,1999:blog-992226187759619576.post-1434194213771706626</id><published>2011-11-25T15:40:57.831+05:30</published><updated>2011-11-25T15:40:57.831+05:30</updated><title type='text'>Hey great script.

But i think you missed 

$uploa...</title><content type='html'>Hey great script.&lt;br /&gt;&lt;br /&gt;But i think you missed &lt;br /&gt;&lt;br /&gt;$uploadedfile = $_FILES[&amp;#39;file&amp;#39;][&amp;#39;tmp_name&amp;#39;];&lt;br /&gt; &lt;br /&gt;when Image extension is gif&lt;br /&gt;&lt;br /&gt;Please correct it.&lt;br /&gt;&lt;br /&gt;Vasim Padhiyar</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/992226187759619576/8925896244151079108/comments/default/1434194213771706626'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/992226187759619576/8925896244151079108/comments/default/1434194213771706626'/><link rel='alternate' type='text/html' href='http://www.9lessons.info/2009/03/upload-and-resize-image-with-php.html?showComment=1322215857831#c1434194213771706626' title=''/><author><name>Anonymous</name><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.9lessons.info/2009/03/upload-and-resize-image-with-php.html' ref='tag:blogger.com,1999:blog-992226187759619576.post-8925896244151079108' source='http://www.blogger.com/feeds/992226187759619576/posts/default/8925896244151079108' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1302324800'/></entry><entry><id>tag:blogger.com,1999:blog-992226187759619576.post-5076863247520109719</id><published>2011-11-25T14:23:57.967+05:30</published><updated>2011-11-25T14:23:57.967+05:30</updated><title type='text'>thanks !</title><content type='html'>thanks !</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/992226187759619576/8925896244151079108/comments/default/5076863247520109719'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/992226187759619576/8925896244151079108/comments/default/5076863247520109719'/><link rel='alternate' type='text/html' href='http://www.9lessons.info/2009/03/upload-and-resize-image-with-php.html?showComment=1322211237967#c5076863247520109719' title=''/><author><name>sosyal medya</name><uri>http://www.hknkrt.com/category/sosyal-medya-2/</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.9lessons.info/2009/03/upload-and-resize-image-with-php.html' ref='tag:blogger.com,1999:blog-992226187759619576.post-8925896244151079108' source='http://www.blogger.com/feeds/992226187759619576/posts/default/8925896244151079108' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-306234172'/></entry><entry><id>tag:blogger.com,1999:blog-992226187759619576.post-4186293483531316351</id><published>2011-11-23T21:24:07.830+05:30</published><updated>2011-11-23T21:24:07.830+05:30</updated><title type='text'>cool</title><content type='html'>cool</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/992226187759619576/8925896244151079108/comments/default/4186293483531316351'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/992226187759619576/8925896244151079108/comments/default/4186293483531316351'/><link rel='alternate' type='text/html' href='http://www.9lessons.info/2009/03/upload-and-resize-image-with-php.html?showComment=1322063647830#c4186293483531316351' title=''/><author><name>Anonymous</name><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.9lessons.info/2009/03/upload-and-resize-image-with-php.html' ref='tag:blogger.com,1999:blog-992226187759619576.post-8925896244151079108' source='http://www.blogger.com/feeds/992226187759619576/posts/default/8925896244151079108' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1251808793'/></entry><entry><id>tag:blogger.com,1999:blog-992226187759619576.post-610712266517965760</id><published>2011-11-15T20:19:05.035+05:30</published><updated>2011-11-15T20:19:05.035+05:30</updated><title type='text'>Hi. is possible when upload the image:

eg: photo1...</title><content type='html'>Hi. is possible when upload the image:&lt;br /&gt;&lt;br /&gt;eg: photo1.jpg and the another one photo@2x.jpg&lt;br /&gt;&lt;br /&gt;put the @2x after the name?&lt;br /&gt;&lt;br /&gt;Thanks</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/992226187759619576/8925896244151079108/comments/default/610712266517965760'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/992226187759619576/8925896244151079108/comments/default/610712266517965760'/><link rel='alternate' type='text/html' href='http://www.9lessons.info/2009/03/upload-and-resize-image-with-php.html?showComment=1321368545035#c610712266517965760' title=''/><author><name>Christian Goznalez</name><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.9lessons.info/2009/03/upload-and-resize-image-with-php.html' ref='tag:blogger.com,1999:blog-992226187759619576.post-8925896244151079108' source='http://www.blogger.com/feeds/992226187759619576/posts/default/8925896244151079108' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-686455922'/></entry><entry><id>tag:blogger.com,1999:blog-992226187759619576.post-7151297693817012985</id><published>2011-11-10T07:34:20.625+05:30</published><updated>2011-11-10T07:34:20.625+05:30</updated><title type='text'>excelent tutorial, is the easy way to make some th...</title><content type='html'>excelent tutorial, is the easy way to make some thumbnails. I have a nice but complicated script to make 3 thumbs square and 1 proportional with the original size. with your example I will make shorter.&lt;br /&gt;thx again.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/992226187759619576/8925896244151079108/comments/default/7151297693817012985'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/992226187759619576/8925896244151079108/comments/default/7151297693817012985'/><link rel='alternate' type='text/html' href='http://www.9lessons.info/2009/03/upload-and-resize-image-with-php.html?showComment=1320890660625#c7151297693817012985' title=''/><author><name>sarcina</name><uri>http://www.sarcinapesaptamani.ro/forum/pag=1</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.9lessons.info/2009/03/upload-and-resize-image-with-php.html' ref='tag:blogger.com,1999:blog-992226187759619576.post-8925896244151079108' source='http://www.blogger.com/feeds/992226187759619576/posts/default/8925896244151079108' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1128975504'/></entry><entry><id>tag:blogger.com,1999:blog-992226187759619576.post-3064102068440800215</id><published>2011-11-07T04:19:08.624+05:30</published><updated>2011-11-07T04:19:08.624+05:30</updated><title type='text'>Thanks for this, work really well. Just one questi...</title><content type='html'>Thanks for this, work really well. Just one question, how t=do you keep one of the images, $tmp, the original size as it was upoloaded? I&amp;#39;ve tried a few things but can&amp;#39;t get it to work.&lt;br /&gt;&lt;br /&gt;Thanks</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/992226187759619576/8925896244151079108/comments/default/3064102068440800215'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/992226187759619576/8925896244151079108/comments/default/3064102068440800215'/><link rel='alternate' type='text/html' href='http://www.9lessons.info/2009/03/upload-and-resize-image-with-php.html?showComment=1320619748624#c3064102068440800215' title=''/><author><name>Anonymous</name><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.9lessons.info/2009/03/upload-and-resize-image-with-php.html' ref='tag:blogger.com,1999:blog-992226187759619576.post-8925896244151079108' source='http://www.blogger.com/feeds/992226187759619576/posts/default/8925896244151079108' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1011626555'/></entry><entry><id>tag:blogger.com,1999:blog-992226187759619576.post-4945468950347592404</id><published>2011-11-03T08:37:41.801+05:30</published><updated>2011-11-03T08:37:41.801+05:30</updated><title type='text'>O único que funcionou de todos os que procurei.</title><content type='html'>O único que funcionou de todos os que procurei.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/992226187759619576/8925896244151079108/comments/default/4945468950347592404'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/992226187759619576/8925896244151079108/comments/default/4945468950347592404'/><link rel='alternate' type='text/html' href='http://www.9lessons.info/2009/03/upload-and-resize-image-with-php.html?showComment=1320289661801#c4945468950347592404' title=''/><author><name>Anonymous</name><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.9lessons.info/2009/03/upload-and-resize-image-with-php.html' ref='tag:blogger.com,1999:blog-992226187759619576.post-8925896244151079108' source='http://www.blogger.com/feeds/992226187759619576/posts/default/8925896244151079108' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-778280091'/></entry><entry><id>tag:blogger.com,1999:blog-992226187759619576.post-228247269502772860</id><published>2011-10-29T20:03:02.231+05:30</published><updated>2011-10-29T20:03:02.231+05:30</updated><title type='text'>works great ! thanks man !!!!! cody</title><content type='html'>works great ! thanks man !!!!! cody</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/992226187759619576/8925896244151079108/comments/default/228247269502772860'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/992226187759619576/8925896244151079108/comments/default/228247269502772860'/><link rel='alternate' type='text/html' href='http://www.9lessons.info/2009/03/upload-and-resize-image-with-php.html?showComment=1319898782231#c228247269502772860' title=''/><author><name>Anonymous</name><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.9lessons.info/2009/03/upload-and-resize-image-with-php.html' ref='tag:blogger.com,1999:blog-992226187759619576.post-8925896244151079108' source='http://www.blogger.com/feeds/992226187759619576/posts/default/8925896244151079108' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-914581193'/></entry><entry><id>tag:blogger.com,1999:blog-992226187759619576.post-7961706146567065053</id><published>2011-10-29T16:25:30.752+05:30</published><updated>2011-10-29T16:25:30.752+05:30</updated><title type='text'>thanks dude great script really loving it :)</title><content type='html'>thanks dude great script really loving it :)</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/992226187759619576/8925896244151079108/comments/default/7961706146567065053'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/992226187759619576/8925896244151079108/comments/default/7961706146567065053'/><link rel='alternate' type='text/html' href='http://www.9lessons.info/2009/03/upload-and-resize-image-with-php.html?showComment=1319885730752#c7961706146567065053' title=''/><author><name>Anonymous</name><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.9lessons.info/2009/03/upload-and-resize-image-with-php.html' ref='tag:blogger.com,1999:blog-992226187759619576.post-8925896244151079108' source='http://www.blogger.com/feeds/992226187759619576/posts/default/8925896244151079108' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-173637585'/></entry><entry><id>tag:blogger.com,1999:blog-992226187759619576.post-71567137640678749</id><published>2011-10-13T14:01:01.346+05:30</published><updated>2011-10-13T14:01:01.346+05:30</updated><title type='text'>Nice and short
gud work</title><content type='html'>Nice and short&lt;br /&gt;gud work</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/992226187759619576/8925896244151079108/comments/default/71567137640678749'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/992226187759619576/8925896244151079108/comments/default/71567137640678749'/><link rel='alternate' type='text/html' href='http://www.9lessons.info/2009/03/upload-and-resize-image-with-php.html?showComment=1318494661346#c71567137640678749' title=''/><author><name>manish nautiyal</name><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.9lessons.info/2009/03/upload-and-resize-image-with-php.html' ref='tag:blogger.com,1999:blog-992226187759619576.post-8925896244151079108' source='http://www.blogger.com/feeds/992226187759619576/posts/default/8925896244151079108' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-587409930'/></entry><entry><id>tag:blogger.com,1999:blog-992226187759619576.post-6544567624366063960</id><published>2011-10-02T17:11:58.977+05:30</published><updated>2011-10-02T17:11:58.977+05:30</updated><title type='text'>A BIG THANKS to Srinivas! Great script and a huge ...</title><content type='html'>A BIG THANKS to Srinivas! Great script and a huge help!</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/992226187759619576/8925896244151079108/comments/default/6544567624366063960'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/992226187759619576/8925896244151079108/comments/default/6544567624366063960'/><link rel='alternate' type='text/html' href='http://www.9lessons.info/2009/03/upload-and-resize-image-with-php.html?showComment=1317555718977#c6544567624366063960' title=''/><author><name>Anonymous</name><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.9lessons.info/2009/03/upload-and-resize-image-with-php.html' ref='tag:blogger.com,1999:blog-992226187759619576.post-8925896244151079108' source='http://www.blogger.com/feeds/992226187759619576/posts/default/8925896244151079108' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1447426019'/></entry><entry><id>tag:blogger.com,1999:blog-992226187759619576.post-7763913956020594627</id><published>2011-08-30T12:19:35.716+05:30</published><updated>2011-08-30T12:19:35.716+05:30</updated><title type='text'>Wow, this works! Thank you so much! :)</title><content type='html'>Wow, this works! Thank you so much! :)</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/992226187759619576/8925896244151079108/comments/default/7763913956020594627'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/992226187759619576/8925896244151079108/comments/default/7763913956020594627'/><link rel='alternate' type='text/html' href='http://www.9lessons.info/2009/03/upload-and-resize-image-with-php.html?showComment=1314686975716#c7763913956020594627' title=''/><author><name>Lord</name><uri>http://mariomaurerph.com</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.9lessons.info/2009/03/upload-and-resize-image-with-php.html' ref='tag:blogger.com,1999:blog-992226187759619576.post-8925896244151079108' source='http://www.blogger.com/feeds/992226187759619576/posts/default/8925896244151079108' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-803332570'/></entry><entry><id>tag:blogger.com,1999:blog-992226187759619576.post-5677098011894998860</id><published>2011-08-25T03:15:11.542+05:30</published><updated>2011-08-25T03:15:11.542+05:30</updated><title type='text'>hello guys, i am trying to use this script but i w...</title><content type='html'>hello guys, i am trying to use this script but i want it to be able to upload 7 files... 6 of them i want to have name 01.jpg, 02, 03.... 06.jpg and the other one i want to be named profile.jpg.. how can i do this, like to auto-rename it and in case the person who upload them wants to replace one of them how can i do this? like how can i make them able to erase a specific file out of the 7 they already uploaded and how can i let the script know eactly which one is missing and rename it just like that (lets say they erased file 05.jpg.. i want the script to identify 05.jpg is missing and thats the file name it should use for the new file....) or if its too complicated i would like to just replace an specific existing file with a new one... ughhh this is so complicated i dont even know how to explain it... so frustrating!</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/992226187759619576/8925896244151079108/comments/default/5677098011894998860'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/992226187759619576/8925896244151079108/comments/default/5677098011894998860'/><link rel='alternate' type='text/html' href='http://www.9lessons.info/2009/03/upload-and-resize-image-with-php.html?showComment=1314222311542#c5677098011894998860' title=''/><author><name>G</name><uri>http://g.com</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.9lessons.info/2009/03/upload-and-resize-image-with-php.html' ref='tag:blogger.com,1999:blog-992226187759619576.post-8925896244151079108' source='http://www.blogger.com/feeds/992226187759619576/posts/default/8925896244151079108' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1365406850'/></entry><entry><id>tag:blogger.com,1999:blog-992226187759619576.post-6588134279608011370</id><published>2011-08-14T10:18:58.238+05:30</published><updated>2011-08-14T10:18:58.238+05:30</updated><title type='text'>@ Mike

...
$newwidthX=500;
$newheightX=($height/$...</title><content type='html'>@ Mike&lt;br /&gt;&lt;br /&gt;...&lt;br /&gt;$newwidthX=500;&lt;br /&gt;$newheightX=($height/$width)*$newwidthX;&lt;br /&gt;if($newheightX &amp;gt; 350) { &lt;br /&gt;$newheight=350;&lt;br /&gt;$newwidth=($newwidthX/$newheightX)*$newheight;&lt;br /&gt;} else {&lt;br /&gt;$newheight = $newheightX;&lt;br /&gt;$newwidth = $newwidthX; } &lt;br /&gt;...&lt;br /&gt;&lt;br /&gt;Your code makes the uploaded image 500px wide even if the original file was narrower.&lt;br /&gt;&lt;br /&gt;How can this be edited so it does not increase the image&amp;#39;s width if the original is less than 500px wide?&lt;br /&gt;&lt;br /&gt;Thanks, Jeff</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/992226187759619576/8925896244151079108/comments/default/6588134279608011370'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/992226187759619576/8925896244151079108/comments/default/6588134279608011370'/><link rel='alternate' type='text/html' href='http://www.9lessons.info/2009/03/upload-and-resize-image-with-php.html?showComment=1313297338238#c6588134279608011370' title=''/><author><name>Anonymous</name><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.9lessons.info/2009/03/upload-and-resize-image-with-php.html' ref='tag:blogger.com,1999:blog-992226187759619576.post-8925896244151079108' source='http://www.blogger.com/feeds/992226187759619576/posts/default/8925896244151079108' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-650921368'/></entry><entry><id>tag:blogger.com,1999:blog-992226187759619576.post-2172951749059498381</id><published>2011-08-13T00:23:48.608+05:30</published><updated>2011-08-13T00:23:48.608+05:30</updated><title type='text'>Hi,
Thank you for the good tutorial,
I have one qu...</title><content type='html'>Hi,&lt;br /&gt;Thank you for the good tutorial,&lt;br /&gt;I have one question, what happen if the user didn&amp;#39;t upload any image what will happen?</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/992226187759619576/8925896244151079108/comments/default/2172951749059498381'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/992226187759619576/8925896244151079108/comments/default/2172951749059498381'/><link rel='alternate' type='text/html' href='http://www.9lessons.info/2009/03/upload-and-resize-image-with-php.html?showComment=1313175228608#c2172951749059498381' title=''/><author><name>ALexx</name><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.9lessons.info/2009/03/upload-and-resize-image-with-php.html' ref='tag:blogger.com,1999:blog-992226187759619576.post-8925896244151079108' source='http://www.blogger.com/feeds/992226187759619576/posts/default/8925896244151079108' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1600913920'/></entry><entry><id>tag:blogger.com,1999:blog-992226187759619576.post-963778801926514574</id><published>2011-08-02T18:47:05.989+05:30</published><updated>2011-08-02T18:47:05.989+05:30</updated><title type='text'>thank you was usefull for me!</title><content type='html'>thank you was usefull for me!</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/992226187759619576/8925896244151079108/comments/default/963778801926514574'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/992226187759619576/8925896244151079108/comments/default/963778801926514574'/><link rel='alternate' type='text/html' href='http://www.9lessons.info/2009/03/upload-and-resize-image-with-php.html?showComment=1312291025989#c963778801926514574' title=''/><author><name>cabal</name><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.9lessons.info/2009/03/upload-and-resize-image-with-php.html' ref='tag:blogger.com,1999:blog-992226187759619576.post-8925896244151079108' source='http://www.blogger.com/feeds/992226187759619576/posts/default/8925896244151079108' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-145393484'/></entry><entry><id>tag:blogger.com,1999:blog-992226187759619576.post-1128599162192881170</id><published>2011-07-30T20:29:07.986+05:30</published><updated>2011-07-30T20:29:07.986+05:30</updated><title type='text'>Wow...

This script save my day...

Thanks dear......</title><content type='html'>Wow...&lt;br /&gt;&lt;br /&gt;This script save my day...&lt;br /&gt;&lt;br /&gt;Thanks dear...</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/992226187759619576/8925896244151079108/comments/default/1128599162192881170'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/992226187759619576/8925896244151079108/comments/default/1128599162192881170'/><link rel='alternate' type='text/html' href='http://www.9lessons.info/2009/03/upload-and-resize-image-with-php.html?showComment=1312037947986#c1128599162192881170' title=''/><author><name>Manish Sonwal</name><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.9lessons.info/2009/03/upload-and-resize-image-with-php.html' ref='tag:blogger.com,1999:blog-992226187759619576.post-8925896244151079108' source='http://www.blogger.com/feeds/992226187759619576/posts/default/8925896244151079108' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1565309556'/></entry></feed>
