anySize Caching image resizer Download

CodeCanyon - anySize - Caching image resizer

anySize Caching image resizer Download

Description

anySize is a lightweight, drop-in, fully automated, caching, make-you-coffee-and-serve-it-in-bed script that lets you request and generate images (jpg, gif or png) of any size.
For example:You upload �image.png� to your image folder, �images�

<img src=�images/image.png� />
The image is returned at its native resolution

<img src=�images/resized/image.png?s=thumb� />
A thumbnail is presented

<img src=�images/resized/image.png?s=medium� />
A medium sized image is presented

<img src=�images/resized/image.png?w=100&h=150� />
An image with max width 150px and max height 100px is presented. Aspect ratio is maintained.

<img src=�images/resized/image.png?w=100&h=150&a=false� />
An image with width 150px and height 100px is presented. Aspect ratio is NOT maintained.
And now for the awesome:

When you request an image the first time the result is stored in a cache folder and all further requests use that cache. Image file updated and re-uploaded? No need to flush the cache; everything is automatically taken care of! 
Want to define the size of your �thumbnail� image? Want to add a �megaawesome� option so you can request images/image.png?s=megaawesome ? Want to disable arbitrary resizing (options 4 & 5)? No problem! Everything is set up in the first few lines of the code using intuitively-named variables. Works out of the box but is extremely easy to customize.
The following are flags and variables the system understands:

s: (Set Size)
Ex: <img src=�images/resized/image.png?s=someSize� />
Returns an image of a pre-determined size (as set at the top of the anySize.php file)
The default sizes out of the box are:
s=thumb: max size 60�60 image.

s=small: max size 200�200 image.

s=medium: max size 400�400 image. 

s=large: max size 800�800 image.

Note: These sizes are truly simple to change, add, remove, etc. Comments in the file show how to edit these sizes.

w: (Width)
Ex: <img src=�images/resized/image.png?w=100� />
Returns an image with a width of 100px. Unless specified, aspect ratio is preserved.

h: (Height)
Ex: <img src=�images/resized/image.png?h=150� />
Returns an image with a height of 100px. Unless specified, aspect ratio is preserved.

a: (Aspect Ratio)
Ex: <img src=�images/resized/image.png?w=100&h=150&a=false� />
Returns an image with a width of 100px and a height of 150px; Aspect ratio is ignored and the image WILL be 100px wide and 150px tall if a=false

anySize Caching image resizer Download



Category

Acer Adventure Afghanistan Agama Alcatel Amerika Serikat Android AndroMax Anime Anti Virus AntiVirus Aplikasi Apple Arab Saudi Artis Korea AsiaFone Asus ATM Axioo Baju Batik Bank Berita Artis Berita Kontroversi Berita Lokal Berita Panas Berita Terkini Berita Unik Bikin Blog Biologi Bisnis bisnis internet bisnis keuangan Bisnis Online Blackberry Blog Tools Blogger Platform Blogspot Bola Bookmark Boy Band Browser Budidaya Pertanian Bukti Pembayaran Buku Byond CD and DVD Tools Celana Jeans Cepat Hamil Chat Compaq Compression and Backup Cross CSS Databases Dell Design Desktop Developer Tools domain hosting Dompet download gratis Downloader Drama Drivers dunia Editors and Convertors Elektronika Email Entertaiment Entertainment menarik Facebook Fashion Film Flashdisck Forex Trading Foto foto Foto foto lucu Foto foto menarik Futsal Gadget Gadget lainya Gallery Gambar gambar aneh Games Gaya Hidup Habibie Ainun Handphone Hardware Harganya Headline Healthy Helm Herbal Hewan lucu hiburan Hp BB Hp CSL Hp Esia Hp HTC Hp K-Touch Hp Mito HP Motorola HP Nokia HP Samsung Hp Sony Ericson HTC HTML Html Templates Huawei Ide Bisnis IDM Image Editors Imo Indonesia Info Hotel Info Unik Informasi informasi terbaru inspirasi Internasional Internet Investasi IPA iPad iPhone Irak Iran Jam Tangan Joomla Modules Joomla Templates Kacamata Kamera Kamera Digital Kaos Kata-kata Kata-kata Galau Kebaya Kecantikan Kehamilan Kemeja kesehatan Key Aktivator kisah nyata Komputer Kumpulan Nama bayi Islami Kunci Gitar Laptop Lebanon Lenovo LG Lifestyle Lirik lagu Live USB Love Magento Themes Masakan Media Player Media Sync Meizu Merawat Anak Messaging and Chat Misteri Misterius Mito Modem Motivasi Motor Musik Nama Anak News Ponsel Nexian Nexus Nokia Nulled Scripts Obat Office olah raga Olahraga Online Storage Opini Other Templates otomotif Palestina - Israel Payment Proof PC Laptop PC Suite Pendidikan pendidikan anak Pendidikan Seksual Penyakit Peralatan blog Photos and Images PhpFox Themes Mods Plugins Politik PPC Prestashop Themes Property Raffi Ahmad Raket Recording Resep Resep Makanan Resep masakan Review Rokok Rumah Rusia Sajadah Samsung Sejarah Seks selebritis Selimut SEO Sepakbola Sepatu Sex Smartphone SMS Online Social Media social network Software Sony Sport Style Surat Suriah Tablet Tahukah? Teknologi Terbaru Terkini Three Tips Tips bloging Tips Trik toko online Toshiba trik seo trik tips Turki Turki-Suriah Tutorial Tutorial hosting TV TV Online Tweaks Twitter Umum Unik Unik dan Aneh Untaian Kata Utilities valentine VBulletin Themes Video Virtualization Walpaper Wanita Wawancara Web browser Windows Wisata Alam wordpress Wordpress Plugins Wordpress Themes X Factor ZTE