• Resolved johniainmcfadyen

    (@johniainmcfadyen)


    Hi,
    I’ve created a custom image size for the posts block to force all the images to the same size. When I come to select the custom size in the dropdown it isn’t presented.

    I’ve tracked the code down in Github to gutenberg-blocks/src/blocks/posts/components/sortable.js where is appears to be hardcoded. Is there anyway to pull the custom size through? Or will I need to take a different approach to ensure the images are uniform.

    Thanks again,
    John

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Hardeep Asrani

    (@hardeepasrani)

    Hey @johniainmcfadyen,

    At this point, it’s not possible to do it unless you decide to hardcode it. In fact, I never thought about users wanting to add custom image sizes. But that’s where awesome users like you come in to tell us how we can improve our plugin.

    We will note it down in your Github repository. Thanks for the idea!

    Thread Starter johniainmcfadyen

    (@johniainmcfadyen)

    Thanks, I think I’ll wait for a future patch: for now some judicious image editing will work well enough.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Use Custom Image Sizes in Posts Block’ is closed to new replies.