VNFREEZONE DOT COM
FREE DOWNLOAD TEMPLATES
JOOMLA, WORDPRESS, BLOGGER
PHPNUKE AND SCRIPTS

FREE DOWNLOAD TEMPLATES

FREE SHARE ALL
Site Map Contacts Home
9clips.net
Hide ad unit

Menu

Last Comments

Posted By:
Article: Free Wedding Company Web Template
Posted By:
Article: PSD source - The whole world in your hands
Posted By:
Article: Free Flash Chocolate Shop Web2.0 Template
Posted By:
Article: Flambe PSD
Posted By:
Article: Dark Angel
Posted By:
Article: Leather Styles for photoshop
Posted By:
Article: Entrancing
Posted By:
Article: Beautiful Flower PSD
Posted By:
Article: Ancient Ship

PARTNERS

GoLedy.com
DigNow.net
Internet blogs
Top Blogs

blog search directory
Increase Page Rank
YouSayToo - Promote Blog
Active Free Stuff
My Zimbio
Templates & Themes (Graphics) - TOP.ORG
Technology Blogs - Blog Rankings
Web Design Blogs - BlogCatalog Blog Directory
Web Development & Design Blogs
http://www.wikio.com

Promote Your Blog

User Menu

Advertising

Counter

Top Members 1- dactuyentk (854)
2- koiham (607)
3- madima (329)
4- admin (283)
5- maxpro26 (71)
6- Lantana (40)
7- n0n0n0 (40)
8- mrthuc (20)
9- k2ddl (2)
10- arrassed (1)
Articles Last 1 hour : 1
Today : 9
This Month : 498
Total: 2421
Comments : 2125
Members Last 1 hour : 0
Today : 0
This Month : 57
Total : 268
Banned: 1
New Member : veterperemen20
Site Visits
Today Visits: 1076
This Week Visits: 13324
This Month Visits: 31893
This Year Visits: 580455
All Visits: 664636
Record: 137107 In 30.05.2010
Online
- Totals: 7
- Guests: 2
- Users: - None
- Robots: Inktomi Slurp, spider Bot, Yandex Bot, crawl Bot, Google Bot

FREE DOWNLOADS TEMPLATES » Templates » Blogger Templates » Automatic Thumbnail and Read More Function for Blogger

AuthorAuthor: admin | DateDate: 22 July 2009


 

Read more function is used to cut our post on homepage, post will appear fully when we click read more link. It's cut automatically and if we insert image, it appears thumbnail.
This is automatic read more function with thumbnail. We just need to set up our HTML code.

Follow steps:
1. Go to "Layout" click "Edit HTML"
2. Tick on "Expand Widget Templates"
3. Find this code

<data:post.body/>

4. Replace with this code below

<script type='text/javascript'>
summary_noimg = 430;
summary_img = 340;
img_thumb_height = 100;
img_thumb_width = 120;
</script>
<script src='http://kfile.110mb.com/summary-post.js' type='text/javascript'/>
<b:if cond='data:blog.pageType != &quot;item&quot;'>
<div expr:id='&quot;summary&quot; + data:post.id'><data:post.body/></div>
<script type='text/javascript'>createSummaryAndThumb(&quot;summary<data:post.id/>&quot;);</script>
<span class='rmlink' style='float:right'><a expr:href='data:post.url'>Read more</a></span>
</b:if>
<b:if cond='data:blog.pageType == &quot;item&quot;'><data:post.body/></b:if>

5. Save / Check your blog

clarification code above:
summary_noimg = 430; is post cut height without image
summary_img = 340; is post cut height with image
img_thumb_height = 100; is thumbnail image height
img_thumb_width = 120; is thumbnail image width

 



Dear visitor, you went to the site as unregistered user. We encourage you to register or enter the site under your name.

Add comments

Name:*
E-Mail:*
Security Code
Enter Code:*