Subscribes
Get the latest updates delivered for free to your reader or your inbox:Search
Categories
-
Friends
Quote of the Day
... loading ...Free Themes
-
Recent Posts
- Ninja 101
- The Quick Brown Fox Jumps Over The Lazy Dog
- Rollip.com
- Create Thumbnail From Offsite Image Using Timthumb Beta
- Create Custom Posts Layout in Home Page (Thematic Child Theme)
- Be Water My Friend… With Thematic
- Jatinegara
- Happy Eid ul-Fitr!
- R.A. Kosasih, The Indonesian Comic Author
- I Dream of Tetris
- Jakarta Ragunan Zoo II
- Night Market at Jakarta, Cipinang
- How to Add Typekit to your Thematic Child Themes
- Miabebo Shop: Nursing Covers & Diaper Bags
- Klender Traditional Market



Create Thumbnail From Offsite Image Using Timthumb Beta
by petervanallen
I host most of my images in Picasa and Flickr, for along time i couldn’t use the native feature in WordPress to create custom thumbnail that i wanted, i could upload it and use custom fields, but it would be tediously boring to do that.
A couple of month ago a message from heaven came by to fulfilled my wishes and whisper it to Ben Gillbanks ear, the developer of timthumb. So thus came the timthumb beta for offsite image. After downloading it i tried it, my wishes fulfilled and it looks awesome! Oh Joy
Happy! Happy! Joy! Joy! from psherman420 on Vimeo.
This hack is similar with the one that i use on this website and this was a follow up from my previous post about how to create custom index post layout, but the method could be applicable for other WordPress themes.
Here is the screen shot on how the thumbnail will look like on the home page (i’m using thematicsamplechildtheme in the Thematic folder)
First we need to download timthumb beta at Binary Moon in here, put it on your child theme folder then create a folder called temp & cache (writeable 777)
Here are the code that we are going to use
The code below are to catch the first image on the post
i use the_excerpt for the content so there’s no image there, i’m going to try catch the first image from post so i can feed it to the timthumb, this awesome function is from WPrecipes Jean-Baptiste Jung.
after catching it, we can call it with this
then i’m going to insert it to the custom index loop
change the h=100&w=240 for the size as needed
Voila! it’s done! simple right! :)
u may also like this :
thematic,
thematic child theme,
web development,
wordpress,
wordpress theme
Permalink.
Post a comment Trackback:
Trackback URL