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'…
-
Tip: Cropping (square) and resizing your Picasa/Blogger imagesSomething that we've discovered is that there is more to the crazy URL string that you get when…
-
Tip: Removing default spacing between images in BloggerSometime in the switch to the new interface (perhaps?) a new default behavior was added to Blogger:…
-
Using Namecheap as your Domain provider with BloggerOur advice for anyone with a blog on +Blogger is that the moment you feel you'd be sad if you…
-
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,…
-
Tip: Making the comment link more intuitive for BloggerWe came across a comment on Google+ this morning that had us scratching our heads, mainly because …
-
Tip: Making a Google Doc submission form email you the resultsIn an earlier article we detailed how you can use Google Docs to create a submission form in your …
Post a Comment
Post a Comment