<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Snipplr</title>
<link>http://snipplr.com/language/php/tags/images</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Sun, 26 May 2013 13:16:31 GMT</pubDate>
<item>
<title>(PHP) Fix Timthumb Script When Using a URL That Contains Tildes (~) - tacudtap</title>
<link>http://snipplr.com/view/69694/fix-timthumb-script-when-using-a-url-that-contains-tildes-/</link>
<description><![CDATA[ <p>If you are using the [TimThumb](http://code.google.com/p/timthumb/ "TimThumb on Google Code") script with a URL the contains tildes (~) and images are breaking, here is the fix...

I did not create this snippet but found it extremely useful so I thought I'd make it available here. The URL listed is not mine but where I found it. Enjoy :-)

At line 209 (as of 01-29-13) in the script you will find the following line of code:

`$this->src = $this->param('src');`

Replace that line with the following snippet:</p> ]]></description>
<pubDate>Wed, 30 Jan 2013 02:24:32 GMT</pubDate>
<guid>http://snipplr.com/view/69694/fix-timthumb-script-when-using-a-url-that-contains-tildes-/</guid>
</item>
<item>
<title>(PHP) Basic PHP Image Rotation - goddess</title>
<link>http://snipplr.com/view/69502/basic-php-image-rotation/</link>
<description><![CDATA[ <p>simple image rotation script; save as rotate.php in folder with images, call  to display</p> ]]></description>
<pubDate>Wed, 16 Jan 2013 14:39:24 GMT</pubDate>
<guid>http://snipplr.com/view/69502/basic-php-image-rotation/</guid>
</item>
<item>
<title>(PHP) Download and save images from a page using cURL - goo</title>
<link>http://snipplr.com/view/69459/download-and-save-images-from-a-page-using-curl/</link>
<description><![CDATA[ <p>Here is a set of functions that can be very useful: Give this script the url of a webpage, and it will save all images from this page on your server.</p> ]]></description>
<pubDate>Mon, 14 Jan 2013 22:08:29 GMT</pubDate>
<guid>http://snipplr.com/view/69459/download-and-save-images-from-a-page-using-curl/</guid>
</item>
<item>
<title>(PHP) show attachment images (except for the first image) with description (user thumbnail size) - shin</title>
<link>http://snipplr.com/view/67423/show-attachment-images-except-for-the-first-image-with-description-user-thumbnail-size/</link>
<description><![CDATA[ <p>description from title, image size from function.php (add_image_size( 'descr', 278, 200, true );)</p> ]]></description>
<pubDate>Fri, 28 Sep 2012 20:59:32 GMT</pubDate>
<guid>http://snipplr.com/view/67423/show-attachment-images-except-for-the-first-image-with-description-user-thumbnail-size/</guid>
</item>
<item>
<title>(PHP) Add custom images sizes to WordPress - thescottlee</title>
<link>http://snipplr.com/view/65478/add-custom-images-sizes-to-wordpress/</link>
<description><![CDATA[ <p>- Use custom image size within template (including if exist)
- Add a class name to a custom image size</p> ]]></description>
<pubDate>Fri, 08 Jun 2012 09:35:06 GMT</pubDate>
<guid>http://snipplr.com/view/65478/add-custom-images-sizes-to-wordpress/</guid>
</item>
<item>
<title>(PHP) Loop dans repertoire - pruntrut</title>
<link>http://snipplr.com/view/63071/loop-dans-repertoire/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Sun, 05 Feb 2012 05:44:01 GMT</pubDate>
<guid>http://snipplr.com/view/63071/loop-dans-repertoire/</guid>
</item>
<item>
<title>(PHP) Stop Wordpress From Wrapping Images in Paragraph Tags - rliverman</title>
<link>http://snipplr.com/view/62087/stop-wordpress-from-wrapping-images-in-paragraph-tags/</link>
<description><![CDATA[ <p>Wordpress by default wraps images in  tags, this kills that.</p> ]]></description>
<pubDate>Thu, 22 Dec 2011 13:29:34 GMT</pubDate>
<guid>http://snipplr.com/view/62087/stop-wordpress-from-wrapping-images-in-paragraph-tags/</guid>
</item>
<item>
<title>(PHP) Wordpress: Omit width/height attributes from img tag - f6design</title>
<link>http://snipplr.com/view/61346/wordpress-omit-widthheight-attributes-from-img-tag/</link>
<description><![CDATA[ <p>This is an example of omitting the width and height attributes from a thumbnail img tag in Wordpress. Useful if you are working on a responsive design. Use inside The Loop.</p> ]]></description>
<pubDate>Wed, 30 Nov 2011 21:22:46 GMT</pubDate>
<guid>http://snipplr.com/view/61346/wordpress-omit-widthheight-attributes-from-img-tag/</guid>
</item>
<item>
<title>(PHP) Enforce minimum image dimensions in Wordpress - f6design</title>
<link>http://snipplr.com/view/61326/enforce-minimum-image-dimensions-in-wordpress/</link>
<description><![CDATA[ <p>Add this snippet to your Wordpress theme's functions.php file to reject any image uploads that are below the specified dimensions.</p> ]]></description>
<pubDate>Wed, 30 Nov 2011 10:57:33 GMT</pubDate>
<guid>http://snipplr.com/view/61326/enforce-minimum-image-dimensions-in-wordpress/</guid>
</item>
<item>
<title>(PHP) Enable post thumbnails for a Wordpress theme - f6design</title>
<link>http://snipplr.com/view/61287/enable-post-thumbnails-for-a-wordpress-theme/</link>
<description><![CDATA[ <p>This snippet adds support for post thumbnails (a.k.a. 'featured images') to a Wordpress theme. It also adds an additional image size for image thumbnails, hard cropped. This second step is optional.

Add this snippet to your WP theme's functions.php file.</p> ]]></description>
<pubDate>Tue, 29 Nov 2011 09:15:06 GMT</pubDate>
<guid>http://snipplr.com/view/61287/enable-post-thumbnails-for-a-wordpress-theme/</guid>
</item>
<item>
<title>(PHP) Image files to xml - Don_Jarmo</title>
<link>http://snipplr.com/view/60176/image-files-to-xml/</link>
<description><![CDATA[ <p>Checks for image files in directory and creates a XML file of the contents</p> ]]></description>
<pubDate>Tue, 25 Oct 2011 23:00:01 GMT</pubDate>
<guid>http://snipplr.com/view/60176/image-files-to-xml/</guid>
</item>
<item>
<title>(PHP) Wordpress Image Remove Attributes - maxxscho</title>
<link>http://snipplr.com/view/59698/wordpress-image-remove-attributes/</link>
<description><![CDATA[ <p>Remove the Attributes in  - Tags in the Post/Page Content</p> ]]></description>
<pubDate>Wed, 12 Oct 2011 23:56:51 GMT</pubDate>
<guid>http://snipplr.com/view/59698/wordpress-image-remove-attributes/</guid>
</item>
<item>
<title>(PHP) Quick img tag - claudiowebdesign</title>
<link>http://snipplr.com/view/58227/quick-img-tag/</link>
<description><![CDATA[ <p>If you keep all image files to be displayed in a directory this could be a quicker and simplier way to write the proper tag</p> ]]></description>
<pubDate>Sat, 27 Aug 2011 05:55:40 GMT</pubDate>
<guid>http://snipplr.com/view/58227/quick-img-tag/</guid>
</item>
<item>
<title>(PHP) Creating dynamic images whith QR Codes - alexdahlem</title>
<link>http://snipplr.com/view/55485/creating-dynamic-images-whith-qr-codes/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Sun, 19 Jun 2011 21:36:01 GMT</pubDate>
<guid>http://snipplr.com/view/55485/creating-dynamic-images-whith-qr-codes/</guid>
</item>
<item>
<title>(PHP) Random Start Image Loop - ryarwood</title>
<link>http://snipplr.com/view/55050/random-start-image-loop/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Thu, 09 Jun 2011 04:34:24 GMT</pubDate>
<guid>http://snipplr.com/view/55050/random-start-image-loop/</guid>
</item>
<item>
<title>(PHP) Wordpress post thumbnail - gn_themes</title>
<link>http://snipplr.com/view/54554/wordpress-post-thumbnail/</link>
<description><![CDATA[ <p>Universal WordPress function for thumbnails</p> ]]></description>
<pubDate>Sat, 28 May 2011 19:37:31 GMT</pubDate>
<guid>http://snipplr.com/view/54554/wordpress-post-thumbnail/</guid>
</item>
<item>
<title>(PHP) Drupal 7 images in searchresultts - discipolo</title>
<link>http://snipplr.com/view/49035/drupal-7-images-in-searchresultts/</link>
<description><![CDATA[ <p>this took me forever to figure out!</p> ]]></description>
<pubDate>Tue, 15 Feb 2011 13:00:32 GMT</pubDate>
<guid>http://snipplr.com/view/49035/drupal-7-images-in-searchresultts/</guid>
</item>
<item>
<title>(PHP) Wordpress timthumb - anhonestboy</title>
<link>http://snipplr.com/view/47696/wordpress-timthumb/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Sat, 22 Jan 2011 07:33:00 GMT</pubDate>
<guid>http://snipplr.com/view/47696/wordpress-timthumb/</guid>
</item>
<item>
<title>(PHP) Random Images Script - blueocto</title>
<link>http://snipplr.com/view/46939/random-images-script/</link>
<description><![CDATA[ <p>Put your images in a folder called 'random' in your ROOT directory.

Please this script at the top of your page:</p> ]]></description>
<pubDate>Tue, 11 Jan 2011 23:01:00 GMT</pubDate>
<guid>http://snipplr.com/view/46939/random-images-script/</guid>
</item>
<item>
<title>(PHP) Wordpress Text Widget embed video and images - laurentzziu</title>
<link>http://snipplr.com/view/45375/wordpress-text-widget-embed-video-and-images/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Tue, 07 Dec 2010 07:58:47 GMT</pubDate>
<guid>http://snipplr.com/view/45375/wordpress-text-widget-embed-video-and-images/</guid>
</item>
</channel>
</rss>