Miniaturas grandes en las entradas populares

Si por lo contrario no lo tienes pegué este código antes de </head>.
<script src='http://code.jquery.com/jquery-latest.js' type='text/javascript'></script>
y luego pegué este código antes de </body>.
<script type='text/javascript'>
//<![CDATA[
// Change Blogger popular post thumbnail size using jQuery / MS-potilas 2012
// Put this code in a html/javascript gadget (after popular posts gadget), or before </body>.
// See http://yabtb.blogspot.fi/2012/07/resize-popular-post-thumbnail.html
var newSize = 100; // this is the new thumbnail size, you can change this
$(".popular-posts .item-thumbnail img").each(function() {
var oldSize = $(this).attr("width");
$(this).attr("width", newSize); $(this).attr("height", newSize);
$(this).attr("src", $(this).attr("src").replace("/s"+oldSize+"-c/", "/s"+newSize+"-c/"));
});
//]]>
</script>
var newSize = 100; define el nuevo tamaño de las miniaturas.
Autor: MS-potilas
Url: http://yabtb.blogspot.com.es/2012/07/resize-popular-post-thumbnail.html
No hay comentarios: