• Resolved mouseuser

    (@mouseuser)


    Hi,

    Like this plugin as it avoids me having to mess around with bought theme settings or creating child themes. However, when I add a custom size, the size inserted into the post is wrong and shows wrongly in parenthesis when I choose my custom size. I chose 1170 * 300 and crop center center. The image is created correctly on the site and the correct image is inserted but the size attributes that are inserted at the same time are wron: width=”660″ height=”169″. Any idea why that might be? Bug?

    https://wordpress.org/plugins/simple-image-sizes/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Nicolas Juen

    (@rahe)

    Hi !

    Try to check if your theme have a $content_width var .
    This is forcing the image size inserted.

    Rahe

    Thread Starter mouseuser

    (@mouseuser)

    You are dead right, thank you – only question now is what that means for the theme in combination with the plugin, will do some more googling but thanks for the hint

    Plugin Author Nicolas Juen

    (@rahe)

    You’re welcome 🙂

    There is not very much solutions since WordPress is overriding the values…

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘wrong image size when inserted’ is closed to new replies.