Support » Plugin: Image Regenerate & Select Crop » force default sizes

  • Resolved gturban

    (@gturban)


    I’m using a theme that seems to have many custom sizes. When I look at list of default it is 13 theme sizes in addition to the ones from WP and WooCommerce. If I disable these sizes from the theme can I force it to use the closest size from the default WP sizes?

    If I edit this list for default, does it override any setting for specific post types?

    Thanks,
    GT

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Iulia Cazan

    (@iulia-cazan)

    Hello,

    I am not sure I understand exactly what you need to achieve. By default, any image size that is not generated would be rendered on the pages with the full image size (the original file you upload). This is how WordPress renders the images. There is nothing implemented that can approximate and replace images programmatically based on some type of match. However, depending on the context, you can create advanced rules with my plugin to generate only the image sizes you select.

    The way I do in my projects is like this:
    – first, I assess the front side and decide from the content which images proportions are similar. Then I make a list of which image sizes can be rendered as the native thumbnail, which as the medium, which as the large and so on.
    – then, I adjust the thumbnail/medium/large media settings in order to fit as good as possible the expected sizes
    – then I would create the custom rules to generate only these specific images sizes for the custom post types, or pages or posts targeted with categories or tags.

    Let me know if this helps.

    Regards,
    Iulia

    Plugin Author Iulia Cazan

    (@iulia-cazan)

    Hello,

    I haven’t heard back from you in a while so I will mark this as resolved.
    You can start a new thread if you have any other questions.

    If you are satisfied with my plugin and you haven’t rate/review it yet, please do this. It would not take you more than one minute and it would help me. Thank you!

    Regards,
    Iulia

    Thread Starter gturban

    (@gturban)

    Thank you.
    – then I would create the custom rules to generate only these specific images sizes for the custom post types, or pages or posts targeted with categories or tags.
    How do you make the site use the default sizes instead of full image size if the theme created size is missing?
    I was hoping there was a way to set wordpress to use the closest available size, instead of the full size.

    So if theme have made and used the size 500×500, and medium size is 450×450 or 550×550 it would use the medium, not the full size. Even if this had to be set manually when removing many unnecessary sizes in a theme it would help reduce amounts of images.

    Thanks!
    GT

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘force default sizes’ is closed to new replies.