Support » Plugins and Hacks » [Resolved] img not resized by with and height tag

[Resolved] img not resized by with and height tag

  • I did not know when this happened but actually the width and height tags of images are ignored within the tables. I have not changed the tables for a recent time but have made some updates to the theme (suffusion) and other plugins. I recognized the problem today and I am sure it did not occure about ten days ago. Any idea how to fix this?


Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author TobiasBg



    this is very likely caused by one of those theme updates, which probably contained new CSS code that influences images.
    It should not be a problem to change this back for images in tables. To be able to give you the exact code, I’d need to take a look at your table though.
    Can you therefore please post a link to the page with the table?


    This is the code entered within the table
    <img class="alignleft size-full wp-image-192" title="simply_rat" src="http://b3l.bellator-aleae.de/cms/wp-content/uploads/2011/05/simply_rat.png" width="30" height="30" />

    Plugin Author TobiasBg



    thanks for the link.

    This is indeed related to your theme. The theme sets the width of all images to “auto” which means that the images will get the size that they have in the file (in your case that’s usually 150px), and not the size that you set in the HTML code.
    To change this, you’ll have to set the width in the CSS code as well.
    Please try adding

    .wp-table-reloaded-id-1 img,
    .wp-table-reloaded-id-16 img,
    .wp-table-reloaded-id-26 img,
    .wp-table-reloaded-id-27 img {
      width: 30px;
      max-width: auto;

    to the “Custom CSS” (or “Zusatz-CSS”) textarea on the “Plugin Options” screen of WP-Table Reloaded.
    This code has to be extended then. Each table that shall have the small images has to be added to the list, which currently holds the tables 1, 16, 26, and 27, by adding a corresponding line.


    Thank you, that works.

    Danke für die rasche Hilfe.

    Plugin Author TobiasBg



    sure, no problem! 🙂 Gern geschehen! 🙂

    Best wishes,

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘[Resolved] img not resized by with and height tag’ is closed to new replies.