Our thumbnail and summary script was such a success that people have been asking us for further and further customization based off of it. The most frequent request has been the ability to set just a thumbnail image for the blog post and use it to create a grid of images.
Your wish, our command.
The script we've created can be seen as a fork of our original thumbnail script, combined with our interactive captions script.
The script grabs the first image of each of your blog posts, resizes (and converts to a square if you specify), and re-parses the structure so that the thumbnail image becomes a link to the post. To make this work we've included the LightBox disable script so that clicking on the thumbnails doesn't open up a Lightbox instead of the intended behavior of going to the blog post.
Clean version of the script is here.
To limit this functionality to only certain pages or types of pages, you'll want to learn about the different page types, and choose the one you want to use. For example, if you only want it to show on "index" page types you'll want to put the above script into an "if" statement such as:
<b:if cond="data:blog.pageType == "index"">
</b:if>
Home
›
blogger
›
intermediate
›
jquery
›
layout
›
photos
›
picasa
›
template
›
thumbnail and summary
›
thumbnails
›
tip
Related Posts
Popular
-
Loops, loop positions, and isFirst variables in BloggerLooping through the listing of blog posts <b:loop values='data:posts' var='post'…
-
Hangout On Air: Friday Request Line for 10/12/2012Web fonts, social sharing, focusing on your user experience, rel=author and much more more!
-
Tip: Automatically resize your Blogger post's imagesYou've been blogging along for a while now, inserting your images into your blog posts and sizi…
-
Tip: How to upload a new template for your Blogger siteWe've been providing some Blogger templates for people to download and add to their sites for f…
-
Hangout on Air: Friday Request Line for 11/9/2012This week focused on reviewing four websites that were submitted to our Event page: http://no1food.…
-
Tip: Using Masonry to create a fluid layout for your BlogAre you a fan of Pinterest , and like the way that they have a fluid layout of boxes down the site,…
-
Using Blogger page types to affect your blog designIn many of our tips we recommend wrapping the Javascript code that we're providing in something…
Post a Comment
Post a Comment