• Michael D

    (@michael-divine)


    When I choose anything other than ‘large’ in a drop down menu for image size in the gallery block, the correct image is shown in the editor window but then the drop down goes back to ‘large’ and nothing changes – either on the actual rendered page or in the editor. It’s impossible to change the image size.

    This is terrible for a gallery since it’ll load 8 to 10 full size images instead of thumbnails.

    Is there a fix for this?

Viewing 1 replies (of 1 total)
  • The select option does change back to Large but when you select a different size the image does change. The reason why it looks the same has to do with the CSS styles. The object-fit size is set to cover which means the object is going to fill its full container. So regardless of which image size you select it is going to look basically the same just the quality of the image will change. The width of the image is being set with a calc statement based on the number of images you select for the rows. The rows are flexed so if there aren’t enough images in a roll that roll will have larger images than the other rows. You might want to look in the plugin gallery to see if there are any other gallery blocks that would suit your needs better.

Viewing 1 replies (of 1 total)
  • The topic ‘Unable to choose Image sizes in Gutenberg Gallery Block’ is closed to new replies.