Tuesday 23 October 2012

Auto Image Thumbnail & ReadMore Link For Blogger Post

Some people looking for this code and he didn't find this because blogger create a template with this code and force people to use their template. But now peoples are free to use the code with their own desire template. So here we go on to finish the goal.


Features:-
1.) When you apply this code you need not to enter LINE BREAK option in your every new post even in old post, This will automatically break the line after some words.
2.) The first image of your post will be chosen for the view on main page of your blog for that post.
3.) If you already insert LINE BREAK option in your desire post, after applying this code you will see the two READ MORE link below of every post.Then Please Contact Me Or Comment Here, I Will Set It With You.


How To Apply The Code:-
Here we go:
Login to your Blogger account.
Go to Dashboard > Design > Edit HTML.
Back up your template.
Check the Expand Widget Templates check box on top right of the HTML window.
In the code window, look for </head> line.
Add the code below right after that line.



After that, find this line:
<data:post.body/>
Replace the line with this code:


Click Preview.
 If it works, then click Save Template.
 

Customizing the snippet:
You can customize the read more by changing the values of the variables below:
thumbnail_mode –set to “yes” if you want to show thumbnail with text summary. Set to other than “yes” to show only text summary.
summary_img –specify the number of characters (including spaces) you want to show in the summary, with thumbnail.
summary_noimg –specify the number of characters (including spaces) you want to show in the summary, when there is no thumbnail.
img_thumb_height and img_thumb_width -specify the thumbnail height and width (in pixels).
You can change the words “Read more” with your own by changing it in line 12 of the code in step 8.
Read More... Text  – you can also change this with image, Please comment here if you want read more image.

Don't Forget To Say Thank's


No comments:

Post a Comment