Monday 16 January 2012

Dynamically Resize Image From URL, Embed Thumbnails Using URL Hacks


Dynamically Resize Image From URL, Embed Thumbnails This is probably one of the best online tool ever. There are many types of url hacks like embed only audio from youtube, update twitter from url address bar etc, but the one below lets you resize image from url path ie, you can use a direct link of any uploaded image and resize it by calling it with Resizer.

# Resizer.co – Resize Image from URL Path by Dynamic Request Calling

It lets you dynamically resize image from URL on the fly by just calling the image URL path. Till now, one had to use and online image editing tool to resize images and then download it or use it from their uploaded file link. But this is completely different. You can resize image from url path of the image file.
You can directly embed your resized, improved image into your webpage by a url like :
http://www.resizer.co?image=your-image-url&w=width-in-pixels&h=height-in-pixels
Example Usage : http://www.resizer.co?image=http://eulogik.com/lobo.jpg&w=250&h=200
HTML Usage : <img src="http://www.resizer.co?image=http://eulogik.com/lobo.jpg&w=250&h=200"> (Embed Thumbnails easily)
Original Calling through Resizer
http://www.google.co.in/intl/en_com/images/srpr/logo1w.png http://www.resizer.co/?image=http://www.google.co.in/intl/en_com/images/srpr/logo1w.png&w=120&h=100
See the source of the google logos above. Try changing width(w) and height(h) to any other numbers. Want to play more? Go to API Reference for more amazing features like rotation and autocorrection. In fact if you are aware of the timthumb php script, you will understand how this works.
Great Huh ?? Leave comments if you like it.

0 comments:

Post a Comment