is there no way to get the images resized to full view
tumbnails?
@filete @trancemaniak at the moment there isn’t any admin setting or short code option for choosing the image size. But if you’re brave enough to modify the plugin.
Somewhere around line 329
$thumb = wp_get_attachment_image_src( get_post_thumbnail_id(), 'medium');
You can change the word medium to any of the following – thumbnail, medium, large or full.
Maybe on the next version I can add this to the short-code and allow users to pick the size but default to medium.
Great plugin! I have the same problem, so I went ahead and batch re-sized all my featured images to fit within the 175×175 box. Now the issue is that the images are repeating in the areas where the image is smaller than 175px. In my browser css editor I see this for each list item that is created:
<li style=”background-image:….. background-repeat: initial initial;…>
In my browser I can change “initial” to “no-repeat”, and it fixes the problem, but I can not actually track down in the css or php files where that script is being generated. Adding “background-repeat: no-repeat” to ul#post-tiles li in the post-tile.css has no effect. Any clues?
I need to go back over and update this plugin and take care of some of these details.
In your theme css fils you can ad this.
ul#post-tiles li {
background-repeat: no-repeat !important;
}
And it should fix it. The other option would be to go into the post-tiles.php file and somewhere around line 332 you should see the following inline css generated.
$featured_style = "style='background: url(".$url.") 0 0;' class='featured-image'";
Change it to this
$featured_style = "style='background: url(".$url.") <strong>no-repeat</strong> 0 0;' class='featured-image'";
Both will fix it but I’d recommend adding the css in your css file because the plugin file will be overwritten when a new version of post tiles comes out and you will loose any customization.
I hope tha thelps.
Thanks for responding! That worked – I had tried the css option but forgot to add the “!important” part. Still learning this stuff….