AMRP doesn’t support cropped thumbnails. But if you use the ‘first attached image’ option, I believe it will get the generated thumbnail (default is square) which should be uniform for all posts.
I created Mini Loops which is a similar plugin in terms of functionality that has better support for thumbnails – it will actually create thumbnails based on given dimensions.
Thread Starter
Keryn
(@b-summers)
I don’t really want a thumbnail to begin with, I just want the regular sized image (as I’ve made them small enough to fit). But the thumbnail box defaults to 50×50 if you leave it blank.
I will check out your plug-in. Does it use the featured image? or just a thumbnail from the post, because I’m trying to grab the featured image of the post (without resizing it or anything).
Mini Loops also defaults to 50×50, but you can specify ‘auto’ instead. I can’t recall if AMRP supports this or not.
Thread Starter
Keryn
(@b-summers)
Hey, I just downloaded your plug-in, and I don’t know if I’m blind, but I can’t seem to find a list of optional tags that you can add in?
I would like the featured image of the post to show up with the content. Just not sure how to do this. (And how would I set the size to auto)
Thread Starter
Keryn
(@b-summers)
Wow…nvm, I AM blind…..lol
Here is a quick hack I used to override the default. If I have time and use the plugin again I will post a better fix…
(excerpt of advanced-recent-posts-widget.php near line 56)
if( ! $thumb_h = absint($instance[“thumb_h”] )) /* ORIG $thumb_h=50 */ $thumb_h=120;
if( ! $thumb_w = absint($instance[“thumb_w”] )) /* ORIG $thumb_w=50 */ $thumb_w=120;
/* Doesn’t allow the thumbnail dimensions to be changed after it is set. Override the conditional above… */
/* START HACK */
$thumb_h=120;
$thumb_w=120;
/* END HACK */