Recent Posts Widget Extended
Image size being set to incorrect dimensions (8 posts)

  1. logica3
    Posted 3 years ago #

    I am trying to have my tn images size to the proper dimension per the container size. I noticed that in the output code the <img> tag is getting assigned a width and height dimension that does not match the dimension I enter in the field you provide.


    In the widget I set my size to 128px 255px

    and it is outputting 128px 128px

    Thanks for your continued help!



  2. Satrya
    Posted 3 years ago #

    Did you try the regenerate plugin?

  3. logica3
    Posted 3 years ago #

    I used "Simple Image Sizes" to regenerate the thumbnails, because the regenerate plugin seems to have been having some problems and does not seem to be maintained.

    I am still getting an output of 128 128 with my widget setting at 128 255....

    Is there a way I can just turn off the thumbnail size and let css that I add control the size?

  4. Satrya
    Posted 3 years ago #

    Sorry for late reply,
    Please try to fill with 0

  5. kgforce
    Posted 2 years ago #

    I'm having the same problem.See the latest three on this page in the right hand column. (Israel Houghton, Hyland, Mandisa). They were all added in the last week:


    I've used Regenerate Thumbnails and Post Thumbnail Editor and it hasn't changed anything. Also tried adjusting thumbnail size in the options. It's not making the new thumbnails square like the old ones did.

  6. Satrya
    Posted 2 years ago #

    Hi @kgforce
    I don't know whats wrong, I saw your latest photo looks good. But please try the following steps to fix the size

    1. Uncheck the default styles option
    2. Remove all code from CSS box, replace it with

    .rpwe-block ul{list-style:none!important;margin-left:0!important;padding-left:0!important;}.rpwe-block li{border-bottom:1px solid #eee;margin-bottom:10px;padding-bottom:10px;}.rpwe-block a{display:inline!important;text-decoration:none;}.rpwe-block h3{background:none!important;clear:none;margin-bottom:0!important;font-weight:400;font-size:12px!important;line-height:1.5em;}.rpwe-thumb{border:1px solid #EEE!important;box-shadow:none!important;margin:2px 10px 2px 0;padding:3px!important;}.rpwe-summary{font-size:12px;}.rpwe-time{color:#bbb;font-size:11px;}.rpwe-alignleft{display:inline;float:left;}.rpwe-alignright{display:inline;float:right;}.rpwe-alignnone{display:block;float:none;}.rpwe-clearfix:before,.rpwe-clearfix:after{content:"";display:table;}.rpwe-clearfix:after{clear:both;}.rpwe-clearfix{zoom:1;}
    .rpwe-block .rpwe-thumb { width: 45px; height: 45px; }
  7. kgforce
    Posted 2 years ago #

    Hi @satrya

    Thanks for getting back with me.

    I changed the code, and it is making them square now, but they are just being stretched/squeezed, not cropped. You can take a look at the same link.

    As for the latest post with Heather Williams, the featured image was square, so the thumbnail was square.

  8. Satrya
    Posted 2 years ago #

    Yes, this is because the image source size. If you uploaded square image, the thumbnail should looks ok.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic


No tags yet.