<?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/resize</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Wed, 22 May 2013 14:40:34 GMT</pubDate>
<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>(JavaScript) iframe dynamic resize - leodruker</title>
<link>http://snipplr.com/view/70462/iframe-dynamic-resize/</link>
<description><![CDATA[ <p>JavaScript code to facilitate dynamic re-sizing of an iframe at the same time as the browser window is re-sized, as well as making sure that the frame scales proportionally to its width and height.</p> ]]></description>
<pubDate>Tue, 19 Mar 2013 04:38:38 GMT</pubDate>
<guid>http://snipplr.com/view/70462/iframe-dynamic-resize/</guid>
</item>
<item>
<title>(JavaScript) Resize iFrame to its content - Neven</title>
<link>http://snipplr.com/view/70070/resize-iframe-to-its-content/</link>
<description><![CDATA[ <p>Bind onload function to the iFrame and set the size of the iFrame to the iFrames loaded content.
In the example jQuery is used.</p> ]]></description>
<pubDate>Sat, 23 Feb 2013 09:56:23 GMT</pubDate>
<guid>http://snipplr.com/view/70070/resize-iframe-to-its-content/</guid>
</item>
<item>
<title>(Bash) Bash Resize Multiple Images - luizlopes</title>
<link>http://snipplr.com/view/66821/bash-resize-multiple-images/</link>
<description><![CDATA[ <p>* apt-get install imagemagick
* [mogrify](http://www.imagemagick.org/Usage/basics/#mogrify)</p> ]]></description>
<pubDate>Tue, 21 Aug 2012 04:14:00 GMT</pubDate>
<guid>http://snipplr.com/view/66821/bash-resize-multiple-images/</guid>
</item>
<item>
<title>(CSS) CSS - Resize your background image - satie83</title>
<link>http://snipplr.com/view/66681/css--resize-your-background-image/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Sun, 12 Aug 2012 10:10:28 GMT</pubDate>
<guid>http://snipplr.com/view/66681/css--resize-your-background-image/</guid>
</item>
<item>
<title>(PHP) Image resize - xkeshav</title>
<link>http://snipplr.com/view/64732/image-resize/</link>
<description><![CDATA[ <p>Resize image without losing proportion ratio. no stretching of images</p> ]]></description>
<pubDate>Wed, 25 Apr 2012 22:02:50 GMT</pubDate>
<guid>http://snipplr.com/view/64732/image-resize/</guid>
</item>
<item>
<title>(Bash) ImageMagick Crop &amp;amp; Resize images - artaserse</title>
<link>http://snipplr.com/view/64005/imagemagick-crop--resize-images/</link>
<description><![CDATA[ <p>simple command that resize and crop, if necessary, an image, centering the image.</p> ]]></description>
<pubDate>Sat, 17 Mar 2012 20:28:03 GMT</pubDate>
<guid>http://snipplr.com/view/64005/imagemagick-crop--resize-images/</guid>
</item>
<item>
<title>(jQuery) İmage resize - quantal</title>
<link>http://snipplr.com/view/62552/mage-resize/</link>
<description><![CDATA[ <p>jquery fixed  image resize</p> ]]></description>
<pubDate>Sat, 14 Jan 2012 20:50:37 GMT</pubDate>
<guid>http://snipplr.com/view/62552/mage-resize/</guid>
</item>
<item>
<title>(JavaScript) Resize background image - hectorlorenzo</title>
<link>http://snipplr.com/view/60816/resize-background-image/</link>
<description><![CDATA[ <p>Funció que agafa les mides de la pantalla i redimensiona proporcionalment una imatge per a que s'adapti a ella.</p> ]]></description>
<pubDate>Tue, 15 Nov 2011 01:45:13 GMT</pubDate>
<guid>http://snipplr.com/view/60816/resize-background-image/</guid>
</item>
<item>
<title>(PHP) Resize Image - jretamal</title>
<link>http://snipplr.com/view/60761/resize-image/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Sun, 13 Nov 2011 07:23:19 GMT</pubDate>
<guid>http://snipplr.com/view/60761/resize-image/</guid>
</item>
<item>
<title>(jQuery) Flexible Site Layout With Resize Detection, now improved! - FatFolderDesigner</title>
<link>http://snipplr.com/view/60562/flexible-site-layout-with-resize-detection-now-improved/</link>
<description><![CDATA[ <p>I've previously posted this here: http://snipplr.com/view/59044/flexible-site-layout-with-resize-detection/

This new version is short and more efficient, plus it no longer shows 1 (harmless) error on launch. Works the same as last time, the sizable object has the size to add the class too all the sizable elements, so for this example if the screen is less that 450px it'll add the class "phone" to the body (and the other elements), and if it's larger than 750px, but not 1000px, it'll give it the tablet layout. More information about the script is at the link, questions/comments/concerns can be sent to be from here or the comments section at the link.</p> ]]></description>
<pubDate>Sat, 05 Nov 2011 11:02:52 GMT</pubDate>
<guid>http://snipplr.com/view/60562/flexible-site-layout-with-resize-detection-now-improved/</guid>
</item>
<item>
<title>(JavaScript) jQuery Image Resize - ryarwood</title>
<link>http://snipplr.com/view/60470/jquery-image-resize/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Wed, 02 Nov 2011 11:43:44 GMT</pubDate>
<guid>http://snipplr.com/view/60470/jquery-image-resize/</guid>
</item>
<item>
<title>(jQuery) jquery cycle auto resize - grgcnnr</title>
<link>http://snipplr.com/view/59628/jquery-cycle-auto-resize/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Tue, 11 Oct 2011 07:48:20 GMT</pubDate>
<guid>http://snipplr.com/view/59628/jquery-cycle-auto-resize/</guid>
</item>
<item>
<title>(PHP) Resize an image without distorting proportions (JPEG, GIF or PNG) - TimoZachi</title>
<link>http://snipplr.com/view/58584/resize-an-image-without-distorting-proportions-jpeg-gif-or-png/</link>
<description><![CDATA[ <p>A function that resizes an image to desired width and height, but does not distort the image proportions. Works for JPEG, GIF and PNG.</p> ]]></description>
<pubDate>Sat, 10 Sep 2011 08:38:41 GMT</pubDate>
<guid>http://snipplr.com/view/58584/resize-an-image-without-distorting-proportions-jpeg-gif-or-png/</guid>
</item>
<item>
<title>(JavaScript) JavaScript Iframe Auto Resize - kendsnyder</title>
<link>http://snipplr.com/view/57774/javascript-iframe-auto-resize/</link>
<description><![CDATA[ <p>Given an iframe element and a header element, make the iframe just high enough to fit in the browser window. On window resize, readjust. Keep a minimum height for the iframe.</p> ]]></description>
<pubDate>Fri, 12 Aug 2011 03:28:18 GMT</pubDate>
<guid>http://snipplr.com/view/57774/javascript-iframe-auto-resize/</guid>
</item>
<item>
<title>(Other) Font Resizing - silentpro</title>
<link>http://snipplr.com/view/57360/font-resizing/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Sat, 30 Jul 2011 03:31:13 GMT</pubDate>
<guid>http://snipplr.com/view/57360/font-resizing/</guid>
</item>
<item>
<title>(PHP) PHP GD Thumbnail Generator 0.1 - dillonchr</title>
<link>http://snipplr.com/view/57111/php-gd-thumbnail-generator-01/</link>
<description><![CDATA[ <p>Tweaked from the icant.co.uk thumbnail generator</p> ]]></description>
<pubDate>Mon, 25 Jul 2011 14:39:36 GMT</pubDate>
<guid>http://snipplr.com/view/57111/php-gd-thumbnail-generator-01/</guid>
</item>
<item>
<title>(CSS) Auto-resizable Background - neoline</title>
<link>http://snipplr.com/view/56192/autoresizable-background/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Thu, 07 Jul 2011 01:09:07 GMT</pubDate>
<guid>http://snipplr.com/view/56192/autoresizable-background/</guid>
</item>
<item>
<title>(PHP) File upload: Resize image and reposition on new canvas - flatearthcomms</title>
<link>http://snipplr.com/view/55029/file-upload-resize-image-and-reposition-on-new-canvas/</link>
<description><![CDATA[ <p>Resize and image to fit a predetermined canvas size</p> ]]></description>
<pubDate>Thu, 09 Jun 2011 01:03:50 GMT</pubDate>
<guid>http://snipplr.com/view/55029/file-upload-resize-image-and-reposition-on-new-canvas/</guid>
</item>
<item>
<title>(jQuery) Set div height same as window (resize on window resize) - eme_dlr</title>
<link>http://snipplr.com/view/54365/set-div-height-same-as-window-resize-on-window-resize/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Wed, 25 May 2011 10:55:15 GMT</pubDate>
<guid>http://snipplr.com/view/54365/set-div-height-same-as-window-resize-on-window-resize/</guid>
</item>
</channel>
</rss>