Get The Image WordPress Plugin
![]()
If you download the original Simple Pro theme and activates it, you will not be able to see any thumbnails as you are currently seeing on this blog. Even if you use some of the themes from Revolution Two, you would still need to upload the thumbnails and then link the picture you uploaded using custom fields.
In this blog, whenever I upload any picture to any of my post, it will automatically display the thumbnails as you see in the picture above. To achieve that, I use Justin Tadlock get the image wordpress plugin.
How?
1. Upload and activate the plugin
2. Add this line of code to your index.php file, the place where you want to display your thumbnails
<?php echo get_the_image_link(array('Thumbnail','My Thumbnail'),'thumbnail'); ?> for my case, just before the_content
3. And finally modify style.css file to tell it to display it to the left or to the right and also the spacing between the image and text.
/* ---- get the image mod --- */
.thumbnail {
float:right;
margin: 0 0 10px 10px;
}
Get the image plugin allows you to work with custom fields if you prefer using it. I prefer getting the thumbnails which is much easier to manage. It also allows you to set a default image to be displayed if your post does not have any image. I didn’t upload any default, so when I didn’t post any image, no thumbnails will be displayed.
Since it is using thumbnails, you can further set your thumbnail size to suit your theme. From dashboard, go to setting, then miscellaneous and adjust accordingly.
Updated 2009-03-18 – I am currently using a new theme, Whitebeans.
-
-
February 11, 2009
[...] is the 3rd month I am using WhiteBeans as my blog’s theme since Simple Pro. Like the simple design and the white background, but yet .. I am still able to distinguish which [...]



theme kat revolution two tu free ke?
budeen´s last blog post..Waterslide from Barclaycards!
semuanya free Budeen
kau hanya perlu bayar jika kau perlukan support
the one at kids.azwan.my is using a theme from revolution. i might conside to change this blog’s theme to revolution but currently dont hv the time to modify it to my requirement
ptt la. trimas!
ni terima kasih untuk apa ni
tue la. tutorial. bila tgk jat frontpage gmbr kecik. masuk single page gmbr besor. hoho!
Sweet Thinker´s last blog post..Merisik Sebelum Bercouple
oh .. he..he, you are welcome. anyway, it might not work with all themes.
aisey tak applicable kat theme aku lah. hehe
KNizam´s last blog post..YouTube! Sekarang Dah Activate WideScreen Mode Lah ! Weeeheeee
kalau kau separatekan latest post dgn yang lain, macam aku, sure boleh punya. tapi kena edit lah theme tu
[...] is the 3rd month I am using WhiteBeans as my blog’s theme since Simple Pro. Like the simple design and the white background, but yet .. I am still able to distinguish which [...]