Welcome To Snipplr


Everyone's Recent Snippets Tagged resize



« Prev 1 2 3
  1. FAV

    jQuery fontResize

    jQuery 5 views posted 6 years ago by MistaTwista
  2. FAV

    PHP Image Ratio Width & Height, Top & Left

    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,...
    PHP 4 views posted 6 years ago by ShawnG
  3. FAV

    Image Resize on the Fly

    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 th...
    PHP 10 views posted 6 years ago by brownrl
  4. FAV

    iframe dynamic resize

    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.
    JavaScript saved by 2 people 8 views posted 6 years ago by leodruker
  5. FAV

    Resize iFrame to its content

    Bind onload function to the iFrame and set the size of the iFrame to the iFrames loaded content. In the example jQuery is used.
    JavaScript saved by 6 people 28 views posted 7 years ago by Neven
  6. FAV

    CSS - Resize your background image

    CSS 7 views posted 7 years ago by satie83
  7. FAV

    ImageMagick Crop & Resize images

    simple command that resize and crop, if necessary, an image, centering the image.
    Bash 8 views posted 7 years ago by artaserse
  8. FAV

    Resize background image

    Funció que agafa les mides de la pantalla i redimensiona proporcionalment una imatge per a que s'adapti a ella.
    JavaScript 5 views posted 8 years ago by hectorlorenzo
  9. FAV

    Flexible Site Layout With Resize Detection, now improved!

    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 sizabl...
    jQuery saved by 4 people 11 views posted 8 years ago by FatFolderDesigner
  10. FAV

    jquery cycle auto resize

    jQuery 6 views posted 8 years ago by grgcnnr
  11. FAV

    Resize an image without distorting proportions (JPEG, GIF or PNG)

    A function that resizes an image to desired width and height, but does not distort the image proportions. Works for JPEG, GIF and PNG.
    PHP 6 views posted 8 years ago by TimoZachi
  12. FAV

    JavaScript Iframe Auto Resize

    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.
    JavaScript 4 views posted 8 years ago by kendsnyder
  13. FAV

    PHP GD Thumbnail Generator 0.1

    Tweaked from the icant.co.uk thumbnail generator
    PHP 2 views posted 8 years ago by dillonchr
  14. FAV

    Auto-resizable Background

    CSS 2 views posted 8 years ago by neoline
  15. FAV

    File upload: Resize image and reposition on new canvas

    Resize and image to fit a predetermined canvas size
    PHP 6 views posted 8 years ago by flatearthcomms
  16. FAV

    Set div height same as window (resize on window resize)

    jQuery 3 views posted 8 years ago by eme_dlr
  17. FAV

    Resize iFrame to Fit Content (Same Domain Only)

    Still problematic... 1. The source of the iframe content must reside on the same domain 2. if the content inside the iframe changes height, this won't adapt 3. I left Google Analytics code off the demo above, as when I added it in it seems to in...
    jQuery saved by 1 person 5 views posted 8 years ago by dubogii
  18. FAV

    jquery automatic text resize

    simple jquery plugin that powers the text auto-resizing that is the basis of textagon.com
    jQuery 1 views posted 8 years ago by secretgspot
  19. FAV

    Resize Iframe Height with Javascript

    Resize iframe height. This means if the content of your iframe is longer than the iframe height, and the iframe doesn't have a scrollbar, you can resize the height of the iframe so the content is viewed.
    JavaScript 1 views posted 8 years ago by kodomonster
  20. FAV

    Auto change text size to fit text field

    ActionScript 3 saved by 6 people 11 views posted 9 years ago by koriner
  21. FAV

    Resizing images with PHP

    The following script will easily allow you to resize images using PHP.
    PHP saved by 6 people 1 views posted 9 years ago by enkas
  22. FAV

    Full screen image resize (proportionate)

    ActionScript 3 saved by 6 people 29 views posted 9 years ago by koriner
  23. FAV

    All Image to JPG/JPeG Converter and Resizer

    I edit this from tylerhall on 11/30/-1
    PHP 1 views posted 9 years ago by redoc
  24. FAV

    Resize large images

    Resize images that are greater than 800x600 and place them in the "small" directory.
    Bash 1 views posted 9 years ago by Carolyne
  25. FAV

    Save Resized Image Class

    VB.NET 7 views posted 9 years ago by ANT
  26. FAV

    Php Function to resize video from YouTube and Vimeo

    I’ve made this function that receive the input $video string that contains the dirty embed code as it is from youtube. The second parameter $new_width (if specified) permits to resize the embed code proportionally to the width you need for your tem...
    PHP 6 views posted 9 years ago by ginoplusio
  27. FAV

    Image resizer (thumbnail generator)

    If the optional parameter $crop is set to TRUE the image will be zoomed and cropped to specific size ($new_size). Else, the image will be resized to size, keeping aspect ratio and using $new_size as max size.
    PHP 4 views posted 9 years ago by stz184
  28. FAV

    Batch Resize with ImageMagick

    Bash 2 views posted 9 years ago by traeregan
  29. FAV

    Get remote Image, resize and save it

    PHP saved by 3 people 5 views posted 9 years ago by rave
  30. FAV

    jQuery DOM resize

    jQuery saved by 3 people 1 views posted 9 years ago by arif
« Prev 1 2 3