WordPress.org

Forums

[closed] 3.9 Beta 1 - gallery preview in editor not working with small images (2 posts)

  1. Denny
    Member
    Posted 1 year ago #

    Hi All,

    The gallery preview doesn't work in the content editor when the gallery contains an image smaller than 150 pixels in width and height, I get the following error in the console:
    TypeError: attachment.sizes.thumbnail is undefined
    in the underscore.min.js file.
    I can see that the shortcode is added in the Text tab, however the Visual tab preview is not working.

    I have experienced this problem with different themes, including the default WordPress themes.

  2. Same problem as https://wordpress.org/support/topic/39-beta-1-un-thumbed-images-block-gallery?replies=4

    Awesome! Now we can call it valid! (I wondered how to reproduce a photo without a thumbnail!)

Topic Closed

This topic has been closed to new replies.

About this Topic