<?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/tags/image</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Wed, 19 Jun 2013 13:50:29 GMT</pubDate>
<item>
<title>(PHP) PHP Image Ratio Width &amp;amp; Height, Top &amp;amp; Left - ShawnG</title>
<link>http://snipplr.com/view/71321/php-image-ratio-width--height-top--left/</link>
<description><![CDATA[ <p>Returns array with information like:
Input image
width 200
height 200

     print_r(ratioResize('path/to/image.ext' ,  100 , 50));



output:


     array(
         [ratio] => .5,
         [height] => 50,
         [width] => 50,
         [left] => 25,
         [top] => 25
     );</p> ]]></description>
<pubDate>Wed, 29 May 2013 03:48:55 GMT</pubDate>
<guid>http://snipplr.com/view/71321/php-image-ratio-width--height-top--left/</guid>
</item>
<item>
<title>(PHP) Image Resize on the Fly - brownrl</title>
<link>http://snipplr.com/view/71224/image-resize-on-the-fly/</link>
<description><![CDATA[ <p>This is my simple image resizer on the fly thing. 

-- WARNING --
Resizing and showing images on the fly could potentially kill your server or make the website slow.

Ideally, this should save the resized image in a cache. However, more often than not this method just works, no one complains, and I don't have to make some writable caching directory thing.

If anyting this could give you a good start on how you really want to handle your images.</p> ]]></description>
<pubDate>Sat, 18 May 2013 08:21:43 GMT</pubDate>
<guid>http://snipplr.com/view/71224/image-resize-on-the-fly/</guid>
</item>
<item>
<title>(CSS) Absolute Center an Image - scorpayllc</title>
<link>http://snipplr.com/view/71011/absolute-center-an-image/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Thu, 02 May 2013 02:33:12 GMT</pubDate>
<guid>http://snipplr.com/view/71011/absolute-center-an-image/</guid>
</item>
<item>
<title>(Java) Create Thumbnail of an image in Java - roizaig</title>
<link>http://snipplr.com/view/70858/create-thumbnail-of-an-image-in-java/</link>
<description><![CDATA[ <p>Create Thumbnail of an image in Java</p> ]]></description>
<pubDate>Sat, 20 Apr 2013 00:05:03 GMT</pubDate>
<guid>http://snipplr.com/view/70858/create-thumbnail-of-an-image-in-java/</guid>
</item>
<item>
<title>(JavaScript) Preload all bg images referenced in CSS - sarpay</title>
<link>http://snipplr.com/view/70749/preload-all-bg-images-referenced-in-css/</link>
<description><![CDATA[ <p>will preload any background image referenced in your CSS.</p> ]]></description>
<pubDate>Thu, 11 Apr 2013 07:52:50 GMT</pubDate>
<guid>http://snipplr.com/view/70749/preload-all-bg-images-referenced-in-css/</guid>
</item>
<item>
<title>(jQuery) Use jQuery to display an image alt tag as a caption overlay - vaughanj</title>
<link>http://snipplr.com/view/70690/use-jquery-to-display-an-image-alt-tag-as-a-caption-overlay/</link>
<description><![CDATA[ <p>Loop through all the images in a given container, grab their alt tags if they are not empty, and then create an overlay in a span tag that will be positioned on the bottom corner of the each image.</p> ]]></description>
<pubDate>Sat, 06 Apr 2013 21:16:02 GMT</pubDate>
<guid>http://snipplr.com/view/70690/use-jquery-to-display-an-image-alt-tag-as-a-caption-overlay/</guid>
</item>
<item>
<title>(PHP) Data URI base64 PHP function - phpdev</title>
<link>http://snipplr.com/view/70078/data-uri-base64-php-function/</link>
<description><![CDATA[ <p>**Example of use:**
    
    echo base64DataUri('/var/www/html/background.png');

*or*

    echo base64DataUri('http://static.php.net/www.php.net/images/php.gif');</p> ]]></description>
<pubDate>Sun, 24 Feb 2013 11:44:50 GMT</pubDate>
<guid>http://snipplr.com/view/70078/data-uri-base64-php-function/</guid>
</item>
<item>
<title>(jQuery) Animate Background Image with jQuery - Friday13</title>
<link>http://snipplr.com/view/70037/animate-background-image-with-jquery/</link>
<description><![CDATA[ <p>you can animate background image by changing CSS background position property using jQuery setInterval method</p> ]]></description>
<pubDate>Thu, 21 Feb 2013 10:24:46 GMT</pubDate>
<guid>http://snipplr.com/view/70037/animate-background-image-with-jquery/</guid>
</item>
<item>
<title>(JavaScript) Round Slide Show With an Iris - COBOLdinosaur</title>
<link>http://snipplr.com/view/69946/round-slide-show-with-an-iris/</link>
<description><![CDATA[ <p>Simle markup, simple CSS combined with ver straight forward javascript to produce some really cool effects.</p> ]]></description>
<pubDate>Fri, 15 Feb 2013 06:41:26 GMT</pubDate>
<guid>http://snipplr.com/view/69946/round-slide-show-with-an-iris/</guid>
</item>
<item>
<title>(PHP) Get the Favicon from a website - phpdev</title>
<link>http://snipplr.com/view/69917/get-the-favicon-from-a-website/</link>
<description><![CDATA[ <p>**Example of use:**

&amp;lt;a href="http://www.php.net/manual/en/index.php"&amp;gt;&amp;lt;img src="&amp;lt;?php echo get_favicon('http://www.php.net/manual/en/index.php') ?&amp;gt;" alt="Favicon" title="See PHP documentation" width="16" height="16" /&amp;gt;&amp;lt;/a&amp;gt;</p> ]]></description>
<pubDate>Wed, 13 Feb 2013 04:07:29 GMT</pubDate>
<guid>http://snipplr.com/view/69917/get-the-favicon-from-a-website/</guid>
</item>
<item>
<title>(jQuery) Change Image Opacity on Hover - wanlapat</title>
<link>http://snipplr.com/view/69811/change-image-opacity-on-hover/</link>
<description><![CDATA[ <p>In scripts.js</p> ]]></description>
<pubDate>Wed, 06 Feb 2013 15:34:39 GMT</pubDate>
<guid>http://snipplr.com/view/69811/change-image-opacity-on-hover/</guid>
</item>
<item>
<title>(jQuery) jQuery Image Source Swap with attr() function - vijayrajesh</title>
<link>http://snipplr.com/view/69520/jquery-image-source-swap-with-attr-function/</link>
<description><![CDATA[ <p>I have made a small jQuery snippet to demo the image swapping with attr() funciton.  The demo uses 2 images with classes img1 and img2 respectively.  On a click of a button, the images are swapped.

Basically the script stores “src” value into a variable and then it is  used to swap 2 image sources.</p> ]]></description>
<pubDate>Thu, 17 Jan 2013 22:25:58 GMT</pubDate>
<guid>http://snipplr.com/view/69520/jquery-image-source-swap-with-attr-function/</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) Validating Image field for Uploading  Images in javascript. - laxman2021</title>
<link>http://snipplr.com/view/69107/validating-image-field-for-uploading--images-in-javascript/</link>
<description><![CDATA[ <p>javascript image uplaod</p> ]]></description>
<pubDate>Fri, 14 Dec 2012 15:31:02 GMT</pubDate>
<guid>http://snipplr.com/view/69107/validating-image-field-for-uploading--images-in-javascript/</guid>
</item>
<item>
<title>(PHP) Javascript : Validate file upload - laxman2021</title>
<link>http://snipplr.com/view/69006/javascript--validate-file-upload/</link>
<description><![CDATA[ <p>Image file upload, javascript</p> ]]></description>
<pubDate>Fri, 07 Dec 2012 16:33:55 GMT</pubDate>
<guid>http://snipplr.com/view/69006/javascript--validate-file-upload/</guid>
</item>
<item>
<title>(PHP) Move Thematic Post Thumbnail Outside of Entry-content - AndrewThinkUp</title>
<link>http://snipplr.com/view/68937/move-thematic-post-thumbnail-outside-of-entrycontent/</link>
<description><![CDATA[ <p>This is some code using Thematic Child Theme overrides to remove thematic's post thumbnails and add Post Thumbnails outside of the .entry-content  so that POst Thumbnails can be styled separated from all post Meta.  See this page for an example www.speiranconsulting.com/blog</p> ]]></description>
<pubDate>Tue, 04 Dec 2012 07:12:58 GMT</pubDate>
<guid>http://snipplr.com/view/68937/move-thematic-post-thumbnail-outside-of-entrycontent/</guid>
</item>
<item>
<title>(CSS) Absolute Center (Vertical &amp;amp; Horizontal) an Image - Gianino</title>
<link>http://snipplr.com/view/68723/absolute-center-vertical--horizontal-an-image/</link>
<description><![CDATA[ <p>From css-tricks.com</p> ]]></description>
<pubDate>Fri, 23 Nov 2012 14:54:44 GMT</pubDate>
<guid>http://snipplr.com/view/68723/absolute-center-vertical--horizontal-an-image/</guid>
</item>
<item>
<title>(Bash) Convert image sequence to video - jmiller</title>
<link>http://snipplr.com/view/68533/convert-image-sequence-to-video/</link>
<description><![CDATA[ <p>This would convert images at 30fps to a mp4 video, with sequence titles:
ImageName0000.png, ImageName0001.png, etc.

You could use -r 1/5 to use one frame every five seconds.</p> ]]></description>
<pubDate>Tue, 13 Nov 2012 09:52:38 GMT</pubDate>
<guid>http://snipplr.com/view/68533/convert-image-sequence-to-video/</guid>
</item>
<item>
<title>(ActionScript 3) Embed Image into FlashDevelop - romech</title>
<link>http://snipplr.com/view/68217/embed-image-into-flashdevelop/</link>
<description><![CDATA[ <p>Embed bitmap into FlashDevelop.
From: http://www.streamhead.com/embedding-images/</p> ]]></description>
<pubDate>Sat, 10 Nov 2012 19:39:28 GMT</pubDate>
<guid>http://snipplr.com/view/68217/embed-image-into-flashdevelop/</guid>
</item>
<item>
<title>(CSS) Absolute center an image - smaakagemorten</title>
<link>http://snipplr.com/view/68198/absolute-center-an-image/</link>
<description><![CDATA[ <p>Bruger til at centrere et billede midt i skærmen og fylder ud</p> ]]></description>
<pubDate>Sat, 10 Nov 2012 06:18:39 GMT</pubDate>
<guid>http://snipplr.com/view/68198/absolute-center-an-image/</guid>
</item>
</channel>
</rss>